Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#954 closed defect (fixed)

mpeg2 in wtv: non monotonically increasing dts

Reported by: omasoud Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: mpeg2video wtv av_interleaved_write_frame
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

sample input video attached.

ffmpeg -i "World War II in HD Colour_KTCADT_2012_01_29_15_16_30.wtv" -vcodec copy -acodec copy -f dvd out.mpg

produces:

[mpeg @ 0000000002047090] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 59132 >=
59132
av_interleaved_write_frame(): Invalid argument

The same happens with "-f mpegts"

But if I transcode to something else, it works fine. For example the following works fine to create an mp4 video:

ffmpeg -i "World War II in HD Colour_KTCADT_2012_01_29_15_16_30.wtv" -vcodec libx264 -vb 1024k
 -acodec libvo_aacenc -ac 2 -ab 128k out.mp4

The full output for the offending command is as follows:

C:\Temp\ffmpeg-2012-01-27>ffmpeg -i "World War II in HD Colour_KTCADT_2012_01_29_15_16_30.wtv" -vcodec copy -acodec copy
 -f dvd out.mpg
ffmpeg version N-37208-g01fcbdf Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 27 2012 18:39:49 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enab
le-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --en
able-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      51. 34.101 / 51. 34.101
  libavcodec     53. 60.100 / 53. 60.100
  libavformat    53. 31.100 / 53. 31.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 60.100 /  2. 60.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg2video @ 00000000002D1350] mpeg_decode_postinit() failure
    Last message repeated 2 times
Input #0, wtv, from 'World War II in HD Colour_KTCADT_2012_01_29_15_16_30.wtv':
  Metadata:
    Title           : World War II in HD Colour
    WM/SubTitle     : Red Sun Rampant
    WM/SubTitleDescription: The battleship and the aircraft carrier emerge as effective weapons during World War II.
    genre           : Documentary;General;Educational;Series;Documentary/Bio;Other
    WM/MediaCredits : ;;;
    WM/OriginalReleaseTime: 0
    service_provider: KTCADT
    service_name    : KTCADT (KTCA-DT)
    WM/MediaNetworkAffiliation: PBS Affiliate
    WM/MediaOriginalChannel: 2
    WM/MediaOriginalChannelSubNumber: 1
    WM/MediaOriginalBroadcastDateTime: 2010-06-29T05:00:00Z
    WM/WMRVSeriesUID: !MCSeries!00355479
    WM/WMRVServiceID: !MCService!28458579
    WM/WMRVProgramID: !MCProgram!237695095
    WM/MediaOriginalRunTime: 27898020000
    WM/WMRVEncodeTime: 2012-01-29 21:16:30
    WM/MediaIsStereo: true
    WM/VideoClosedCaptioning: true
    WM/MediaIsRepeat: true
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 3
    WM/WMRVOriginalSoftPrePadding: 509
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVActualSoftPrePadding: 0
    WM/WMRVHardPrePadding: -389
    WM/Provider     : MediaCenterDefault
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74b
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000e
    WM/WMRVEndTime  : 2012-01-29 22:03:00
    WM/WMRVBitrate  : 8.257536
    WM/WMRVKeepUntil: -1
    WM/WMRVHardPostPadding: 0
    WM/WMRVActualSoftPostPadding: 180
    WM/WMRVContentProtectedPercent: 5
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: false
    WM/WMRVHDContent: false
    WM/WMRVContentProtected: false
    WM/MediaThumbTimeStamp: -4616189618054758400
    WM/MediaThumbWidth: 0
    WM/MediaThumbHeight: 0
    WM/MediaThumbStride: 0
    WM/MediaThumbRet: 4
    WM/MediaThumbRatingSystem: 0
    WM/MediaThumbRatingLevel: 0
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 0
    WM/MediaThumbAspectRatioY: 0
    WM/MediaThumbType: 2
  Duration: 00:00:05.72, start: 23.922833, bitrate: 13178 kb/s
    Stream #0:0[0x10e]: Subtitle: dvb_teletext
    Stream #0:1[0x119](eng): Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
    Stream #0:2[0x11a](spa): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:3[0x11b]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 65000 kb/s, 33.30 fps, 29.97 tb
