[FFmpeg-trac] #1004(undetermined:open): Stream copying mp2 or mpeg2video from a WTV file causes a failure - non monotonically increasing dts to muxer (was: Stream copying Audio from a WTV file causes a failure - non monotonically increasing dts to muxer)
FFmpeg
trac at avcodec.org
Sat Feb 18 08:50:33 CET 2012
#1004: Stream copying mp2 or mpeg2video from a WTV file causes a failure - non
monotonically increasing dts to muxer
-------------------------------------+-------------------------------------
Reporter: ramitbhalla | Owner:
Type: defect | Status: open
Priority: normal | Component:
Version: git-master | undetermined
Keywords: wtv mp2 | Resolution:
mpeg2video | Blocked By:
av_interleaved_write_frame | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* status: new => open
* reproduced: 0 => 1
* priority: important => normal
* version: unspecified => git-master
* keywords: wtv mp2 av_interleaved_write_frame => wtv mp2 mpeg2video
av_interleaved_write_frame
Comment:
For future reports: It is a good idea if you provide complete, uncut
console output that actually matches the sample you upload.
If you believe this is a regression (that would make the ticket
important), please provide complete, uncut output for a working revision
(or find the change introducing the problem).
{{{
$ ffmpeg -i sample.wtv -vn -acodec copy out.avi
ffmpeg version N-37961-gf649247 Copyright (c) 2000-2012 the FFmpeg
developers
built on Feb 18 2012 00:14:32 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
libavutil 51. 39.100 / 51. 39.100
libavcodec 54. 3.100 / 54. 3.100
libavformat 54. 1.100 / 54. 1.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 62.101 / 2. 62.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
[mp2 @ 0x13fc0e0] Header missing
[mpeg2video @ 0x13e00a0] mpeg_decode_postinit() failure
Last message repeated 3 times
Input #0, wtv, from 'sample.wtv':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
Title : Tosh.0
WM/SubTitleDescription: ``Scarlet Takes a Tumble'' web redemption;
Terrell Owen's celebrity video.
genre : Comedy;General;Series
WM/OriginalReleaseTime: 0
WM/MediaCredits : ;;Daniel Tosh;
service_provider: COMEDY
service_name : Comedy Central
WM/MediaNetworkAffiliation: Satellite
WM/MediaOriginalChannel: 68
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 2009-06-25T04:00:00Z
WM/MediaOriginalRunTime: 14683466790
WM/MediaIsStereo: false
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-14
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2012-02-17 21:36:31
WM/WMRVSeriesUID: !MCSeries!01149630
WM/WMRVServiceID: !MCService!28455994
WM/WMRVProgramID: !MCProgram!214620429
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 3
WM/WMRVOriginalSoftPrePadding: 569
WM/WMRVOriginalSoftPostPadding: 120
WM/WMRVHardPrePadding: -509
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: false
WM/WMRVDTVContent: false
WM/WMRVHDContent: false
Duration : 22361279
WM/WMRVEndTime : 2012-02-17 21:36:33
WM/WMRVBitrate : 8.257536
WM/WMRVKeepUntil: 0
WM/WMRVActualSoftPrePadding: -1
WM/WMRVActualSoftPostPadding: -1346
WM/WMRVContentProtected: false
WM/WMRVContentProtectedPercent: 0
WM/WMRVExpirationDate: 9999-12-31 23:59:59
WM/WMRVExpirationSpan: 9223372036854775807
WM/WMRVInBandRatingSystem: 255
WM/WMRVInBandRatingLevel: 255
WM/WMRVInBandRatingAttributes: 0
WM/WMRVWatched : false
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/MediaThumbTimeStamp: -4616189618054758400
Duration: 00:00:01.00, start: 11.724668, bitrate: 10475 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, 34.97 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 'out.avi':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
INAM : Tosh.0
WM/SubTitleDescription: ``Scarlet Takes a Tumble'' web redemption;
Terrell Owen's celebrity video.
IGNR : Comedy;General;Series
WM/OriginalReleaseTime: 0
ILNG : en-us
WM/MediaCredits : ;;Daniel Tosh;
service_provider: COMEDY
service_name : Comedy Central
WM/MediaNetworkAffiliation: Satellite
WM/MediaOriginalChannel: 68
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 2009-06-25T04:00:00Z
WM/MediaOriginalRunTime: 14683466790
WM/MediaIsStereo: false
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-14
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2012-02-17 21:36:31
WM/WMRVSeriesUID: !MCSeries!01149630
WM/WMRVServiceID: !MCService!28455994
WM/WMRVProgramID: !MCProgram!214620429
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 3
WM/WMRVOriginalSoftPrePadding: 569
WM/WMRVOriginalSoftPostPadding: 120
WM/WMRVHardPrePadding: -509
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: false
WM/WMRVDTVContent: false
WM/WMRVHDContent: false
Duration : 22361279
WM/WMRVEndTime : 2012-02-17 21:36:33
WM/WMRVBitrate : 8.257536
WM/WMRVKeepUntil: 0
WM/WMRVActualSoftPrePadding: -1
WM/WMRVActualSoftPostPadding: -1346
WM/WMRVContentProtected: false
WM/WMRVContentProtectedPercent: 0
WM/WMRVExpirationDate: 9999-12-31 23:59:59
WM/WMRVExpirationSpan: 9223372036854775807
WM/WMRVInBandRatingSystem: 255
WM/WMRVInBandRatingLevel: 255
WM/WMRVInBandRatingAttributes: 0
WM/WMRVWatched : false
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/MediaThumbTimeStamp: -4616189618054758400
ISFT : Lavf54.1.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
DTS 2223905, next:252391 st:2 invalid droping
[avi @ 0x13fd440] pts < dts in stream 0
av_interleaved_write_frame(): Invalid argument
}}}
{{{
$ ffmpeg -i sample.wtv -an -vcodec copy out.avi
ffmpeg version N-37961-gf649247 Copyright (c) 2000-2012 the FFmpeg
developers
built on Feb 18 2012 00:14:32 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
libavutil 51. 39.100 / 51. 39.100
libavcodec 54. 3.100 / 54. 3.100
libavformat 54. 1.100 / 54. 1.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 62.101 / 2. 62.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
[mp2 @ 0x13fc0e0] Header missing
[mpeg2video @ 0x13e00a0] mpeg_decode_postinit() failure
Last message repeated 3 times
Input #0, wtv, from 'sample.wtv':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
Title : Tosh.0
WM/SubTitleDescription: ``Scarlet Takes a Tumble'' web redemption;
Terrell Owen's celebrity video.
genre : Comedy;General;Series
WM/OriginalReleaseTime: 0
WM/MediaCredits : ;;Daniel Tosh;
service_provider: COMEDY
service_name : Comedy Central
WM/MediaNetworkAffiliation: Satellite
WM/MediaOriginalChannel: 68
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 2009-06-25T04:00:00Z
WM/MediaOriginalRunTime: 14683466790
WM/MediaIsStereo: false
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-14
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2012-02-17 21:36:31
WM/WMRVSeriesUID: !MCSeries!01149630
WM/WMRVServiceID: !MCService!28455994
WM/WMRVProgramID: !MCProgram!214620429
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 3
WM/WMRVOriginalSoftPrePadding: 569
WM/WMRVOriginalSoftPostPadding: 120
WM/WMRVHardPrePadding: -509
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: false
WM/WMRVDTVContent: false
WM/WMRVHDContent: false
Duration : 22361279
WM/WMRVEndTime : 2012-02-17 21:36:33
WM/WMRVBitrate : 8.257536
WM/WMRVKeepUntil: 0
WM/WMRVActualSoftPrePadding: -1
WM/WMRVActualSoftPostPadding: -1346
WM/WMRVContentProtected: false
WM/WMRVContentProtectedPercent: 0
WM/WMRVExpirationDate: 9999-12-31 23:59:59
WM/WMRVExpirationSpan: 9223372036854775807
WM/WMRVInBandRatingSystem: 255
WM/WMRVInBandRatingLevel: 255
WM/WMRVInBandRatingAttributes: 0
WM/WMRVWatched : false
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/MediaThumbTimeStamp: -4616189618054758400
Duration: 00:00:01.00, start: 11.724668, bitrate: 10475 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, 34.97 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 'out.avi':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
INAM : Tosh.0
WM/SubTitleDescription: ``Scarlet Takes a Tumble'' web redemption;
Terrell Owen's celebrity video.
IGNR : Comedy;General;Series
WM/OriginalReleaseTime: 0
ILNG : en-us
WM/MediaCredits : ;;Daniel Tosh;
service_provider: COMEDY
service_name : Comedy Central
WM/MediaNetworkAffiliation: Satellite
WM/MediaOriginalChannel: 68
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 2009-06-25T04:00:00Z
WM/MediaOriginalRunTime: 14683466790
WM/MediaIsStereo: false
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-14
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2012-02-17 21:36:31
WM/WMRVSeriesUID: !MCSeries!01149630
WM/WMRVServiceID: !MCService!28455994
WM/WMRVProgramID: !MCProgram!214620429
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 3
WM/WMRVOriginalSoftPrePadding: 569
WM/WMRVOriginalSoftPostPadding: 120
WM/WMRVHardPrePadding: -509
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: false
WM/WMRVDTVContent: false
WM/WMRVHDContent: false
Duration : 22361279
WM/WMRVEndTime : 2012-02-17 21:36:33
WM/WMRVBitrate : 8.257536
WM/WMRVKeepUntil: 0
WM/WMRVActualSoftPrePadding: -1
WM/WMRVActualSoftPostPadding: -1346
WM/WMRVContentProtected: false
WM/WMRVContentProtectedPercent: 0
WM/WMRVExpirationDate: 9999-12-31 23:59:59
WM/WMRVExpirationSpan: 9223372036854775807
WM/WMRVInBandRatingSystem: 255
WM/WMRVInBandRatingLevel: 255
WM/WMRVInBandRatingAttributes: 0
WM/WMRVWatched : false
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/MediaThumbTimeStamp: -4616189618054758400
ISFT : Lavf54.1.100
Stream #0:0: Video: mpeg2video (mpg2 / 0x3267706D), yuv420p, 720x480
[SAR 8:9 DAR 4:3], q=2-31, 9000 kb/s, 34.97 fps, 59.94 tbn, 59.94 tbc
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Press [q] to stop, [?] for help
[avi @ 0x13fd440] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 10 >= 10
av_interleaved_write_frame(): Invalid argument
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1004#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list