[FFmpeg-user] non-monotonous DTS in output stream

cedric.dewijs at telfort.nl cedric.dewijs at telfort.nl
Fri May 18 09:46:48 EEST 2018


>
>I thought you were getting "/dev/video0: Invalid argument"?

Yes, i dit get invalid argument with this very old version of ffmpeg:
https://github.com/chwe17/FFmpeg-Cedrus/

But with this newer version my webcam is openend correctly:
https://github.com/danielkucera/FFmpeg/tree/cedrus264

>What actual fps does ffmpeg report while processing? Does the camera
>deliver the 30 fps, and can ffmpeg handle them (speed=1.0x)? Do you get
>dups or drops?
I see no dups or drops, but when I stop the stream I see speed=70.3:
$ ./ffmpeg -f v4l2 -input_format mjpeg -s 1280x720 -i /dev/video0 -c:v copy output.mkv
...
frame= 3294 fps= 23 q=-1.0 Lsize= 1153815kB time=02:49:28.92 bitrate= 929.5kbits/s speed=70.3x    
video:1153712kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.008993%

Cheers,
Cedric


More information about the ffmpeg-user mailing list