[FFmpeg-devel] streaming H264 to be read by VLC

Luca Abeni lucabe72
Wed Jan 14 15:17:55 CET 2009


I suspect this is a question for libav-user, anyway...
nicolas lefeuvre wrote:
> I would like to stream a file on a network using udp or rtp.
> I found this following message that explain how to modify output_example.c
> to stream a video
> http://lists.mplayerhq.hu/pipermail/libav-user/2008-March/000288.html
> I did it in using the H264 coder but when I scan with VLC at the rigth port,
> VLC receive some data but is unable to display any video.

You cannot receive an RTP stream by "scanning a port" with vlc...
You have to generate a proper SDP (see avf_sdp_create()), and to pass the
SDP as an input to vlc.


More information about the ffmpeg-devel mailing list