21:18
I need to create chunks of videos (.ts) of fixed duration (say 5 or 10 seconds) from a mp4 video. And also I need the chunks in different formats (260p, 480p, 720p, 1080p).
I'm able to create the chunks and m3u8 using the command below:
ffmpeg -i input.mp4 -g 60 -hls_time 10 out.m3u8
but not able to create for different resolutions as mentioned above.
21:03
I need to show two similar images from a webcam side-by-side.
I can achieve this with this piped command, but it runs with a few seconds latency:
ffmpeg -f dshow -i video="Logi C310 HD WebCam" -filter_complex "[0:v][0:v]hstack=inputs=2[v]" -map "[v]" -f matroska - | ffplay -
I'd prefer to do the same in just ffplay.
I'd also like to have the resulting image cropped to a square size or to the size of the original image (like if the picture from webcam gets divided by half and the halfs took each other places).
What I need in this end is a tool that (...)