roozhou
9th May 2009, 10:55
I would like to use ffmpeg to mux video + audio to any container format i need but I found it having problem reading adts .aac files.
I use the following command line
ffmpeg -i xxx.aac -acodec copy xxx.mp4
The resulting mp4 is unplayable(except in mplayer). Mediainfo shows the mp4 has 128 channels and 7350Hz samplerate while my source is stereo @48kHz. I also tried mka and it gave me the same result (128 channels @7350Hz).
Then I tried first muxing aac to mp4 using mp4box and later muxing video + mp4 with ffmpeg. This time ffmpeg worked fine.
It seems ffmpeg has problem reading adts file. Is there any way to fix this?
I use the following command line
ffmpeg -i xxx.aac -acodec copy xxx.mp4
The resulting mp4 is unplayable(except in mplayer). Mediainfo shows the mp4 has 128 channels and 7350Hz samplerate while my source is stereo @48kHz. I also tried mka and it gave me the same result (128 channels @7350Hz).
Then I tried first muxing aac to mp4 using mp4box and later muxing video + mp4 with ffmpeg. This time ffmpeg worked fine.
It seems ffmpeg has problem reading adts file. Is there any way to fix this?