[FFmpeg-trac] #2110(undetermined:closed): Mov file when used with FFMPEG loses audio all together while track is there
FFmpeg
trac at avcodec.org
Sat Jan 5 16:21:16 CET 2013
#2110: Mov file when used with FFMPEG loses audio all together while track is
there
-------------------------------------+-------------------------------------
Reporter: vkroutik | Owner:
Type: defect | Status: closed
Priority: normal | Component:
Version: git-master | undetermined
Keywords: mov | Resolution:
Blocking: | worksforme
Analyzed by developer: 0 | Blocked By:
| Reproduced by developer: 0
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* keywords: => mov
* resolution: => worksforme
* status: new => closed
* component: FFmpeg => undetermined
Comment:
Your sample contains an unusual channel layout, afaict it contains no
information how the audio channels should be interpreted;-(
FFmpeg by default chooses the audio channel with the highest bit-rate,
generally this is not a bad idea, but does not work for your sample.
The following commands work fine here:
{{{
$ ffmpeg -i TorgashiShort.mov -vcodec copy -acodec copy -map 0 -dn out.mov
$ ffmpeg -i TorgashiShort.mov -vcodec copy -acodec copy -map 0:0 -map 0:1
-map 0:2 out.mov
}}}
I guess the following is what most people would actually want:
{{{
$ ffmpeg -i TorgashiShort.mov -vcodec copy -filter_complex amerge -acodec
pcm_s24le out.mov
}}}
The following simple command produces an output file with audio, but is
probably not what you want (assuming the original sample does not contain
two independent mono streams, but a stereo stream encoded as two singe-
channel streams):
{{{
$ ffmpeg -i TorgashiShort.mov -vcodec copy -acodec copy -map 0:0 -map 0:1
out.mov
}}}
If you have any indication that I am wrong and that the file does contain
information on how the audio channels should be interpreted, please
elaborate!
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2110#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list