r, 10000k tbn, 59.94 tbc
    Stream #0:4[0x0]: Attachment: mjpeg
    Metadata:
      title           : TV Thumbnail
Output #0, dvd, to 'out.mpg':
  Metadata:
    Title           : World War II in HD Colour
    WM/SubTitle     : Red Sun Rampant
    WM/SubTitleDescription: The battleship and the aircraft carrier emerge as effective weapons during World War II.
    genre           : Documentary;General;Educational;Series;Documentary/Bio;Other
    WM/MediaCredits : ;;;
    WM/OriginalReleaseTime: 0
    service_provider: KTCADT
    service_name    : KTCADT (KTCA-DT)
    WM/MediaNetworkAffiliation: PBS Affiliate
    WM/MediaOriginalChannel: 2
    WM/MediaOriginalChannelSubNumber: 1
    WM/MediaOriginalBroadcastDateTime: 2010-06-29T05:00:00Z
    WM/WMRVSeriesUID: !MCSeries!00355479
    WM/WMRVServiceID: !MCService!28458579
    WM/WMRVProgramID: !MCProgram!237695095
    WM/MediaOriginalRunTime: 27898020000
    WM/WMRVEncodeTime: 2012-01-29 21:16:30
    WM/MediaIsStereo: true
    WM/VideoClosedCaptioning: true
    WM/MediaIsRepeat: true
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 3
    WM/WMRVOriginalSoftPrePadding: 509
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVActualSoftPrePadding: 0
    WM/WMRVHardPrePadding: -389
    WM/Provider     : MediaCenterDefault
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74b
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000e
    WM/WMRVEndTime  : 2012-01-29 22:03:00
    WM/WMRVBitrate  : 8.257536
    WM/WMRVKeepUntil: -1
    WM/WMRVHardPostPadding: 0
    WM/WMRVActualSoftPostPadding: 180
    WM/WMRVContentProtectedPercent: 5
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: false
    WM/WMRVHDContent: false
    WM/WMRVContentProtected: false
    WM/MediaThumbTimeStamp: -4616189618054758400
    WM/MediaThumbWidth: 0
    WM/MediaThumbHeight: 0
    WM/MediaThumbStride: 0
    WM/MediaThumbRet: 4
    WM/MediaThumbRatingSystem: 0
    WM/MediaThumbRatingLevel: 0
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 0
    WM/MediaThumbAspectRatioY: 0
    WM/MediaThumbType: 2
    encoder         : Lavf53.31.100
    Stream #0:0: Video: mpeg2video, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 65000 kb/s, 33.30 fps, 90k tbn, 29.97
 tbc
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), 384 kb/s
Stream mapping:
  Stream #0:3 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[dvd @ 00000000041C9790] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 59132 >= 5
9132
av_interleaved_write_frame(): Invalid argument

Attachments (2)

Moyers & Company_KTCADT_2012_01_29_17_42_49.wtv (1.0 MB) - added by omasoud 5 years ago.
Test - Copy.wtv (2.3 MB) - added by ramitbhalla 5 years ago.
A part of a H264 WTV recording (file split using a binary splitter)

Change History (13)

comment:1 Changed 5 years ago by omasoud

I couldn't upload the same sample file referred to in the ticket because it exceeds the upload size limit. But the attached file exhibits the same problem.

comment:2 Changed 5 years ago by omasoud

Additional info (dump of info about the attached sample):

C:\Temp\ffmpeg-2012-01-27>ffmpeg -v 9 -loglevel 99 -i "Moyers & Company_KTCADT_2012_01_29_17_42_49.wtv"
ffmpeg version N-37208-g01fcbdf Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 27 2012 18:39:49 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enab
le-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --en
able-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      51. 34.101 / 51. 34.101
  libavcodec     53. 60.100 / 53. 60.100
  libavformat    53. 31.100 / 53. 31.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 60.100 /  2. 60.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
