[FFmpeg-user] Webcam stream join delay?

Jean Vézina jean.vezina at gmail.com
Thu Jun 17 16:19:23 EEST 2021


Possibly the only solution is to get a faster computer with a multi-core CPU and a SSD drive.

I don’t think ffmpeg was designed for real time video processing, Perhaps the developers are planning to release a version that use GPU acceleration.

Regards,

Jean


> Le 17 juin 2021 à 05:05, Ben Barker <ben at bbarker.co.uk> a écrit :
> 
> Hi,
> 
> I suspect this may be an inevitable result of what i am trying to do,
> rather than something that can be easily improved. but would welcome any
> suggestions:
> 
> 
> I have a 1080p webcam, which I can join with the following command:
> 
> ffmpeg -hide_banner -f v4l2 -i /dev/video4 -an -vcodec copy -t 2 test.mp4
> 
> This works fine, but it can take ~2 seconds between issuing the command
> before the stream is joined and starts to record.
> 
> I have been looking at various flags (such as nobuffer, analyseduration) -
> is there anything I can do to reduce this time, other than perhaps using a
> lower resolution camera?
> 
> Cheers!
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list