Re: [FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.

2018-12-27 Thread FFmpeg
#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:  mpegts   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-
Changes (by neon18):

 * cc: neon18@… (added)


--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.

2018-04-05 Thread FFmpeg
#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:  mpegts   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by tmaxwell):

 I hit a very similar issue by demuxing a TS file which has multiple video
 and audio streams. (Different resolutions and different compressions)
 My command line was:
 ffmpeg -i big.ts -map 0:0 -vcodec copy video01.ts

 The output file had PCR entries sporadically, ~23ms - ~8s intervals
 random.
 I executed ffmpeg on Windows and tried 2 versions:
 ffmpeg-20180319-e4eaaf7-win64-static --> issue can be reproduced
 ffmpeg-20140525-git-f276bf3-win64-static --> output has PCR every 67ms

 I checked out the 2014 version from GIT
 (f276bf303cbb7a8fed3c388135007bc29f45f8d5) and run it on Linux. It worked
 fine.
 Something had to happen between 2014 and 2016 which broke the
 functionality.
 As soon as I will have some time I will try to find out which commit broke
 the code.

 Output PCR differences using the 20180319 version: (seconds)
 1.735, 1.969, 3.303, 2.035, 4.771, 1.201, 1.134, 0.968, 1.001, 1.001,
 1.502, 1.502, 1.201, 8.308, 1.168, 2.069
 and using the 20140525 version: (seconds)
 0.067, 0.067, 0.067, 0.067, 0.067, 0.067, 0.067

 Original file has PCR values in every 0.067 seconds (sometimes 0.033
 seconds)

 Output of the 2014 version:
 {{{
 ffmpeg version N-63418-gf276bf3 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on May 24 2014 22:09:02 with gcc 4.8.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm
 --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-
 libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-librtmp --enable-libschroedinger --enable-
 libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
 libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
 libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-
 decklink --enable-zlib
   libavutil  52. 86.100 / 52. 86.100
   libavcodec 55. 65.100 / 55. 65.100
   libavformat55. 40.100 / 55. 40.100
   libavdevice55. 13.101 / 55. 13.101
   libavfilter 4.  5.100 /  4.  5.100
   libswscale  2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.100
   libpostproc52.  3.100 / 52.  3.100
 [h264 @ 054e8c40] mmco: unref short failure
 Last message repeated 1 times
 [h264 @ 054e8c40] number of reference frames (0+4) exceeds max (3;
 probably corrupt input), discarding one
 Input #0, mpegts, from 'big.ts':
   Duration: 00:10:00.14, start: 1.40, bitrate: 21551 kb/s
   Program 1
 Metadata:
   service_name: Service01
   service_provider: FFmpeg
 Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0]
 / 0x001B), yuv420p, 480x270 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k
 tbn, 59.94 tbc
 Stream #0:1[0x101]: Video: h264 (Constrained Baseline) ([27][0][0][0]
 / 0x001B), yuv420p, 480x270 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k
 tbn, 59.94 tbc
 Stream #0:2[0x102]: Video: h264 (Constrained Baseline) ([27][0][0][0]
 / 0x001B), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k
 tbn, 59.94 tbc
 Stream #0:3[0x103]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
 yuv420p, 960x540 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94
 tbc
 Stream #0:4[0x104]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
 yuv420p, 960x540 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94
 tbc
 Stream #0:5[0x105]: Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94
 tbc
 Stream #0:6[0x106]: Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn,
 59.94 tbc
 Stream #0:7[0x107]: Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn,
 59.94 tbc
 Stream #0:8[0x108]: Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr,
 90k tbn, 59.94 tbc
 Stream 

Re: [FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.

2016-08-04 Thread FFmpeg
#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:  mpegts   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 If this is not a regression, I would strongly suggest not to backport a
 fix, this nearly always leads to trouble.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.

2016-08-04 Thread FFmpeg
#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:  mpegts   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by xzerth):

 Hi, is there any news? Can you reproduce behavior? Can I help you and
 provide more info?
 There is 3.1.2 release soon - is this bug serious or we can catch the bus?
 )

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.

2016-08-03 Thread FFmpeg
#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:  mpegts   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by xzerth):

 Replying to [comment:11 cehoyos]:
 > Replying to [comment:10 xzerth]:
 > > Are you still can't reproduce the problem?
 > I was just wondering if the issue is related to h264 timestamps (that
 are known to cause issues in FFmpeg).

 Understand. Well, I have no problem with transcoding streams. Only with
 copying. Maybe the problem here because of vbv buffer which requirments
 ffmpeg do not take into account while copying streams?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.

2016-08-03 Thread FFmpeg
#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:  mpegts   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:10 xzerth]:
 > Are you still can't reproduce the problem?
 I was just wondering if the issue is related to h264 timestamps (that are
 known to cause issues in FFmpeg).

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.

