Hello This cmd line is obvious to me. My problem is that 1. RTP stream comes together with RTCP. Usually FFMpeg takes the next UDP target port to send RTCP stream. So in the example you gave the RTP will go to port 5000 and RTCP to port 5001. If I open the sdp file generated by FFMpeg, it does not play the video at all. I have to modify the port because VLC seems to use the given in SDP file port for RTCP and the port above for RTP. If I modify the file according to that, I can see the video being played but it is rubbish. Is there any other video player tool that can play FFMPeg RTP stream?
The video looks like there: http://dominiktomczak.com/photo/stream_video.JPG On Wed, Jun 2, 2010 at 11:35 AM, sotlef <[email protected]> wrote: > > Hello, > > yep, you can encode h264 over rtp > > about h264: > ffmpeg -i yourvideo.avi -f rtp -vcodec libx264 -an -vpre libx264-default > rtp://localhost:5000?localport=5100 > p.s.: for h264 you should place ffpresets files in ~/.ffmpeg, -vpre > libx264-default is ~/.ffmpeg/libx264-default.ffpreset > > aac: > ffmpeg -i yourvideo.avi -f rtp -acodec aac -vn > rtp://localhost:5010?localport=5110 > -- > View this message in context: > http://libav-users.943685.n4.nabble.com/mjpeg-question-tp2239287p2239840.html > Sent from the libav-users mailing list archive at Nabble.com. > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > -- Dominik Tomczak Software Engineer www.dominiktomczak.com _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
