[FFmpeg-trac] #2159(undetermined:closed): FFMPEG not consistently identifying audio tracks and selects audio track with no data

FFmpeg trac at avcodec.org
Sun Jan 20 17:25:20 CET 2013


#2159: FFMPEG not consistently identifying audio tracks and selects audio track
with no data
-------------------------------------+-------------------------------------
             Reporter:  ramitbhalla  |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  wtv          |               Resolution:
             Blocking:               |  worksforme
Analyzed by developer:  0            |               Blocked By:
                                     |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => wtv
 * status:  reopened => closed
 * resolution:   => worksforme


Comment:

 Replying to [ticket:2159 ramitbhalla]:
 > {{{
 > [wtv @ 021dc640] Could not find codec parameters for stream 0 (Audio:
 mp2 (P[0][0][0] / 0x0050), 48000 Hz, 2 channels, s
 > 16p, 256 kb/s): unspecified frame size
 > Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 > }}}

 Sorry, I slightly misread the ticket yesterday.
 Again, please feel free to reopen the ticket if you believe that above
 message is unclear!
 Stream 0x75 is indeed a mono stream but FFmpeg correctly warns that it may
 have incorrectly read the stream properties.
 The following command line allows to correctly detect the mono stream (and
 allows the automatic stream selection for -acodec copy to choose the
 channel that you seem to prefer in your output file for this specific
 input file).
 {{{
 $ ffmpeg -probesize 100M -analyzeduration 250M -i The\ Adventures\ of\
 Abney\ and\ Teal_CBeebies_2013_01_03_17_55_00.wtv
 ffmpeg version N-49055-g60af6c3 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jan 20 2013 15:48:14 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack
   libavutil      52. 15.100 / 52. 15.100
   libavcodec     54. 89.100 / 54. 89.100
   libavformat    54. 61.101 / 54. 61.101
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 32.101 /  3. 32.101
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [wtv @ 0x21136e0] truncated file
     Last message repeated 2 times
 [mpeg2video @ 0x2118ba0] 0x0 is invalid
     Last message repeated 18 times
 Input #0, wtv, from 'The Adventures of Abney and
 Teal_CBeebies_2013_01_03_17_55_00.wtv':
   Metadata:
     WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
     WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
     Title           : The Adventures of Abney and Teal
     WM/SubTitleDescription: CBeebies Bedtime Hour. The Mystery: Animated
 adventures of two friends who live on an island in the middle of the big
 city. Some of Abney and Teal's favourite objects are missing. [S]
     genre           : Kids;Other Kids
     WM/OriginalReleaseTime: 0
     WM/MediaCredits : ;;;
     service_provider: CBeebies
     service_name    : CBeebies
     WM/MediaNetworkAffiliation: CBeebies
     WM/MediaOriginalChannel: 71
     WM/MediaOriginalChannelSubNumber: 0
     WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
     WM/MediaOriginalRunTime: 11978229000
     WM/MediaIsStereo: false
     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   : false
     WM/MediaIsSport : false
     WM/Provider     : MediaCenterDefault
     WM/VideoClosedCaptioning: false
     WM/WMRVEncodeTime: 2013-01-03 17:55:02
     WM/WMRVSeriesUID: !GenericSeries!The Adventures of Abney and Teal
     WM/WMRVServiceID: !Generated!ced17fb0888747b0b0b5a81bea9a64c8
     WM/WMRVProgramID: !Loaders!Glid!Programs!9018:4163:4672!53777
     WM/WMRVRequestID: 0
     WM/WMRVScheduleItemID: 0
     WM/WMRVQuality  : 0
     WM/WMRVOriginalSoftPrePadding: 420
     WM/WMRVOriginalSoftPostPadding: 300
     WM/WMRVHardPrePadding: -120
     WM/WMRVHardPostPadding: 0
     WM/WMRVATSCContent: false
     WM/WMRVDTVContent: true
     WM/WMRVHDContent: false
     Duration        : 12375986000
     WM/WMRVEndTime  : 2013-01-03 18:15:39
     WM/WMRVBitrate  : 5.320834
     WM/WMRVKeepUntil: 0
     WM/WMRVActualSoftPrePadding: 425
     WM/WMRVActualSoftPostPadding: 300
     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: 352
     WM/MediaThumbHeight: 281
     WM/MediaThumbStride: 1056
     WM/MediaThumbRet: 0
     WM/MediaThumbRatingSystem: 255
     WM/MediaThumbRatingLevel: 255
     WM/MediaThumbRatingAttributes: 0
     WM/MediaThumbAspectRatioX: 16
     WM/MediaThumbAspectRatioY: 9
     WM/MediaThumbTimeStamp: 4649100181723190918
   Duration: 00:24:41.11, start: 2.006284, bitrate: 4446 kb/s
     Stream #0:0[0x75](eng): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz,
 mono, s16p, 64 kb/s (hearing impaired)
     Stream #0:1[0x76]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR
 64:45 DAR 16:9], 25 fps, 25 tbr, 10000k tbn, 50 tbc
     Stream #0:2[0x77](eng): Subtitle: dvb_subtitle
     Stream #0:3[0x79](eng): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz,
 stereo, s16p, 256 kb/s
 At least one output file must be specified
 }}}

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


More information about the FFmpeg-trac mailing list