[FFmpeg-trac] #3311(undetermined:new): av_find_best_stream returns an invalid audio stream
FFmpeg
trac at avcodec.org
Wed Jan 15 23:40:23 CET 2014
#3311: av_find_best_stream returns an invalid audio stream
-------------------------------------+-------------------------------------
Reporter: hxuanyu | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
In the attached file there are 2 audio streams
Stream #0:0[0x200]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv), 720x480 [SAR 32:27 DAR 16:9], max. 9000 kb/s, 29.97 fps,
29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x201]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv, bt709), 352x240 [SAR 40:33 DAR 16:9], max. 300 kb/s, 29.97
fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:2[0x210]: Audio: aac ([15][0][0][0] / 0x000F), 0 channels,
fltp, 149 kb/s
Stream #0:3[0x212]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz,
mono, fltp, 75 kb/s
Stream #0:4[0x230]: Unknown: none ([6][0][0][0] / 0x0006)
Stream #0:5[0x140]: Unknown: none ([13][0][0][0] / 0x000D)
Stream #0:6[0x158]: Unknown: none ([13][0][0][0] / 0x000D)
but av_find_best_stream returns #0:2 which outputs just silence (because
of 0 channel?) instead of the valid stream #0:3.
This can be reproduce by playing the file with ffplay.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3311>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list