Failed to generate stream segment video frames

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Failed to generate stream segment video frames

Vijay Rakesh Munganda
Hi,

I'm trying to generate video and audio stream segments, with below command
I'm able to generate audio segments but not full video segments. Please
find the attached log file.

$ffmpeg -f alsa -channels 1 -thread_queue_size 1024 -i hw:1 -f video4linux2
-i /dev/video0 -c:a aac -ar 48k -t 0:30 -segment_time 00:00.08
-segment_start_number 1 -f stream_segment
/home/test/samples/aacSampleFrames/sample-%003d.aac -c:v h264 -pix_fmt
yuv420p -s:v 640x480 -t 0:30 -r 25 -g 45 -bf 0 -segment_time 00:00.08
-segment_start_number 1 -f stream_segment
/home/test/samples/h264SampleFrames/frame-%003d.h264

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

Log.txt (67K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Failed to generate stream segment video frames

Vijay Rakesh Munganda

>
> Hi,
>
> I'm trying to generate video and audio stream segments, with below command I'm able to generate audio segments but not full video segments. Please find the attached log file.

Forgot to mention, I have used -g 45 to set key frame interval as 45.

Thanks & Regards,
Vijay Rakesh





_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".