More practically, something like
ffmpeg -re -i file.mp4 -vcodec copy -an -f rtp rtp://127.0.0.1:10000
(with file.mp4 containing H.264 video) will not work.
I have a very elegant patch to address such issue, but the margin of this blog is too small to contain it... Seriously, I'll post it as soon as I learn how to attach patches to a blog entry.
Looks like uploading a patch (or even a text document) in this blog is not too easy (I wonder if it is even possible...).
ReplyDeleteIf anyone is interested in the patch, just contact me.
Update: the patch has been included in ffmpeg... If you get ffmpeg from git, H.264 in RTP will work without problems (so, no need to post any patch... :)
ReplyDelete