[FFmpeg-user] channelsplit seems to mute one channel

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Apr 16 11:07:29 CEST 2013


Owen Jones <asorti6 <at> gmail.com> writes:

> On 13 Apr 2013, at 08:16, Carl Eugen Hoyos wrote:
> 
> > The reason is that FFmpeg only marks the first 
> > audio track as default.

> Is there any possibility of a fix or a way around this?

You can either revert 981cf0c or search for the 
line "avio_wb24(pb, track->secondary ? 0x2 : 0xf);" 
in libavformat/movenc.c and make is always write 
"0xF" or - ideally - as a temporary workaround, 
you add a new flag to movenc.c to force all 
tracks as primary: See the "AVOption"s on top of 
the file and MOVMuxContext in libavformat/movenc.h 
(and don't forget to send the result to 
ffmpeg-devel).

Carl Eugen



More information about the ffmpeg-user mailing list