FFMPEG- Duration of audio file is inaccurate

前端 未结 1 1834
没有蜡笔的小新
没有蜡笔的小新 2021-01-25 07:24

I have video file (mp4). I want to detach audio stream (AAC format) from that file and save in PC. With below code, Generated aac file canplay now on KM player, but can not pla

1条回答
  •  不思量自难忘°
    2021-01-25 07:51

    Object type and sample rate index must be set to the real, correct values. Both values can be parsed out of the audio specific config in the extradata field in the codec context. All the information you need is here: http://wiki.multimedia.cx/index.php?title=MPEG-4_Audio

    0 讨论(0)
提交回复
热议问题