[FFmpeg-user] MP4 h264 video: convert left/right audio channels to seperate audio tracks

Tim Nicholson tim.nicholson at bbc.co.uk
Thu Feb 9 09:40:01 CET 2012


On 07/02/12 22:36, Trépanier,Jason wrote:
> I have several terabytes of videos in MP4 h264 and unfortunately they are encoded in a strange way.
>
>
>
> Example:
>
> Video track
>
> Audio track 1: Left channel is English
>
> Audio track 1: Right channel is French
>
> Audio track 2: Left channel is Spanish
>
> Audio track 2: Right channel is empty
>
>
>
> Would it be possible by some miracle to extract the left/right channels and convert them to Separate tracks?
>
>
>
> Example:
>
> Video track
>
> Audio track 1: left/right English
>
> Audio track 2: left/right French
>
> Audio track 3: left/right Spanish
>

It is possible, yes. However without knowing the exact current 
stream/channel layout as reported by ffprobe it is difficult to provide 
more detail.

See. http://ffmpeg.org/ffmpeg.html#amerge


-- 
Tim


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					


More information about the ffmpeg-user mailing list