[FFmpeg-user] Framerate automatically increased while cropping

2021-08-20 Thread Ulf Zibis
Hi, why is the framerate automatically changed here from 29.98 fps to 120 fps, and how can I prevent from this ? $ ffmpeg -i Demo\ 31.10.2020\ Köln\ Vorspiel+Zugriff.mp4 -vf crop=640:320:640:176 Demo\ 31.10.2020\ Köln\ Vorspiel+Zugriff\ Ausschnitt.mp4 ffmpeg version 4.4-static https://johnvans

Re: [FFmpeg-user] Framerate automatically increased while cropping

2021-08-22 Thread Adam Nielsen via ffmpeg-user
> why is the framerate automatically changed here from 29.98 fps to 120 > fps, and how can I prevent from this ? > >   Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, > 1280x720, 2508 kb/s, 29.98 fps, 120 tbr, 90k tbn, 2k tbc (default) From what I can find, "tbr" is the targe

Re: [FFmpeg-user] Framerate automatically increased while cropping

2021-08-22 Thread Gyan Doshi
On 2021-08-23 10:45 am, Adam Nielsen via ffmpeg-user wrote: why is the framerate automatically changed here from 29.98 fps to 120 fps, and how can I prevent from this ?   Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 2508 kb/s, 29.98 fps, 120 tbr, 90k tbn, 2k

Re: [FFmpeg-user] Framerate automatically increased while cropping

2021-08-24 Thread Ulf Zibis
Am 23.08.21 um 07:15 schrieb Adam Nielsen via ffmpeg-user: why is the framerate automatically changed here from 29.98 fps to 120 fps, and how can I prevent from this ?   Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 2508 kb/s, 29.98 fps, 120 tbr, 90k tbn, 2k tb

Re: [FFmpeg-user] Framerate automatically increased while cropping

2021-08-24 Thread Ulf Zibis
Am 23.08.21 um 07:44 schrieb Gyan Doshi: You can add `-fpsmax 30` with v4.4 or newer. This will limit output rate to 30 if the input is higher else keep the original rate. With that I get a rate of 30 instead of the original 29.98, so each 50th frame gets duplicated, which I value as nonse

Re: [FFmpeg-user] Framerate automatically increased while cropping

2021-08-24 Thread Ulf Zibis
Am 24.08.21 um 13:51 schrieb Ulf Zibis: Am 23.08.21 um 07:15 schrieb Adam Nielsen via ffmpeg-user: why is the framerate automatically changed here from 29.98 fps to 120 fps, and how can I prevent from this ?     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 250

Re: [FFmpeg-user] Framerate automatically increased while cropping

2021-08-25 Thread Ulf Zibis
Am 23.08.21 um 07:15 schrieb Adam Nielsen via ffmpeg-user: why is the framerate automatically changed here from 29.98 fps to 120 fps, and how can I prevent from this ?   Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 2508 kb/s, 29.98 fps, 120 tbr, 90k tbn, 2k tb

Re: [FFmpeg-user] Framerate automatically increased while cropping

2021-08-25 Thread Ulf Zibis
Am 24.08.21 um 13:51 schrieb Ulf Zibis I guess you could use the -r option to override this and force a specific framerate if you want something different? Yes, this works fine. But I would appreciate, if I could use something like -r=inputrate or --keep_framerate I've found out, that using