[FFmpeg-trac] #8874(ffmpeg:new): mp4 mixer indicates Variable Frame Rate
FFmpeg
trac at avcodec.org
Fri Aug 28 20:55:38 EEST 2020
#8874: mp4 mixer indicates Variable Frame Rate
-------------------------------------+-------------------------------------
Reporter: RCJetPilot | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version:
| unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
If I use the following command
~/ffmpeg_sources/ffmpeg/ffmpeg -i /Volumes/VOLUME01/Chris/sample.ts -c
copy /Volumes/VOLUME01/Chris/sample.mp4
The reported frame rate mode is variable (this is a problem for our
editing systems)
If I modify that command to :
~/ffmpeg_sources/ffmpeg/ffmpeg -i /Volumes/VOLUME01/Chris/sample.ts -c
copy -f segment -segment_time 09:00:00 -reset_timestamps 1
/Volumes/VOLUME01/Chris/sample%03d.mp4
It reports constant frame rate and works fine in our editing systems
I am using mediinfo to confirm these issues..
Here is my output
~/ffmpeg_sources/ffmpeg/ffmpeg -i /Volumes/VOLUME01/Chris/sample.ts -c
copy -f segment -segment_time 09:00:00 -reset_timestamps 1
/Volumes/VOLUME01/Chris/sample%03d.mp4
ffmpeg version N-98896-g0d46043 Copyright (c) 2000-2020 the FFmpeg
developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
--extra-cflags=-I/root/ffmpeg_build/include --extra-
ldflags=-L/root/ffmpeg_build/lib --extra-libs=-lpthread --extra-libs=-lm
--bindir=/root/bin --enable-gpl --enable-libfdk_aac --enable-libfreetype
--enable-libmp3lame --enable-libopus --enable-libvpx --enable-libx264
--enable-libx265 --enable-nonfree
libavutil 56. 58.100 / 56. 58.100
libavcodec 58.101.100 / 58.101.100
libavformat 58. 51.101 / 58. 51.101
libavdevice 58. 11.101 / 58. 11.101
libavfilter 7. 87.100 / 7. 87.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
Input #0, mpegts, from '/Volumes/VOLUME01/Chris/sample.ts':
Duration: 00:02:00.02, start: 1.413333, bitrate: 12478 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr,
90k tbn, 119.88 tbc
Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000
Hz, stereo, fltp, 127 kb/s
[segment @ 0x452a640] Opening '/Volumes/VOLUME01/Chris/sample000.mp4' for
writing
Output #0, segment, to '/Volumes/VOLUME01/Chris/sample%03d.mp4':
Metadata:
encoder : Lavf58.51.101
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 59.94 fps,
59.94 tbr, 60k tbn, 59.94 tbc
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp, 127 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Also the file uploaded has been renamed from sample.ts to
VariableFrameRate.ts
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8874>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list