Hi Carl,

Thanks for the reply.  -f 25 for encoding the video in 25 FPS (because 1000 
milliseconds / 40 milliseconds = 25 frames) and tell FFmpeg to use every frame 
as a key frame (-g 1).

Thanks & Regards,
Vijay Rakesh

> On 09-Jan-2021, at 01:04, Carl Eugen Hoyos <[email protected]> wrote:
> 
> 
> 
>> Am 08.01.2021 um 17:17 schrieb Vijay Rakesh Munganda 
>> <[email protected]>:
>> 
>> ffmpeg -f alsa -thread_queue_size 1024 -i hw:0 -f video4linux2 -i 
>> /dev/video0 -c:a aac -t 0:10 -segment_time 00:00.040 -f segment 
>> sample-%003d.aac -c:v libx264 -t -f 25 -g 1 0:10 -segment_time 00:00.040 -f 
>> segment frame-%003d.h264
> 
> Complete, uncut console output missing.
> -f 25 looks wrong, did you mean -r 25?
> 
> Carl Eugen
> _______________________________________________
> 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".

Reply via email to