2 mono channels to 1 stereo channel

Questions and answers on how to get the most out of FFAStrans
Post Reply
sebird
Posts: 8
Joined: Thu Dec 14, 2017 11:18 am

2 mono channels to 1 stereo channel

Post by sebird »

Hello,

i'm trying to convert 2 mono channels (left-right) to one stereo channel. I tried some configurations with ChannelMapper without success... The solution is perhaps Avisynth but i can't manage it how i want... Actually i can have channel one on the left channel and channel two on rhight channel on output (with X264 coder). If i use Custom FFMpeg the sound is good but i have a frame problem on the video... Can you help me? Thank's in advance....
momocampo
Posts: 594
Joined: Thu Jun 08, 2017 12:36 pm
Location: France-Paris

Re: 2 mono channels to 1 stereo channel

Post by momocampo »

Hello,
I don't see where is your problem, if you want to encode in x264, create a h264 node and put 1 in "discrete track"s and 2 in "total channels" (FFASTRANS v 0.9.3) you will have 1 track with 2 channels.
Is this that you want?
Cheers.

Benjamin
sebird
Posts: 8
Joined: Thu Dec 14, 2017 11:18 am

Re: 2 mono channels to 1 stereo channel

Post by sebird »

Hello,
thank's for your answer. In fact i would mix channel 1 and channel 2 onto 1 stereo channel. Each channel on each side. With this configuration i have channel 1 on the left and channel 2 on the right.
admin
Site Admin
Posts: 1680
Joined: Sat Feb 08, 2014 10:39 pm

Re: 2 mono channels to 1 stereo channel

Post by admin »

Hi sebird,

I'm a bit confused about what the issue here is. Do you want to mix the channels and thus create dual mono (same on L and R)? By nature FFAStrans will distribute channels as is to the layout specified on the encoder. So under normal stereo scenarios you will have mono channel 1 -> L and mono channel 2 -> R. Is this not what you want?

-steinar
sebird
Posts: 8
Joined: Thu Dec 14, 2017 11:18 am

Re: 2 mono channels to 1 stereo channel

Post by sebird »

Hello,
thank's for your answer!
Yes i want to mix the channels and make dual mono. In the H264 coder layout i can use only 1X2. If i choose 2X1 or other one it stay at 1X2 after save...
emcodem
Posts: 1749
Joined: Wed Sep 19, 2018 8:11 am

Re: 2 mono channels to 1 stereo channel

Post by emcodem »

Hi sebird,

what i do to get 2 mono tracks (each one channel of course) to map to one output stereo track is just to add this options to the custom ffmpeg:
-map 0 -map 1 -map 2

As the default output for mp4 h264 is one stereo track, i do not need to specify more than that.

What you mean by: "If i use Custom FFMpeg the sound is good but i have a frame problem on the video."
emcodem, wrapping since 2009 you got the rhyme?
admin
Site Admin
Posts: 1680
Joined: Sat Feb 08, 2014 10:39 pm

Re: 2 mono channels to 1 stereo channel

Post by admin »

Ok, so the problem here is the mixing. Currently, FFAStrans does not have any inbuilt mixing capability so for now you will need to sort that out with a custom avisynth script or custom ffmpeg node. If you have tried any of those please share what you have tried.

Also, please update your FFAStrans. The "streams X channels"-method was changed in the latest 0.9.3 version.

-steinar
Post Reply