[Libav-user] mpeg-ts, rtp and output-example

david.weber at l-3com.com david.weber at l-3com.com
Thu Dec 8 01:43:50 CET 2011


 

 


Hi,

the format mpegts changes are right  (fmt = av_guess_format("mpegts",
NULL, NULL);).  The problem is, that if you have the format MPEG-TS
libav don't use rtp as output method. Try to open the stream in vlc with
udp://192.168.1.2:9778. To output mpegts with rtp you have to do more
than adapting the output example, look at the mailinglist thread
http://libav-users.943685.n4.nabble.com/Output-mpeg-ts-to-rtp-td2234066.
html. 

Steffen

 

 

 

Thanks Steffan!

 

 

For anyone following this thread, I ended up getting this working by
specifying the output to be udp://192.168.1.2:9778, and the input on VLC
to be udp://@:9778.

 

If I did not use @, then it would never open the socket on VLC (ICMP
socket not available errors visible in wireshark).

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20111207/35dca08f/attachment.html>


More information about the Libav-user mailing list