I have some Problems with streaming via RTP. My OS is Debian Lenny (testing), I built vlc today from the git-sources (0.9.0).
I have an H.264-File (sample.mp4), which works fine with vlc and ffplay when loading file from HDD.
Code: Select all
vlc sample.mp4
ffplay sample.mp4
Code: Select all
vlc sample.mp4 --sout '#rtp{dst=234.5.6.7,port=20000,mux=ts}'
Code: Select all
vlc rtp://@234.5.6.7:20000
When using ffplay as client
Code: Select all
ffplay rtp://234.5.6.7:20000
The problem is the same when using jvlc instead of the command line to run the server.
Has someone an idea, what the failure could be or where I can look for a solution?
[edit]
After hours of searching&trying I found the failure within the transcoding process with ffmpeg.
Old version:
Code: Select all
ffmpeg -i sample.mov -f mp4 -vcodec libx264 -acodec libfaac sample.mp4
Code: Select all
ffmpeg -i sample.mov -f mp4 -vcodec libx264 -bf 5 -acodec libfaac sample.mp4
Maybe it helps someone with similar problems...
[/edit]