1 Apr 09:45
create MPEG2 compatible with PS3 ?
Florin Andrei <florin <at> andrei.myip.org>
2008-04-01 07:45:10 GMT
2008-04-01 07:45:10 GMT
With MythTV, I capture HD programs as MPEG2 TS. Then, using the UPnP server built into MythTV, I try to stream the video files to the PS3. The problem is, the PS3 does not accept the AC3 audio codec under these conditions (streaming MPEG2 from a network server), and many HD programs are transmitted with AC3. So I try to convert the audio track to MP2 using ffmpeg. First, I tried this: ffmpeg -i in.mpg -vcodec copy -ab 256kb -acodec mp2 out.mpg But that generated a lot of "buffer underflow" and "packet too large" messages, so I stopped it. Then I tried this: ffmpeg -i in.mpg -vcodec copy -ab 256kb -acodec mp2 -f mpegts out.mpg That didn't generate any apparent errors. I rebuilt the mythtv seektable using mythcommflag, then tried to stream the new file to the PS3. This time the audio track works. However, once every 1...2 seconds there's a loud "squeak". Eventually, the PS3 quits playing with an error. I tried to further process the mpegts file using mythtranscode, just do a demux/remux like this: mythtranscode -m -e dvd -p autodetect First off, mythtranscode doesn't like the ffmpeg-generated mpegts very much. It gives many messages like this: 2008-04-01 00:24:29.746 Frame 15 > 14. Corruption likely at pos: 12544121400 2008-04-01 00:24:31.109 Frame 17 > 16. Corruption likely at pos: 12562632256(Continue reading)

RSS Feed