[wtv @ 000000000027F4E0] Format wtv probed with size=2048 and score=100
[ac3 @ 0000000000304DD0] err{or,}_recognition separate: 1; 1
[ac3 @ 0000000000304DD0] err{or,}_recognition combined: 1; 10001
[ac3 @ 0000000000304DD0] Unsupported bit depth: 0
[ac3 @ 000000000030AF80] err{or,}_recognition separate: 1; 1
[ac3 @ 000000000030AF80] err{or,}_recognition combined: 1; 10001
[ac3 @ 000000000030AF80] Unsupported bit depth: 0
[mpeg2video @ 0000000000311130] err{or,}_recognition separate: 1; 1
[mpeg2video @ 0000000000311130] err{or,}_recognition combined: 1; 10001
[wtv @ 000000000027F4E0] parser not found for codec dvb_teletext, packets or times may be invalid.
[mpeg2video @ 0000000000311130] mpeg_decode_postinit() failure
    Last message repeated 2 times
[mpeg2video @ 0000000000311130] Unsupported bit depth: 0
[wtv @ 000000000027F4E0] decoding for stream 0 failed
[mjpeg @ 000000000032F550] err{or,}_recognition separate: 1; 1
[mjpeg @ 000000000032F550] err{or,}_recognition combined: 1; 10001
[mjpeg @ 000000000032F550] Unsupported bit depth: 0
rfps: 28.166667 0.019132
rfps: 28.250000 0.017404
rfps: 28.333333 0.015759
    Last message repeated 1 times
rfps: 28.416667 0.014195
    Last message repeated 1 times
rfps: 28.500000 0.012713
    Last message repeated 1 times
rfps: 28.583333 0.011312
    Last message repeated 1 times
rfps: 28.666667 0.009993
    Last message repeated 1 times
rfps: 28.750000 0.008756
    Last message repeated 1 times
rfps: 28.833333 0.007601
    Last message repeated 1 times
rfps: 28.916667 0.006527
    Last message repeated 1 times
rfps: 29.000000 0.005535
    Last message repeated 1 times
rfps: 29.083333 0.004625
    Last message repeated 1 times
rfps: 29.166667 0.003797
    Last message repeated 1 times
rfps: 29.250000 0.003050
    Last message repeated 1 times
rfps: 29.333333 0.002385
    Last message repeated 1 times
rfps: 29.416667 0.001801
rfps: 29.500000 0.001300
rfps: 29.583333 0.000880
rfps: 29.666667 0.000541
rfps: 29.750000 0.000285
rfps: 29.833333 0.000110
    Last message repeated 1 times
rfps: 29.916667 0.000017
    Last message repeated 1 times
rfps: 30.000000 0.000005
    Last message repeated 1 times
rfps: 30.083333 0.000076
    Last message repeated 1 times
rfps: 30.166667 0.000227
    Last message repeated 1 times
rfps: 30.250000 0.000461
    Last message repeated 1 times
rfps: 30.333333 0.000776
    Last message repeated 1 times
rfps: 30.416667 0.001174
    Last message repeated 1 times
rfps: 30.500000 0.001652
    Last message repeated 1 times
rfps: 30.583333 0.002213
    Last message repeated 1 times
rfps: 30.666667 0.002855
    Last message repeated 1 times
rfps: 30.750000 0.003579
    Last message repeated 1 times
rfps: 30.833333 0.004384
    Last message repeated 1 times
rfps: 30.916667 0.005272
    Last message repeated 1 times
rfps: 31.000000 0.006241
    Last message repeated 1 times
rfps: 31.083333 0.007291
    Last message repeated 1 times
rfps: 31.166667 0.008424
    Last message repeated 1 times
rfps: 31.250000 0.009638
    Last message repeated 1 times
rfps: 31.333333 0.010934
    Last message repeated 1 times
