[FFmpeg-trac] #3714(avformat:open): Remuxing mpegts results in 5% bigger file size than original file (was: Muxing results in bigger file size than original file)
FFmpeg
trac at avcodec.org
Wed Jun 11 23:02:30 CEST 2014
#3714: Remuxing mpegts results in 5% bigger file size than original file
------------------------------------+------------------------------------
Reporter: DavJames | Owner:
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: mpegts | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Changes (by cehoyos):
* status: new => open
* reproduced: 0 => 1
* component: undetermined => avformat
* version: unspecified => git-master
* keywords: => mpegts
Comment:
{{{
$ ffmpeg -i FFmpeg\ Sample_cut.ts -acodec copy -vcodec copy out.ts
ffmpeg version N-63896-g27b8ef5 Copyright (c) 2000-2014 the FFmpeg
developers
built on Jun 11 2014 18:34:12 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 66.100 / 55. 66.100
libavformat 55. 43.100 / 55. 43.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 7.100 / 4. 7.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
[mpegts @ 0x1cc5c20] PES packet size mismatch
Input #0, mpegts, from 'FFmpeg Sample_cut.ts':
Duration: 00:00:00.96, start: 0.200000, bitrate: 21333 kb/s
Program 1
Stream #0:0[0x201]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn,
50 tbc
Stream #0:1[0x202]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp, 229 kb/s
Output #0, mpegts, to 'out.ts':
Metadata:
encoder : Lavf55.43.100
Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1920x1080
[SAR 1:1 DAR 16:9], q=2-31, 25 fps, 90k tbn, 25 tbc
Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo,
229 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x1cc5c20] PES packet size mismatch
frame= 45 fps=0.0 q=-1.0 Lsize= 2637kB time=00:00:00.72
bitrate=29998.1kbits/s
video:2431kB audio:9kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 8.043469%
}}}
The output file is 5% larger than the input file.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3714#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list