[FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.
FFmpeg
trac at avcodec.org
Wed Aug 3 01:28:42 EEST 2016
#5750: ffmpeg generates rarerly PCR for mpegts with multiple video streams copy
and muxrate specified.
-------------------------------------+-------------------------------------
Reporter: xzerth | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by xzerth):
Ok, here is output from the git master for file I've uploaded to google
disk:
{{{
~# bin/ffmpeg -i pipe:0 -codec:0 copy -map 0:0 -codec:1 copy -map 0:1
-codec:2 copy -map 0:2 -codec:3 copy -map 0:3 -codec:4 copy -map 0:4
-codec:5 copy -map 0:5 -max_delay 3000000 -muxrate 13000k -f mpegts pipe:1
< input.ts > out.ts
ffmpeg version N-81231-g5469293 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.9.2 (Ubuntu 4.9.2-0ubuntu1~12.04)
configuration: --prefix=/usr/local --pkg-config-flags=--static --enable-
static --disable-shared --disable-avdevice --enable-runtime-cpudetect
--disable-postproc --enable-libfdk-aac --enable-libmp3lame
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 51.100 / 57. 51.100
libavformat 57. 44.100 / 57. 44.100
libavfilter 6. 49.100 / 6. 49.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
Input #0, mpegts, from 'pipe:0':
Duration: N/A, start: 1.480000, bitrate: N/A
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 480x270 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x101]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 640x360 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:2[0x102]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 720x404 [SAR 404:405 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:3[0x103]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 960x540 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:4[0x104]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:5[0x105]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:6[0x106](rus): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16p, 192 kb/s
[mpegts @ 0x23ee360] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
Last message repeated 5 times
Output #0, mpegts, to 'pipe:1':
Metadata:
encoder : Lavf57.44.100
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p,
480x270 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
Stream #0:1: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p,
640x360 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
Stream #0:2: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p,
720x404 [SAR 404:405 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
Stream #0:3: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p,
960x540 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
Stream #0:4: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
Stream #0:5: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
Stream #0:4 -> #0:4 (copy)
Stream #0:5 -> #0:5 (copy)
frame= 548 fps=0.0 q=-1.0 Lq=-1.0 q=-1.0 q=-1.0 q=-1.0 q=-1.0 size=
35819kB time=00:00:21.80 bitrate=13460.0kbits/s speed= 170x
video:21302kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 68.151382%
}}}
And the problem persist:
{{{
*pcr, 97790029, 325966, 229, +19.899, +19.899, +0,
*pcr, 98327304, 327757, 204, +19.899, +19.899, +0,
*pcr, 101919550, 339731, 250, +133.046, +133.046, +37,
*pcr, 102463073, 341543, 173, +20.130, +20.130, +0,
*pcr, 124316424, 414388, 24, +809.384, +809.383, -815,
*pcr, 154266386, 514221, 86, +1109.258, +1109.258, +0,
*pcr, 168875895, 562919, 195, +541.093, +541.093, +37,
*pcr, 174392335, 581307, 235, +204.313, +204.313, +0,
*pcr, 180349217, 601164, 17, +220.625, +220.625, +74,
*pcr, 194649480, 648831, 180, +529.639, +529.639, +0,
*pcr, 195186755, 650622, 155, +19.899, +19.899, +0,
*pcr, 196504953, 655016, 153, +48.822, +48.822, +37,
*pcr, 197257763, 657525, 263, +27.882, +27.882, +37,
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5750#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list