rfps: 31.416667 0.012311
rfps: 31.500000 0.013771
rfps: 31.583333 0.015311
rfps: 31.666667 0.016934
rfps: 31.750000 0.018638
rfps: 58.166667 0.018501
    Last message repeated 1 times
rfps: 58.250000 0.016803
    Last message repeated 1 times
rfps: 58.333333 0.015187
    Last message repeated 1 times
rfps: 58.416667 0.013652
    Last message repeated 1 times
rfps: 58.500000 0.012200
    Last message repeated 1 times
rfps: 58.583333 0.010828
    Last message repeated 1 times
rfps: 58.666667 0.009539
    Last message repeated 1 times
rfps: 58.750000 0.008331
    Last message repeated 1 times
rfps: 58.833333 0.007205
rfps: 58.916667 0.006161
rfps: 59.000000 0.005199
rfps: 59.083333 0.004318
rfps: 59.166667 0.003519
rfps: 59.250000 0.002801
rfps: 59.333333 0.002166
rfps: 59.416667 0.001612
rfps: 59.500000 0.001139
rfps: 59.583333 0.000749
rfps: 59.666667 0.000440
    Last message repeated 1 times
rfps: 59.750000 0.000212
    Last message repeated 1 times
rfps: 59.833333 0.000067
    Last message repeated 1 times
rfps: 59.916667 0.000003
    Last message repeated 1 times
rfps: 29.970030 0.000000
    Last message repeated 1 times
rfps: 59.940060 0.000000
    Last message repeated 1 times
Input #0, wtv, from 'Moyers & Company_KTCADT_2012_01_29_17_42_49.wtv':
  Metadata:
    Title           : Moyers & Company
    WM/SubTitle     : Why Are Big Banks Rewriting the Economy's Rules?
    WM/SubTitleDescription: Former Citicorp CEO John Reed and former U.S. Sen. Byron Dorgan discuss the effects of the m
erger of Citicorp and Travelers Group.
    genre           : News;Series;Other;Public Affairs
    WM/MediaCredits : ;;Bill Moyers;
    WM/OriginalReleaseTime: 0
    service_provider: KTCADT
    service_name    : KTCADT (KTCA-DT)
    WM/MediaNetworkAffiliation: PBS Affiliate
    WM/MediaOriginalChannel: 2
    WM/MediaOriginalChannelSubNumber: 1
    WM/MediaOriginalBroadcastDateTime: 2012-01-27T06:00:00Z
    WM/WMRVSeriesUID: !MCSeries!01501641
    WM/WMRVServiceID: !MCService!28458579
    WM/WMRVProgramID: !MCProgram!266996906
    WM/MediaOriginalRunTime: 12109070000
    WM/WMRVEncodeTime: 2012-01-29 23:42:49
    WM/MediaIsStereo: true
    WM/VideoClosedCaptioning: true
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 3
    WM/WMRVOriginalSoftPrePadding: 2689
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVActualSoftPrePadding: 0
    WM/WMRVHardPrePadding: -2569
    WM/Provider     : MediaCenterDefault
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74b
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000e
    WM/WMRVEndTime  : 2012-01-29 23:42:51
    WM/WMRVBitrate  : 20.971520
    WM/WMRVKeepUntil: -1
    WM/WMRVHardPostPadding: 0
    WM/WMRVActualSoftPostPadding: -1028
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: false
    WM/WMRVContentProtected: false
    WM/MediaThumbTimeStamp: -4616189618054758400
    WM/MediaThumbWidth: 0
    WM/MediaThumbHeight: 0
    WM/MediaThumbStride: 0
    WM/MediaThumbRet: 4
    WM/MediaThumbType: 2
    WM/MediaThumbRatingSystem: 255
    WM/MediaThumbRatingLevel: 255
    WM/MediaThumbRatingAttributes: 2046
    WM/MediaThumbAspectRatioX: 0
    WM/MediaThumbAspectRatioY: 0
  Duration: 00:00:01.01, start: 59.399022, bitrate: 8226 kb/s
    Stream #0:0[0x11f], 12, 1/10000000: Subtitle: dvb_teletext
    Stream #0:1[0x12c](eng), 10, 1/10000000: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
    Stream #0:2[0x12d](spa), 10, 1/10000000: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:3[0x12e], 11, 1/10000000: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1001/60000, 650