2016-08-03 Thread FFmpeg
#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:  mpegts   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by xzerth):

 Replying to [comment:9 cehoyos]:
 > Is the issue also reproducible if you reencode (to x264 or mpeg2video)?
 > Is it also reproducible when remuxing mpeg2video?

 No, as I already wrote the problem is not reproduces if I transcode it.
 Yes, it is also reproducible when remuxing mpeg2video

 Transcode with libx264:
 {{{
 ~# ffmpeg -threads auto -i pipe:0 -async 1 -vsync 1 -r 25 -b:0 270k
 -codec:0 libx264 -maxrate:0 300k -bufsize:0 900k -preset:0 ultrafast -map
 0:0 -b:1 460k -codec:1 libx264 -maxrate:1 512k -bufsize:1 1536k -preset:1
 fast -map 0:1 -b:2 675k -codec:2 libx264 -maxrate:2 750k -bufsize:2 2250k
 -preset:2 ultrafast -map 0:2 -b:3 1260k -codec:3 libx264 -maxrate:3 1400k
 -bufsize:3 4200k -preset:3 ultrafast -map 0:3 -b:4 2200k -codec:4 libx264
 -maxrate:4 2500k -bufsize:4 7500k -preset:4 ultrafast -map 0:4 -b:5 5400k
 -codec:5 libx264 -maxrate:5 6000k -bufsize:5 18000k -preset:5 ultrafast
 -map 0:5 -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
 --enable-gpl --enable-libx264 --enable-libx265 --enable-libmp3lame
   libavutil  55. 28.100 / 55. 28.100
   libavcodec 57. 51.100 / 57. 51.100
   libavformat57. 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
   libpostproc54.  0.100 / 54.  0.100
 Input #0, mpegts, from 'pipe:0':
   Duration: N/A, start: 1.48, 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
 [libx264 @ 0x3ed21e0] using SAR=1/1
 [libx264 @ 0x3ed21e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 AVX
 [libx264 @ 0x3ed21e0] profile Constrained Baseline, level 2.1
 [libx264 @ 0x4a20300] using SAR=1/1
 [libx264 @ 0x4a20300] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 AVX
 [libx264 @ 0x4a20300] profile High, level 3.0
 [libx264 @ 0x4a2c300] using SAR=404/405
 [libx264 @ 0x4a2c300] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 AVX
 [libx264 @ 0x4a2c300] profile Constrained Baseline, level 3.0
 [libx264 @ 0x3e28580] using SAR=1/1
 [libx264 @ 0x3e28580] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 AVX
 [libx264 @ 0x3e28580] profile Constrained Baseline, level 3.1
 [libx264 @ 0x429bd00] using SAR=1/1
 [libx264 @ 0x429bd00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 AVX
 [libx264 @ 0x429bd00] profile Constrained Baseline, level 3.1
 [libx264 @ 0x4a236e0] using SAR=1/1
 [libx264 @ 0x4a236e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 AVX
 [libx264 @ 0x4a236e0] profile Constrained Baseline, level 4.0
 [mpegts @ 0x3fcfd80] 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 (libx264), yuv420p, 480x270 [SAR 1:1 DAR
 16:9], q=-1--1, 270 kb/s, 25 fps, 90k tbn, 25 tbc
 Metadata:
   encoder : Lavc57.51.100 libx264
 Side data:
   cpb: bitrate max/min/avg: 

Re: [FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.

2016-08-03 Thread FFmpeg
#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:  mpegts   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Is the issue also reproducible if you reencode (to x264 or mpeg2video)?
 Is it also reproducible when remuxing mpeg2video?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.

2016-08-03 Thread FFmpeg
#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:  mpegts   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by xzerth):

 Ok, now I understand :) To see the problem I'm using also my scripts. This
 output from my analyzing system (which uses tstools sometimes).
 I wrote simple script for you to detect the problem and attached it. You
 can run it with `python2 pcr_diff.py out.ts` -- It's extract PCRs and
 calculates those diffs.
 Also you may check the output from tstools with `tsreport -v out.ts | grep
 ".. PCR"` --  it's just extracting PCRs so you need to calculate it by
 hand but my script already do this.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.

2016-08-03 Thread FFmpeg
#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:  mpegts   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 What do I have to do with tstools to get the output you provided?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.

2016-08-03 Thread FFmpeg
#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:  mpegts   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by xzerth):

 You can reproduce the problem with my command.
 Also if you want to see "good" PCR corresponding muxrate, you can just
 decrease number of copy streams:
 {{{
 ~# bin/ffmpeg -i pipe:0 -codec:0 copy -map 0:0 -codec:1 copy -map 0:1
 -max_delay 300 -muxrate 13000k -f mpegts pipe:1 < input.ts > out.ts
 }}}

 I'm using pipe because it's convenient with my encoding environment.
 Thanks for notice about build flags - it's remain from another build

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.

2016-08-02 Thread FFmpeg
#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:  mpegts   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-
Changes (by cehoyos):

 * keywords:   => mpegts


Comment:

 How can I reproduce the PCR frequency?
 (And why are you using pipe input and output?)

 Unrelated:
 --enable-static --disable-shared --enable-runtime-cpudetect have no
 effect.
 --disable-postproc has no effect in your configure line (only if --enable-
 gpl is specified)
 --prefix=/usr/local should be the default

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.

2016-08-02 Thread FFmpeg
#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 300 -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
   libavformat57. 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.48, 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, 

Re: [FFmpeg-trac] #5750(undetermined:new): ffmpeg generates rarerly PCR for mpegts with multiple video streams copy and muxrate specified.

2016-08-02 Thread FFmpeg
#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
-+-
Changes (by cehoyos):

 * component:  ffmpeg => undetermined


--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac