[FFmpeg-user] -video_size not working (avfoundation capture)

Abeba Tensai abeba.tensai at gmail.com
Sat Jan 27 16:17:16 EET 2018


Hi,

I use the following command:

> /ffmpeg  -y -f avfoundation -video_size 1280x800 -i "1:" -c:v
h264_videotoolbox -b:v 5000k -start_number 0 -hls_time 5 -hls_list_size 100
-use_localtime 1 -hls_flags second_level_segment_duration
-hls_segment_filename "file-%%016t.ts" -f hls index.m3u8

It produces ts segments of size *2560x1600*
> ffmpeg -i file-0000000005100000.ts

> Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(progressive), *2560x1600* [SAR 1:1 DAR 8:5], 30 tbr, 90k tbn, 180k
tbc


What am I doing wrong?


Thanks


More information about the ffmpeg-user mailing list