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 <[email protected]> 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 > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
