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).

 

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to