[FFmpeg-trac] #5388(avformat:new): Audio Stream Specifier Need to Change for MP2 & MP3

FFmpeg trac at avcodec.org
Wed Mar 30 11:15:59 CEST 2016


#5388: Audio Stream Specifier Need to Change for MP2 & MP3
--------------------------------------+------------------------------------
             Reporter:  smallishzulu  |                    Owner:
                 Type:  defect        |                   Status:  new
             Priority:  normal        |                Component:  avformat
              Version:  git-master    |               Resolution:
             Keywords:  mpegts        |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+------------------------------------

Comment (by cehoyos):

 Replying to [comment:4 smallishzulu]:
 > ffmpeg -i input.ts -vcodec mpeg2video -vb 2500k -acodec mp2 -ab 128k
 -muxrate 3000k -f mpegts output.ts

 What is the audio input (and output) sample rate? If it is not below
 32kHz, the audio in this stream is MPEG-1 audio.

 > When you analyze the output with Dectek StreamXpert tool, it seems MPEG
 1 Audio.

 Which is correct: AV_CODEC_ID_MP2 is MPEG-1 Layer II Audio, see for
 example https://en.wikipedia.org/wiki/MPEG-1_Audio_Layer_II

 > However, codec is MP2.

 The audio codec known as MP2 was defined in MPEG-1.

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


More information about the FFmpeg-trac mailing list