[FFmpeg-user] -video_size not working (avfoundation capture)
Thilo Borgmann
thilo.borgmann at mail.de
Sat Jan 27 16:56:03 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
sound like supersampling on a retina display. Might help to set video_size to half of what you want to have.
Untested and not likely to change soon, except someone could make a retina Mac available...
-Thilo
More information about the ffmpeg-user
mailing list