Hi,

I’m new to FFMEPG, how to record video and audio in a separate files for every 
40ms continuously upto 10 seconds from webcam using FFMPEG? I used below 
command, but it is generating 250 audio and only 1 video file. Also it is 
generating audio then video, I need it parallel, video with respective audio. 

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 audio_%003d.aac -c:v 
libx264 -t 0:10 -segment_time 00:00.040 -f segment out_%003d.h264

Thanks & Regards,
Vijay Rakesh
_______________________________________________
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