[FFmpeg-trac] #584(avformat:new): WTV MUX generates malformed files

FFmpeg trac at avcodec.org
Mon Oct 24 07:53:29 CEST 2011


#584: WTV MUX generates malformed files
----------------------------------+---------------------------------------
             Reporter:  ianken    |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avformat  |                  Version:  unspecified
             Keywords:  wtv,mux   |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 re-muxing from one WTV file to another results in unplayable WTV file...

 d:\Convert\BIN\FFMPEG32\bin>ffmpeg -threads 6 -i "test2.wtv" -sn -vcodec
 copy -acodec copy "test.wtv"
 ffmpeg version N-33818-gd049257, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Oct 19 2011 22:57:39 with gcc 4.6.1
   configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect
 --ena
 ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb
 --enable-
 libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame
 --ena
 ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-
 libspeex --en
 able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis
 --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
 --enable-zlib

   libavutil    51. 22. 0 / 51. 22. 0
   libavcodec   53. 22. 0 / 53. 22. 0
   libavformat  53. 17. 0 / 53. 17. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 44. 1 /  2. 44. 1
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [wtv @ 01B889C0] unsupported chunk:f71002b9ee7ced4ebd7f0540358618a1
 [wtv @ 01B889C0] parser not found for codec dvb_teletext, packets or times
 may b
 e invalid.
 [mpeg2video @ 01A97180] mpeg_decode_postinit() failure
     Last message repeated 12 times

 Seems stream 2 codec frame rate differs from container frame rate: 119.88
 (12000
 0/1001) -> 59.17 (355/6)
 Input #0, wtv, from 'test2.wtv':
   Metadata:
     WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74b
     WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000e
     Title           : Dinosaur Big City
     WM/SubTitleDescription: Buddy and his family go to the city for the
 Theropod
  Club Convention.
     genre           : Special;Other
     WM/OriginalReleaseTime: 0
     WM/MediaCredits : ;;;
     service_provider: KCTSDT
     service_name    : KCTSDT (KCTS-DT)
     WM/MediaNetworkAffiliation: PBS Affiliate
     WM/MediaOriginalChannel: 509
     WM/MediaOriginalChannelSubNumber: 0
     WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
     WM/MediaOriginalRunTime: 38967188000
     WM/MediaIsStereo: 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   : true
     WM/MediaIsSport : false
     WM/ParentalRating: TV-Y
     WM/Provider     : MediaCenterDefault
     WM/VideoClosedCaptioning: true
     WM/WMRVEncodeTime: 2011-08-27 14:58:03
     WM/WMRVSeriesUID: !GenericSeries!Dinosaur Big City
     WM/WMRVServiceID: !MCService!28458100
     WM/WMRVProgramID: !MCProgram!262554684
     WM/WMRVRequestID: 0
     WM/WMRVScheduleItemID: 0
     WM/WMRVQuality  : 0
     WM/WMRVOriginalSoftPrePadding: 420
     WM/WMRVOriginalSoftPostPadding: 180
     WM/WMRVHardPrePadding: -300
     WM/WMRVHardPostPadding: 0
     WM/WMRVATSCContent: true
     WM/WMRVDTVContent: true
     WM/WMRVHDContent: true
     WM/MediaThumbWidth: 352
     WM/MediaThumbHeight: 198
     WM/MediaThumbStride: 1056
     WM/MediaThumbRet: 0
     WM/MediaThumbRatingSystem: 9
     WM/MediaThumbRatingLevel: 2
     WM/MediaThumbRatingAttributes: 0
     WM/MediaThumbAspectRatioX: 16
     WM/MediaThumbAspectRatioY: 9
     WM/MediaThumbTimeStamp: 4646639520060800336
     WM/MediaThumbType: 3
     Duration        : 38991400000
     WM/WMRVEndTime  : 2011-08-27 16:03:02
     WM/WMRVBitrate  : 11.647139
     WM/WMRVKeepUntil: -1
     WM/WMRVActualSoftPrePadding: 416
     WM/WMRVActualSoftPostPadding: 182
     WM/WMRVContentProtected: false
     WM/WMRVContentProtectedPercent: 0
     WM/WMRVExpirationSpan: 9223372036854775807
     WM/WMRVInBandRatingSystem: 255
     WM/WMRVInBandRatingLevel: 255
     WM/WMRVInBandRatingAttributes: 0
     WM/WMRVWatched  : true
   Duration: 01:04:47.33, start: 12.485306, bitrate: 11682 kb/s
     Stream #0:0[0x26]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
     Stream #0:1[0x27]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
     Stream #0:2[0x28]: Video: mpeg2video (Main), yuv420p, 1280x720 [SAR
 1:1 DAR
 16:9], 19392 kb/s, 133.20 fps, 59.17 tbr, 10000k tbn, 119.88 tbc
     Stream #0:3[0x29]: Subtitle: dvb_teletext
     Stream #0:4[0x0]: Attachment: mjpeg
     Metadata:
       title           : TV Thumbnail
 File 'test.wtv' already exists. Overwrite ? [y/N] y
 Output #0, wtv, to 'test.wtv':
   Metadata:
     WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74b
     WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000e
     Title           : Dinosaur Big City
     WM/SubTitleDescription: Buddy and his family go to the city for the
 Theropod
  Club Convention.
     genre           : Special;Other
     WM/OriginalReleaseTime: 0
     WM/MediaCredits : ;;;
     service_provider: KCTSDT
     service_name    : KCTSDT (KCTS-DT)
     WM/MediaNetworkAffiliation: PBS Affiliate
     WM/MediaOriginalChannel: 509
     WM/MediaOriginalChannelSubNumber: 0
     WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
     WM/MediaOriginalRunTime: 38967188000
     WM/MediaIsStereo: 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   : true
     WM/MediaIsSport : false
     WM/ParentalRating: TV-Y
     WM/Provider     : MediaCenterDefault
     WM/VideoClosedCaptioning: true
     WM/WMRVEncodeTime: 2011-08-27 14:58:03
     WM/WMRVSeriesUID: !GenericSeries!Dinosaur Big City
     WM/WMRVServiceID: !MCService!28458100
     WM/WMRVProgramID: !MCProgram!262554684
     WM/WMRVRequestID: 0
     WM/WMRVScheduleItemID: 0
     WM/WMRVQuality  : 0
     WM/WMRVOriginalSoftPrePadding: 420
     WM/WMRVOriginalSoftPostPadding: 180
     WM/WMRVHardPrePadding: -300
     WM/WMRVHardPostPadding: 0
     WM/WMRVATSCContent: true
     WM/WMRVDTVContent: true
     WM/WMRVHDContent: true
     WM/MediaThumbWidth: 352
     WM/MediaThumbHeight: 198
     WM/MediaThumbStride: 1056
     WM/MediaThumbRet: 0
     WM/MediaThumbRatingSystem: 9
     WM/MediaThumbRatingLevel: 2
     WM/MediaThumbRatingAttributes: 0
     WM/MediaThumbAspectRatioX: 16
     WM/MediaThumbAspectRatioY: 9
     WM/MediaThumbTimeStamp: 4646639520060800336
     WM/MediaThumbType: 3
     Duration        : 38991400000
     WM/WMRVEndTime  : 2011-08-27 16:03:02
     WM/WMRVBitrate  : 11.647139
     WM/WMRVKeepUntil: -1
     WM/WMRVActualSoftPrePadding: 416
     WM/WMRVActualSoftPostPadding: 182
     WM/WMRVContentProtected: false
     WM/WMRVContentProtectedPercent: 0
     WM/WMRVExpirationSpan: 9223372036854775807
     WM/WMRVInBandRatingSystem: 255
     WM/WMRVInBandRatingLevel: 255
     WM/WMRVInBandRatingAttributes: 0
     WM/WMRVWatched  : true
     encoder         : Lavf53.17.0
     Stream #0:0: Video: mpeg2video (mpg2 / 0x3267706D), yuv420p, 1280x720
 [SAR 1
 :1 DAR 16:9], q=2-31, 19392 kb/s, 10000k tbn, 59.94 tbc
     Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side),
 384 kb/s

 Stream mapping:
   Stream #0.2 -> #0.0 (copy)
   Stream #0.0 -> #0.1 (copy)
 Press [q] to stop, [?] for help
 frame= 9114 fps=  0 q=-1.0 size=  207411kB time=00:02:32.16
 bitrate=11166.6kbits
 frame=19052 fps=19051 q=-1.0 size=  431091kB time=00:05:17.92
 bitrate=11108.1kbi
 ...delete...
 frame=232981 fps=8760 q=-1.0 Lsize= 5380214kB time=01:04:46.97
 bitrate=11339.1kbits/s
 video:5155325kB audio:182202kB global headers:0kB muxing overhead
 0.799760%

-- 
Ticket URL: <http://ffmpeg.org/trac/ffmpeg/ticket/584>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list