00 kb/s, 38.53 fps, 29.97 tbr, 10000k tbn, 59.94 tbc
    Stream #0:4[0x0], 0, 1/90000: Attachment: mjpeg
    Metadata:
      title           : TV Thumbnail
At least one output file must be specified

comment:3 Changed 5 years ago by cehoyos

  • Keywords mpeg2video av_interleaved_write_frame added; monotonically transport stream removed
  • Reproduced by developer set
  • Status changed from new to open

comment:4 follow-up: Changed 5 years ago by ramitbhalla

The same problems also occures when using a H.264 video source in the wtv contanier. Attaching the details below for the following command (video is too large to upload).

ffmpeg -y -i test.wtv -vcodec copy -acodec copy -f mpegts test.ts

ffmpeg version N-37208-g01fcbdf Copyright (c) 2000-2012 the FFmpeg developers

built on Jan 27 2012 18:34:52 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enab

le-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --en
able-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib

libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 60.100 / 53. 60.100
libavformat 53. 31.100 / 53. 31.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 60.100 / 2. 60.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100

[h264 @ 02EABC80] non-existing PPS referenced
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] no frame!
[h264 @ 02EABC80] non-existing SPS 0 referenced in buffering period
[h264 @ 02EABC80] non-existing PPS referenced
[h264 @ 02EABC80] non-existing SPS 0 referenced in buffering period
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] no frame!
[h264 @ 02EABC80] non-existing SPS 0 referenced in buffering period
[h264 @ 02EABC80] non-existing PPS referenced
[h264 @ 02EABC80] non-existing SPS 0 referenced in buffering period
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] no frame!
[h264 @ 02EABC80] non-existing SPS 0 referenced in buffering period
[h264 @ 02EABC80] non-existing PPS referenced
[h264 @ 02EABC80] non-existing SPS 0 referenced in buffering period
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] no frame!
[h264 @ 02EABC80] non-existing SPS 0 referenced in buffering period
[h264 @ 02EABC80] non-existing PPS referenced
[h264 @ 02EABC80] non-existing SPS 0 referenced in buffering period
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] no frame!
[h264 @ 02EABC80] non-existing SPS 0 referenced in buffering period
[h264 @ 02EABC80] non-existing PPS referenced
[h264 @ 02EABC80] non-existing SPS 0 referenced in buffering period
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] no frame!
[h264 @ 02EABC80] non-existing SPS 0 referenced in buffering period
[h264 @ 02EABC80] non-existing PPS referenced
[h264 @ 02EABC80] non-existing SPS 0 referenced in buffering period
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] no frame!
[h264 @ 02EABC80] non-existing SPS 0 referenced in buffering period
[h264 @ 02EABC80] non-existing PPS referenced
[h264 @ 02EABC80] non-existing SPS 0 referenced in buffering period
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] non-existing PPS 0 referenced
[h264 @ 02EABC80] decode_slice_header error
[h264 @ 02EABC80] no frame!
[h264 @ 02EABC80] mmco: unref short failure

Last message repeated 1 times

[h264 @ 02EABC80] Increasing reorder buffer to 1
[h264 @ 02EABC80] Increasing reorder buffer to 2
[h264 @ 02EABC80] Increasing reorder buffer to 3
[h264 @ 02EABC80] mmco: unref short failure
Input #0, wtv, from 'test.wtv':

Metadata:

Tuner ID : 716453EF-7443-4F94-9E30-ED10F1C5788D
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74bD
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000eD
Title : Mis tardes con Margueritte
WM/SubTitleDescription: Un parque de una peque├▒a ciudad sirve de lugar de encuentro para Germain, un carpintero de

