[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 04:51:09 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:               |               Resolution:
             Blocking:               |  worksforme
Analyzed by developer:  0            |               Blocked By:
                                     |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by ramitbhalla):

 Am reopening the ticket, if there is an audio track with no audio / 0
 channels it should NOT report it as stereo, it should report it as 0
 channels:

     Stream #0:0[0x75](eng): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz,
 stereo, s16p, 256 kb/s (hearing impaired)

 You've given a "work around" by using the map function. The issue is when
 applications are parsing the output of ffmpeg they are expecting it to
 have a stereo audio track when actually there isn't one it messes
 everything up.

 The right output should be a 0 channel audio track like it gives it after
 remuxing to the TS format.

 Also, if there are no audio channels detected, FFMPEG should NOT select
 the audio track when using the -acodec copy paramater (without the map
 workaround)

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


More information about the FFmpeg-trac mailing list