![]() ![]() MIPI camera interface (CSI), stereo audio (via 3.5mm jack) It can certainly very easily do 1080p, which is over 6 times the data of SD video.1 HDMI, DSI, Composite (via 3.5mm jack), DPI (via GPIO header) The Raspi GPU could decode 6 streams of SD MPEG2 I reckon. TBH, a licence pack that included encode would probably also include MPEG2 anyway. There's no encode support on the GPU at the moment (disabled), which limits transcoding. Im just learning opengl now but its a long process before i get a good working mpeg2 decoder. #Raspberry pi mpeg 2 software decoding codeThere's a little iphone code for colour space conversion and some opengl examples but nothing too useful! Someone in a forum said they got 6 mpeg2 streams at the same time on the ipad 2 gpu. I read a paper where someone claimed to do mpeg2 decoding almost fully in an opengl es shader, but there was no method or code examples in any of the papers I've read. ![]() It might be possible to do motion compensation in opengl too, which is a further 30 per cent saving in cpu use. ![]() What I'm trying to do is use openly gl to do the last step of decoding (colour space conversion) which is about 40 per cent of the decoding process. I think just playing back the sound could use 30 per cent of the cpu. Transcoding to h264 is a no, there's some research into doing it quickly but I don't think it will work for us. There's a thread on dvb-t woes which includes a link to an image with dvb support. * Has someone managed to do this? Mine isn't recognised. I assume it would almost not use the cpu (except for audio?), letting this ressource for transcoding.Īnother possibility would be to program recording on the pi using a DVB device*, and transcode the recording once finished or during the night (using crontab or something) while it has nothing else to do. If it is a reasonable time, then we could estimate the transcoding remaining time, wait long enough and start omxplayer on the partially transcoded file. I'll try it when I'll have some spare time. Have you tried transcoding such a video in xvid or even h264? I would be very interested to know how long it takes. Lenod wrote:I think decoding live mpeg without overclocking and reasonable quality is not really possible. but it finished a lot more quickly with -nosound I haven't worked out what the various numbers mean yet. Selected audio codec: afm: mp3lib (mp3lib MPEG layer-2, layer-3)ĪO: 48000Hz 2ch s16le (2 bytes per sample) Selected video codec: vfm: mpegpes (MPEG-PES output (.mpg or DXR3/IVTV/DVB/V4L2 card)) Movie-Aspect is undefined - no prescaling applied. VDec: using Mpeg PES as output csp (no 0) VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES) Opening video decoder: MPEG 1/2 Video passthrough You will not be able to use your remote control. MPlayer 1.0rc3-4.4.4 (C) 2000-2009 MPlayer Teamįailed to open LIRC support. I ran it twice - once with -ao null and then with mplayer -benchmark -vo null -ao null mpeg2sample.mpg As requested - here is the result of running mplayer in benchmark mode. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |