[FFmpeg-devel] ffmpeg or ffserver to stream?

Luca Abeni lucabe72
Mon Sep 3 08:11:02 CEST 2007


Claudio Bertozzi wrote:
[...]
> some errors in RTP streaming, if I watch .mpg video with VLC I don't
> see any error, but if I stream it in RTP using:
> "ffmpeg -re -i ../../temp.mpg -vcodec copy -an -f rtp
> rtp://127.0.0.1:1234 -vn" command line, VLC gives me a lot of pts sync
> error like:
> "main warning: vout synchro warning: pts != current_date (29211)
> main warning: dts != current_pts (24367)"
> and frames has many visible errors.

Until we figure out a better solution, you will need to add "-fflags 
+genpts" before "-i" (I mentioned that the AVFMT_FLAG_GENPTS flag is needed)


			Luca




More information about the ffmpeg-devel mailing list