I wanted to convert a 25fps video to 23.976 fps.
So I extracted the video and re-encoded the audio while stretching the audio.
So far so good.
Using:
I end up with async playback, since the video streams fps is ignored.Code:ffmpeg -y -r 24000/1001 -itsoffset -00:00:00.053 -i "E:\Output\2020-12-09@12_22_26_2010_03.m4v" -i "E:\Output\iId_1_aid_1_DELAY_-53ms_2020-12-09@12_22_26_2010_02.aac" -absf aac_adtstoasc -vcodec copy -acodec copy -map 0:0 -map 1:0 -aspect 181818:100000 -r 24000/1001 "E:\Output\ffmpeg.mp4"
MediaInfo still reports:
I expected to get something like:Code:Video ID : 1 Format : MPEG-4 Visual Format profile : Advanced Simple@L5 Format settings : BVOP Format settings, BVOP : Yes Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Default (H.263) Codec ID : mp4v-20 Duration : 17 s 160 ms Bit rate mode : Constant Bit rate : 723 kb/s Width : 640 pixels Height : 352 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 25.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.128 Stream size : 1.48 MiB (84%) Writing library : XviD 1.1.2 (UTC 2006-11-01) Menus : 3
-> So does someone know how to do this with ffmpeg?Code:Frame rate : 23.976 FPS Original frame rate : 25.000 FPS
Cu Selur
+ Reply to Thread
Results 1 to 3 of 3
-
users currently on my ignore list: deadrats, Stears555, marcorocchini
-
Would not know about mpeg-4 visual, but maybe reading on how to do for hevc-stream would help?
https://forum.videohelp.com/threads/389376-Changing-frame-rate-of-HEVC-MKVs#post2522592 -
A bit stream filter would only be needed to change the frame rate of the stream, I would be happy if ffmpeg would at least change the frame rate on the container level, like mkvtoolnix and mp4box do.
Sadly there is no such bitstream filter for MPEG-4 ASP (https://ffmpeg.org/ffmpeg-bitstream-filters.html).users currently on my ignore list: deadrats, Stears555, marcorocchini
Similar Threads
-
PAL DVD - change frame rate 25 --> 23.976
By Flintheart in forum Video ConversionReplies: 23Last Post: 24th Apr 2020, 14:09 -
Need variable frame rate ffmpeg
By Budman1 in forum Video ConversionReplies: 15Last Post: 9th Mar 2020, 05:10 -
Audio rate not working ffmpeg
By Budman1 in forum Video ConversionReplies: 2Last Post: 28th Sep 2019, 15:13 -
Possible wrong frame rate after IVTC, leave it or change?
By attackworld in forum EditingReplies: 7Last Post: 4th Sep 2018, 08:21 -
ffmpeg, Interlace, Frame Rate and File Size
By chris319 in forum Video ConversionReplies: 4Last Post: 15th Jun 2018, 01:08