2017-01-17 17:15 GMT+01:00 Martin Ždila <[email protected]>:

> I am trying to grab a screen with audio, record it to mp4 file and also
> extract 60th frame as jpeg:
>
> ffmpeg -hide_banner -y -thread_queue_size 512 -video_size 800x600
> -framerate 30 -r 30 -f x11grab -draw_mouse 0 -i :0.0 -thread_queue_size 512
> -f pulse -i default -filter_complex
> "[0:v]split=2[in1][in2];[in2]copy[out2];[in1]select=eq(n\,60)[out1]" -map
> '[out2]' -map '1:a' -vcodec libx264 -acodec libmp3lame -preset fast xxx.mp4
> -map '[out1]' -frames:v 1 xxx.jpeg

Remove "-r 30" and provide both command line and complete, uncut
console output.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Reply via email to