algo más de cincuenta años y casi analfabeto, y Margueritte, una frágil anciana apasionada por la lectura. Margueritt
e empieza a leerle extractos de novelas, ha

genre : Cine;Comedia
WM/OriginalReleaseTime: 2010
WM/MediaCredits : Gérard Depardieu/Gis?èle Casadesus/Fran?çois-Xavier Demaison/Maurane?/Gérard Depardieu/Gis?èle Ca

sadesus/François-Xavier Demaison/Maurane?/Gérard Depardieu/Gis?èle Casadesus/Fran?çois-Xavier Demaison/Maurane?/Gérard
Depardieu/Gis?èle Casadesus/Fran?çois

service_provider: Canal+ Comedia HD
service_name : Canal+ Comedia HD
WM/MediaNetworkAffiliation: dvblink
WM/MediaOriginalChannel: 15
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
WM/MediaOriginalRunTime: 12066576831
WM/MediaIsStereo: false
WM/MediaIsRepeat: false
WM/MediaIsLive : false
WM/MediaIsTape : false
WM/MediaIsDelay : false
WM/MediaIsSubtitled: false
WM/MediaIsMovie : true
WM/MediaIsPremiere: false
WM/MediaIsFinale: false
WM/MediaIsSAP : false
WM/MediaIsSport : false
WM/Provider : MediaCenterDefault?
WM/VideoClosedCaptioning: false
WM/WMRVEncodeTime: 2012-01-30 18:28:53
WM/WMRVServiceID: !Generated!5457f0224618436e93271f066a788808
WM/WMRVProgramID: !MCProgram!8162774331456992!canal+ comedia hd!1327943400
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 0
WM/WMRVOriginalSoftPrePadding: 5027
WM/WMRVOriginalSoftPostPadding: 900
WM/WMRVHardPrePadding: -4727
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: false
WM/WMRVDTVContent: true
WM/WMRVHDContent: true
Duration : 1303804573
WM/WMRVEndTime : 2012-01-30 18:31:03
WM/WMRVBitrate : 20.971520
WM/WMRVKeepUntil: -1
WM/WMRVActualSoftPrePadding: -6
WM/WMRVActualSoftPostPadding: -176
WM/WMRVContentProtected: false
WM/WMRVContentProtectedPercent: 0
WM/WMRVExpirationSpan: 9223372036854775807
WM/WMRVInBandRatingSystem: 255
WM/WMRVInBandRatingLevel: 255
WM/WMRVInBandRatingAttributes: 0
WM/WMRVWatched : false

Duration: 00:02:09.54, start: 2.289534, bitrate: 6070 kb/s

Stream #0:0[0x63](spa): Subtitle: dvb_subtitle
Stream #0:1[0x64]: Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 34.72 fps, 25 tbr, 10000k tbn, 50 tbc
Stream #0:2[0x65](dos): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Stream #0:3[0x66](esl): Subtitle: dvb_subtitle (hearing impaired)
Stream #0:4[0x67](spa): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s

