killoforsale.blogg.se

Mpeg 2 decoder raspberry pi
Mpeg 2 decoder raspberry pi





mpeg 2 decoder raspberry pi
  1. MPEG 2 DECODER RASPBERRY PI 720P
  2. MPEG 2 DECODER RASPBERRY PI UPDATE
  3. MPEG 2 DECODER RASPBERRY PI DRIVER
  4. MPEG 2 DECODER RASPBERRY PI FULL

It should be possible to draw a gui on top, dom would be the best to ask about that I recon, probably in a new thread.

MPEG 2 DECODER RASPBERRY PI FULL

See my YouTube video above, the GPU does yuv to rgb and full screen scaling at no cost (if you do threading, the GPU sync call blocks till v_sync, as a 320x240 mpeg2 locks at 50fps for me), you can also supply an alpha. My other question, in order to make the Pi a useful MPEG-2 video player is whether an on-screen display can be overlayed over the top of this video? Again, at what CPU cost?]

mpeg 2 decoder raspberry pi

What resolution is the video output set to? If it's 720x480, do you know if it's possible to upscale with the GPU, presumably at no cost? Linuxstb wrote:Congratulations on achieving that, but I'm worried that 18fps still leaves a lot of optimisation needed - presumably that's a 30fps file? There should be ARM code in Rockbox that you can hopefully just slot into libmpeg2 - hopefully that will help.

MPEG 2 DECODER RASPBERRY PI 720P

Is my progress so far (best to watch in 720p to gauge actual quality/fps) I need to implement a buffer with threading and sound.

mpeg 2 decoder raspberry pi

MPEG 2 DECODER RASPBERRY PI UPDATE

I've been working on dispmanx libavcodec code, its getting there (I'd say an average of 17-20fps on a UK BBC DVB-T Stream, no audio) changing to the latest libavcodec didn't help much (except for making me update some outdated code). That sounds great, I shall take a look at that code. Rockbox also has a very well optimised MPEG audio decoder (although I'm not sure if layer-II is as optimised as layer-III). Once I can get my hands on a Pi, I'll hope to be able to find time to try and help with MPEG-2 - like many I would love to be able to use it to play live and recorded DVB TV broadcasts. Although I suspect the ARM optimisations are for lower-end ARM CPUs, so may not make use of all features of the Pi's ARM. I did the initial work on that plugin, but then it has been almost totally rewritten and a lot of ARM-specific optimisations made. This is a simple mpeg-2 (and mpeg-1) video player written to run on extremely low-end hardware (digital audio players - generally with < 100MHz CPUs and up to 320x240 LCDs). Linuxstb wrote:To anyone looking at optimising libmpeg2 for the Pi, you may want to look at the "mpegplayer" plugin for Rockbox. This might be a stupid question, but does the Pi accelerated decoding do audio? Or is audio always done on the cpu? Is that with sound? See my using dispmanx thread, I used a yuv layer with libavcodec and got better fps than that, but used a really simple decoding loop without sound! Which means there's some opportunity for getting some better performance. While libmpeg2 boasts some ARM code it's all old stuff and given that when I force the system to use the c implementation there's no loss in frame rate I suspect that it's not even getting run on the Pi. However if there *is* then this might be within reach. If, without hw decoding there's no reasonably low-latency way to get the frame to the GPU then we are toast. At which point we would know if this is even worth pursuing. I haven't delved much into the OpenMAX stuff but with the examples in /opt and the rather simple structure of libvo I think I could hammer out a mpeg2 decoder using the overlay function in a day.

MPEG 2 DECODER RASPBERRY PI DRIVER

With the X11 driver that drops down to 10fps. JonathanGraham wrote:As a quick test just to see if we were in reach of DVD quality MPEG2.







Mpeg 2 decoder raspberry pi