[FFmpeg-trac] #954(undetermined:new): non monotonically increasing dts error while remuxing wtv
FFmpeg
trac at avcodec.org
Mon Jan 30 00:41:15 CET 2012
#954: non monotonically increasing dts error while remuxing wtv
-------------------------------------+-------------------------------------
Reporter: omasoud | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: wtv | Blocked By:
monotonically transport stream | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
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
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/954>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list