I would like to stream an H.264 encoded elementary stream wrapped in RTP headers to a port using FFMPEG.

I have tried the following command lines to no avail...

ffmpeg -i 1080p_1.h264 -f rtp -vcodec libx264 rtp://localhost:4000

and get the following error:

Output file #0 does not contain any stream

I also tried:

ffmpeg -i 1080p_1.h264 -f rtp -vcodec copy rtp://localhost:4000

with the same error.

If I do a conversion with WinFF it seems to work, and the Elecard Stream Analyzer seems to indicate SPS and PPS NAL Units for stream #0.

link|improve this question
Can FFMPEG even work on such raw Annex B streams? What conversion with WinFF are you doing? – slhck Oct 27 '11 at 15:32
re: ...what conversion? the WMV preset – Steve Mead Oct 29 '11 at 14:40
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.