[FFmpeg-trac] #1004(undetermined:new): Stream copying Audio from a WTV file causes a failure - non monotonically increasing dts to muxer

FFmpeg trac at avcodec.org
Fri Feb 17 18:38:19 CET 2012


#1004: Stream copying Audio from a WTV file causes a failure - non monotonically
increasing dts to muxer
-------------------------------------+-------------------------------------
             Reporter:  ramitbhalla  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  wtv non      |               Resolution:
  monotonically increasing dts       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by ramitbhalla):

 Yet another simpler option, only audio and same problem:

 COMMAND:
 --------
 ffmpeg -y -i csi.wtv -vn -acodec copy csi.avi


 OUTPUT:
 -------
 ffmpeg version N-37586-g6833fe4 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Feb  6 2012 16:02:04 with gcc 4.6.2
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-
 frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
 libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg
 --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-
 libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
 --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
 --enable-zlib
   libavutil      51. 38.100 / 51. 38.100
   libavcodec     54.  1.100 / 54.  1.100
   libavformat    54.  0.100 / 54.  0.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 62.100 /  2. 62.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  6.100 /  0.  6.100
   libpostproc    52.  0.100 / 52.  0.100
 [mp2 @ 03211D00] Header missing
 [mpeg2video @ 0320BC40] mpeg_decode_postinit() failure
     Last message repeated 7 times
 Input #0, wtv, from 'csi.wtv':
   Metadata:
     WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74b
     WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000e
     Title           : CSI: Crime Scene Investigation
     WM/SubTitle     : Justice Is Served
     WM/SubTitleDescription: Grissom investigates the death of a jogger;
 Catherine tries to determine the cause of death of a little girl on a
 carnival ride.
     genre           : Drama;General;Series;Action/Adventure
     WM/OriginalReleaseTime: 0
     WM/MediaCredits : William Petersen/Marg Helgenberger/Paul
 Guilfoyle/George Eads/Gary Dourdan/Jorja Fox;Thomas J. Wright;;Eric
 Szmanda/Robert David Hall/Skip O'Brien/David Berman/Alicia Coppola/Earl
 Brown/Kellie Waymire/Brad Johnson/Wayne Wilderson/Steffanie Brass/Joseph
 Pa
     service_provider: USA
     service_name    : USA Network
     WM/MediaNetworkAffiliation: Satellite
     WM/MediaOriginalChannel: 42
     WM/MediaOriginalChannelSubNumber: 0
     WM/MediaOriginalBroadcastDateTime: 2001-04-26T04:00:00Z
     WM/MediaOriginalRunTime: 20288549297
     WM/MediaIsStereo: 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/ParentalRating: TV-PG
     WM/Provider     : MediaCenterDefault
     WM/VideoClosedCaptioning: true
     WM/WMRVEncodeTime: 2012-01-27 06:28:11
     WM/WMRVSeriesUID: !MCSeries!00380341
     WM/WMRVServiceID: !MCService!28459373
     WM/WMRVProgramID: !MCProgram!29070181
     WM/WMRVRequestID: 0
     WM/WMRVScheduleItemID: 0
     WM/WMRVQuality  : 3
     WM/WMRVOriginalSoftPrePadding: 1745
     WM/WMRVOriginalSoftPostPadding: 120
     WM/WMRVHardPrePadding: -1685
     WM/WMRVHardPostPadding: 0
     WM/WMRVATSCContent: false
     WM/WMRVDTVContent: false
     WM/WMRVHDContent: false
     Duration        : 475547199
     WM/WMRVEndTime  : 2012-01-27 06:28:58
     WM/WMRVBitrate  : 8.257536
     WM/WMRVKeepUntil: 0
     WM/WMRVActualSoftPrePadding: 16
     WM/WMRVActualSoftPostPadding: -1861
     WM/WMRVContentProtected: false
     WM/WMRVContentProtectedPercent: 0
     WM/WMRVExpirationSpan: 9223372036854775807
     WM/WMRVInBandRatingSystem: 255
     WM/WMRVInBandRatingLevel: 255
     WM/WMRVInBandRatingAttributes: 0
     WM/WMRVWatched  : false
   Duration: 00:00:46.54, start: 14.626711, bitrate: 8290 kb/s
     Stream #0:0[0x11]: Subtitle: dvb_teletext
     Stream #0:1[0x12]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9
 DAR 4:3], 9000 kb/s, 44.96 fps, 29.97 tbr, 10000k tbn, 59.94 tbc
     Stream #0:2[0x13]: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo,
 s16, 384 kb/s
 Output #0, avi, to 'csi.avi':
   Metadata:
     WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74b
     WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000e
     INAM            : CSI: Crime Scene Investigation
     WM/SubTitle     : Justice Is Served
     WM/SubTitleDescription: Grissom investigates the death of a jogger;
 Catherine tries to determine the cause of death of a little girl on a
 carnival ride.
     IGNR            : Drama;General;Series;Action/Adventure
     WM/OriginalReleaseTime: 0
     ILNG            : en-us
     WM/MediaCredits : William Petersen/Marg Helgenberger/Paul
 Guilfoyle/George Eads/Gary Dourdan/Jorja Fox;Thomas J. Wright;;Eric
 Szmanda/Robert David Hall/Skip O'Brien/David Berman/Alicia Coppola/Earl
 Brown/Kellie Waymire/Brad Johnson/Wayne Wilderson/Steffanie Brass/Joseph
 Pa
     service_provider: USA
     service_name    : USA Network
     WM/MediaNetworkAffiliation: Satellite
     WM/MediaOriginalChannel: 42
     WM/MediaOriginalChannelSubNumber: 0
     WM/MediaOriginalBroadcastDateTime: 2001-04-26T04:00:00Z
     WM/MediaOriginalRunTime: 20288549297
     WM/MediaIsStereo: 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/ParentalRating: TV-PG
     WM/Provider     : MediaCenterDefault
     WM/VideoClosedCaptioning: true
     WM/WMRVEncodeTime: 2012-01-27 06:28:11
     WM/WMRVSeriesUID: !MCSeries!00380341
     WM/WMRVServiceID: !MCService!28459373
     WM/WMRVProgramID: !MCProgram!29070181
     WM/WMRVRequestID: 0
     WM/WMRVScheduleItemID: 0
     WM/WMRVQuality  : 3
     WM/WMRVOriginalSoftPrePadding: 1745
     WM/WMRVOriginalSoftPostPadding: 120
     WM/WMRVHardPrePadding: -1685
     WM/WMRVHardPostPadding: 0
     WM/WMRVATSCContent: false
     WM/WMRVDTVContent: false
     WM/WMRVHDContent: false
     Duration        : 475547199
     WM/WMRVEndTime  : 2012-01-27 06:28:58
     WM/WMRVBitrate  : 8.257536
     WM/WMRVKeepUntil: 0
     WM/WMRVActualSoftPrePadding: 16
     WM/WMRVActualSoftPostPadding: -1861
     WM/WMRVContentProtected: false
     WM/WMRVContentProtectedPercent: 0
     WM/WMRVExpirationSpan: 9223372036854775807
     WM/WMRVInBandRatingSystem: 255
     WM/WMRVInBandRatingLevel: 255
     WM/WMRVInBandRatingAttributes: 0
     WM/WMRVWatched  : false
     ISFT            : Lavf54.0.100
     Stream #0:0: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, 384
 kb/s
 Stream mapping:
   Stream #0:2 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 [avi @ 032120E0] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 10 >= 9
 av_interleaved_write_frame(): Invalid argument

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


More information about the FFmpeg-trac mailing list