[FFmpeg-trac] #8035(undetermined:closed): Issue with audio channel mapping
FFmpeg
trac at avcodec.org
Thu Jul 25 11:46:39 EEST 2019
#8035: Issue with audio channel mapping
-------------------------------------+-------------------------------------
Reporter: svihalekjan | Owner:
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution: invalid
Keywords: | Blocked By:
filter_complex amerge audio |
channel mapping |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by svihalekjan):
* status: new => closed
* resolution: => invalid
Comment:
My bad, {{{-af}}} was not producing any audio for me, because I was also
using mapping of video streams {{{-map 0:v}}} - in this case it is not
really necessary, but I will have to use the mapping in future for
different files.
With {{{-af}}} I was not able to mark the streams like [a] and then map
them like {{{-map "[a]"}}}. which is probably correct behavior.
However, I have found a way to use pan in filter_complex, which allows me
to map audio/video streams like I need.
This is what works for me at the end:
{{{
-filter_complex "[0:a:0][0:a:1]amerge=inputs=2,pan=7.1|c0=c0|c1=c1[a]"
-acodec pcm_s24le -map "[a]"
}}}
I cannot thank you enough Cigaes, your direction helped me a lot as I
completely omitted using pan filter functionality which is exactly what I
needed.
I am now closing this ticket as invalid as it is not really a bug, but my
incompetence :)
Thanks again!
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8035#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list