[FFmpeg-user] How to change FPS without re-render

loeffler at eyetrap.net loeffler at eyetrap.net
Wed Jun 3 20:07:32 CEST 2015


tried this now:

ffmpeg -r 24000/1001 -i in.mov -r 24000/1001  -vcodec copy -acodec  
copy out.mov

which does not seem to work. if I look at the console output it tells  
me already that it keeps the frame rate:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'in.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     encoder         : Lavf54.59.106
   Duration: 32:16:40.10, start: 0.000000, bitrate: 13419 kb/s
     Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le,  
1920x1080, 10863 kb/s, 1.26 fps, 23.98 tbr, 19184 tbn, 19184 tbc
     Metadata:
       handler_name    : DataHandler
     Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,  
4.0, s16, 3072 kb/s
     Metadata:
       handler_name    : DataHandler

Output #0, mov, to 'out.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     encoder         : Lavf54.59.106
     Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le,  
1920x1080, q=2-31, 10863 kb/s, 1.26 fps, 24k tbn, 23.98 tbc
     Metadata:
       handler_name    : DataHandler
     Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,  
4.0, 3072 kb/s
     Metadata:
       handler_name    : DataHandler
Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)


Quoting lorenzo angeli <lorenzo.angeli at efestolab.uk>:

> can you try setting -r before and after the input ?
> L.
>
> 2015-06-03 18:55 GMT+02:00 <loeffler at eyetrap.net>:
>
>> I tried:
>>
>> ffmpeg -i in.mov -r 24000/1001 out.mov
>>
>> which is creating the right fps but encoding it to h264. Then I tried:
>>
>> ffmpeg -i in.mov -r 24000/1001 -vcodec copy out.mov
>>
>> which is not fixing the fps but keeps prores.
>>
>> Any suggestion?
>>
>>
>>
>>
>> Quoting Carl Eugen Hoyos <cehoyos at ag.or.at>:
>>
>>  <loeffler <at> eyetrap.net> writes:
>>>
>>>  I have a prores file that has a wrong fps (1.26), how can I change
>>>> that to 23.98?
>>>>
>>>
>>> The input option -r might work, please test.
>>>
>>> Carl Eugen
>>>
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>
>
> --
> -------------------------------------------------------------------------------------------------------------------
> Efesto Lab LTD, Chancery Station House, 31-33 High Holborn, London WC1V 6AX
> -------------------------------------------------------------------------------------------------------------------
> www.efestolab.uk
>
> skype: lorenzo.efestolab
> phone: +44 7961031018
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user





More information about the ffmpeg-user mailing list