Now I tried playing the stream using omxplayer (“omxplayer -o local pipe.mpg”, with pipe being in the current directory). After about 1.8% it says “Stream dump complete”. Well, as this does not work, I was trying to dump only /dev/sr0 to the file (which is the DVD main menu) – which seems to work, as mplayer starts dumping (about 0.1% every 10 seconds). What the heck is wrong here? And why does the ://1 not work? does not work, only if I explicitly say 1>/dev/null. Appending the ://1 (I assume this is for selecting a title, correct me if I’m wrong), so that is says “mplayer /dev/sr0://1 ”, always leads to mplayer aborting with “No stream found to handle url /dev/dvd1://1”. Dumping the DVD is a bit more complicated: In the mplayer-command, using dvd1://1 does not work at all, I can only reach my DVD drive if I explicitly call “mplayer /dev/sr0 ” or “mplayer /dev/dvd1 ”. #Finally playing the file using the HW-accelerated omxplayer.Ĭreating the file is no problem. #Letting mplayer dump the DVD cotents into this file As I understood it, the basic steps are, assuming the license and libdvdcss etc. ![]() I also would like to play DVD’s on my pi, but I’m still having problems with your instructions. Thank you for making this wonderful tutorial. This may come to XBMC eventually, but current XBMC DVD code doesn’t allow for hardware acceleration. Mplayer dvd://1 -dumpstream -dumpfile /tmp/dvdpipe 1>/dev/null 2>/dev/null & Now we can play a DVD direct from the disk: You can get around this by compiling it yourself on the Pi, and here’s how:ĭownload and extract the libdvdcss source code: Unfortunately due to the legal position on decrypting the CSS encryption on DVD disks, many distributions don’t include the relevent files. Since DVDs use MPEG2, this is a very welcome addition as it means hardware accelerated playback for DVDs. The ARM CPU used in the Pi isn’t really powerful enough to decode MPEG2 on its own. With this installed, the Pi can decode MPEG2 directly on its GPU chip, with very little CPU usage. ![]() In August the Raspberry Pi Foundation started selling MPEG2 codec licenses for the popular Raspberry Pi.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |