[FFmpeg-trac] #5367(undetermined:new): ffmpeg muxing error, no video packets muxed: cur_dts is invalid (this is harmless if it occurs once at the start per stream)

FFmpeg trac at avcodec.org
Thu Mar 24 03:11:45 CET 2016


#5367: ffmpeg muxing error, no video packets muxed: cur_dts is invalid (this is
harmless if it occurs once at the start per stream)
-------------------------------------+-------------------------------------
             Reporter:  leo.z        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by leo.z):

 I'm using command "ffmpeg -y -i hd_spts.ts -c copy 1.ts -report", just try
 to remux it.
 I had uploaded the source video, report log file and the dts/pts analyze
 form:
 source video: http://203.118.245.62/hd_spts.ts
 report log: http://203.118.245.62/ffmpeg-20160323-065632.log
 pts/dts: http://203.118.245.62/hd_spts.xlsx

 Input #0, mpegts, from 'hd_spts.ts':
   Duration: 00:01:43.30, start: 16966.364000, bitrate: 8120 kb/s
   Program 352
     Metadata:
       service_name    : FIGHT SPORTS HD
       service_provider:
     Stream #0:0[0xc0], 255, 1/90000: 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:1[0x124], 211, 1/90000: Audio: mp2 ([3][0][0][0] / 0x0003),
 48000 Hz, stereo, s16p, 192 kb/s
 Successfully opened the file.
 Parsing a group of options: output file 1.ts.
 Applying option c (codec name) with argument copy.
 Successfully parsed a group of options.
 Opening an output file: 1.ts.
 [file @ 0xb4945a0] Setting default whitelist 'file'
 Successfully opened the file.
 [mpegts @ 0xb493fe0] muxrate VBR, pcr every 9000 pkts, sdt every 200,
 pat/pmt every 40 pkts
 Output #0, mpegts, to '1.ts':
   Metadata:
     encoder         : Lavf57.25.100
     Stream #0:0, 0, 1/90000: Video: h264 ([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 #0:1, 0, 1/90000: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, 192 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 ...
 [mpegts @ 0xb493fe0] Delay between the first packet and last packet in the
 muxing queue is 10008000 > 10000000: forcing output
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 [mpegts @ 0xb493fe0] Delay between the first packet and last packet in the
 muxing queue is 10008000 > 10000000: forcing output
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 [mpegts @ 0xb493fe0] Delay between the first packet and last packet in the
 muxing queue is 10008000 > 10000000: forcing output
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 No more output streams to write to, finishing.
 frame=    0 fps=0.0 q=-1.0 Lsize=    2657kB time=00:01:42.91 bitrate=
 211.5kbits/s speed= 150x
 video:0kB audio:2411kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 10.197172%
 Input file #0 (hd_spts.ts):
   Input stream #0:0 (video): 5148 packets read (97738708 bytes);
   Input stream #0:1 (audio): 4287 packets read (2469312 bytes);
   Total: 9435 packets (100208020 bytes) demuxed
 Output file #0 (1.ts):
   Output stream #0:0 (video): 0 packets muxed (0 bytes);
   Output stream #0:1 (audio): 4287 packets muxed (2469312 bytes);
   Total: 4287 packets (2469312 bytes) muxed
 0 frames successfully decoded, 0 decoding errors
 [AVIOContext @ 0xb45df20] Statistics: 0 seeks, 858 writeouts
 [AVIOContext @ 0xb460e60] Statistics: 110383212 bytes read, 3 seeks

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5367#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list