[FFmpeg-trac] #4041(undetermined:new): ffmpeg copy ts to mp4, fps was changed
FFmpeg
trac at avcodec.org
Sat Oct 18 11:22:35 CEST 2014
#4041: ffmpeg copy ts to mp4, fps was changed
-------------------------------------+-------------------------------------
Reporter: qianliang | Type: defect
Status: new | Priority: important
Component: | Version: git-
undetermined | master
Keywords: fps | Blocked By:
metadata | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
How to reproduce:
{{{
% ffmpeg -i input.ts -c copy output.mp4
Input #0, mpegts, from 'input.ts':
Duration: 00:00:59.43, start: 62.100000, bitrate: 1623 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 640x480, 20 fps, 40 tbr, 90k tbn, 40 tbc
Output #0, mp4, to 'output.mp4':
Metadata:
encoder : Lavf56.9.100
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 640x480,
q=2-31, 20 fps, 90k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 1488 fps=0.0 q=-1.0 Lsize= 10781kB time=00:00:59.40
bitrate=1486.9kbits/s
video:10767kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.128117%
ffmpeg version
ffmpeg version N-66797-gb8a5599
built on http://ffmpeg.zeranoe.com/builds/
}}}
It shows output.mp4 with 20 fps. But
{{{
% ffmpeg -i output.mp4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.9.100
Duration: 00:00:59.45, start: 0.000000, bitrate: 1485 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
640x480, 1483 kb/s, 25.03 fps, 40 tbr, 90k tbn, 4
0 tbc (default)
Metadata:
handler_name : VideoHandler
}}}
The fps changed to 25.03 fps
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4041>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list