[FFmpeg-devel] mpeg2ts/udp --> broken display by set-top-box

Baptiste Coudurier baptiste.coudurier
Wed Jan 21 20:08:26 CET 2009


> Hi,
> I am now using ffmpeg to stream video to a set-top-box:
> ./ffmpeg -i 134.wmv -vcodec mpeg2video -acodec mp2 -f mpegts 
> udp://HOST:PORT\?pkt_size=1316
> What I see on the TV is a sequence of chunks of correct video and 
> (somewhat shorter) correct sound.
> Of course I first thought about a problem in the bitstream or TS muxer, 
> but... if I receive the same UDP flow and concatenate the contents in a 
> .ts file, that file is played perfectly by mplayer/ffplay/vlc.

Well, if the generated TS plays fine, this might indicate the TS is
somehow correct.

Did you try adding "-re" in the commandline ?


Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list