[mpegts @ 035CD4E0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'test.ts':

Metadata:

Tuner ID : 716453EF-7443-4F94-9E30-ED10F1C5788D
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74bD
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000eD
Title : Mis tardes con Margueritte
WM/SubTitleDescription: Un parque de una peque├▒a ciudad sirve de lugar de encuentro para Germain, un carpintero de

algo más de cincuenta años y casi analfabeto, y Margueritte, una frágil anciana apasionada por la lectura. Margueritt
e empieza a leerle extractos de novelas, ha

genre : Cine;Comedia
WM/OriginalReleaseTime: 2010
WM/MediaCredits : Gérard Depardieu/Gis?èle Casadesus/Fran?çois-Xavier Demaison/Maurane?/Gérard Depardieu/Gis?èle Ca

sadesus/François-Xavier Demaison/Maurane?/Gérard Depardieu/Gis?èle Casadesus/Fran?çois-Xavier Demaison/Maurane?/Gérard
Depardieu/Gis?èle Casadesus/Fran?çois

service_provider: Canal+ Comedia HD
service_name : Canal+ Comedia HD
WM/MediaNetworkAffiliation: dvblink
WM/MediaOriginalChannel: 15
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
WM/MediaOriginalRunTime: 12066576831
WM/MediaIsStereo: false
WM/MediaIsRepeat: false
WM/MediaIsLive : false
WM/MediaIsTape : false
WM/MediaIsDelay : false
WM/MediaIsSubtitled: false
WM/MediaIsMovie : true
WM/MediaIsPremiere: false
WM/MediaIsFinale: false
WM/MediaIsSAP : false
WM/MediaIsSport : false
WM/Provider : MediaCenterDefault?
WM/VideoClosedCaptioning: false
WM/WMRVEncodeTime: 2012-01-30 18:28:53
WM/WMRVServiceID: !Generated!5457f0224618436e93271f066a788808
WM/WMRVProgramID: !MCProgram!8162774331456992!canal+ comedia hd!1327943400
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 0
WM/WMRVOriginalSoftPrePadding: 5027
WM/WMRVOriginalSoftPostPadding: 900
WM/WMRVHardPrePadding: -4727
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: false
WM/WMRVDTVContent: true
WM/WMRVHDContent: true
Duration : 1303804573
WM/WMRVEndTime : 2012-01-30 18:31:03
WM/WMRVBitrate : 20.971520
WM/WMRVKeepUntil: -1
WM/WMRVActualSoftPrePadding: -6
WM/WMRVActualSoftPostPadding: -176
WM/WMRVContentProtected: false
WM/WMRVContentProtectedPercent: 0
WM/WMRVExpirationSpan: 9223372036854775807
WM/WMRVInBandRatingSystem: 255
WM/WMRVInBandRatingLevel: 255
WM/WMRVInBandRatingAttributes: 0
WM/WMRVWatched : false
encoder : Lavf53.31.100
Stream #0:0: Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 34.72 fps, 90k tbn, 25 tbc
Stream #0:1(dos): Audio: ac3, 48000 Hz, stereo, 192 kb/s

Stream mapping:

Stream #0:1 -> #0:0 (copy)
Stream #0:2 -> #0:1 (copy)

Press [q] to stop, ? for help
[mpegts @ 035CD4E0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 130201 >= 11580
1
av_interleaved_write_frame(): Invalid argument

comment:5 in reply to: ↑ 4 Changed 5 years ago by cehoyos

  • Summary changed from non monotonically increasing dts error while remuxing wtv to mpeg2 in wtv: non monotonically increasing dts

Replying to ramitbhalla:

The same problems also occures when using a H.264 video source in the wtv contanier.

Please provide a sample.

comment:6 Changed 5 years ago by ramitbhalla

The sample file is 90MB in size (I don't know how to cut it down since no existing tool can work on a wtv H.264 file).

The file is hosted on a FTP server you can download from

ftp server: ramit.homeip.net
user: mcebuddy
pwd: mcebuddy

name: Test.wtv

Changed 5 years ago by ramitbhalla

A part of a H264 WTV recording (file split using a binary splitter)

comment:7 follow-up: Changed 5 years ago by ramitbhalla

any thoughts on this?

comment:8 in reply to: ↑ 7 Changed 5 years ago by cehoyos

Replying to ramitbhalla:

any thoughts on this?

Yes, I suspect it does not really make sense to attach a H264 sample to a bug report titled "mpeg2 in wtv...", consider opening a new ticket. (It is of course possible that this would be fixed identically, but this is not obvious or even likely.)

comment:9 Changed 5 years ago by cehoyos

Remuxing video has been fixed for the original sample, remuxing audio is currently broken, this is a regression.

comment:10 Changed 4 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed

The original sample and command line is working fine both video and audio.
If issues remain with other files using entirely different codecs and other command lines, please open separate tickets for them.

comment:11 Changed 4 years ago by cehoyos

The second sample that is not fixed is (also) attached to ticket #1032.

Note: See TracTickets for help on using tickets.