#1004: Stream copying Audio from a WTV file causes a failure - non monotonically increasing dts to muxer -------------------------------------+------------------------------------- Reporter: ramitbhalla | Type: defect Status: new | Priority: important Component: | Version: undetermined | unspecified Keywords: wtv non | Blocked By: monotonically increasing dts | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- When I try to stream copy the audio from a wtv (tried many different types of wtv recordings, all give the same error) directly into any other format I get an error:
COMMAND: -------- ffmpeg -i CSI.264 -i csi.wtv -c copy -map 0:0 -map 1:2 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 [h264 @ 003D9EA0] Increasing reorder buffer to 1 [h264 @ 003D9620] max_analyze_duration 5000000 reached at 5005000 [h264 @ 003D9620] Estimating duration from bitrate, this may be inaccurate Input #0, h264, from 'CSI.264': Duration: N/A, bitrate: N/A Stream #0:0: Video: h264 (Main), yuv420p, 720x480 [SAR 10:11 DAR 15:11], 29.97 fps, 29.97 tbr, 1200k tbn, 59.94 tbc [mp2 @ 036349A0] Header missing [mpeg2video @ 03BADC20] mpeg_decode_postinit() failure Last message repeated 7 times Input #1, 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 #1:0[0x11]: Subtitle: dvb_teletext Stream #1: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 #1:2[0x13]: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16, 384 kb/s Output #0, avi, to 'csi.avi': Metadata: ISFT : Lavf54.0.100 Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 720x480 [SAR 10:11 DAR 15:11], q=2-31, 29.97 fps, 59.94 tbn, 59.94 tbc Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, 384 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #1:2 -> #0:1 (copy) Press [q] to stop, [?] for help [avi @ 0325E940] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 10 >= 9 av_interleaved_write_frame(): Invalid argument -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1004> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac