[FIXED] Can MEncoder or FFMpeg Search Audio Channels?

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

[FIXED] Can MEncoder or FFMpeg Search Audio Channels?

Post by DeFlanko »

Say i have a movie with multipule embedded audio tracks, can i get MEncoder or FFMpeg to search and use a specific track based on its type?

My use is that i need to always USE the 2 Channel track instead of the 5.1

(its for handheld devices)

what im looking for:
Image

Is it possible to have either to find that track to use befor downmixing the 5.1?

My main issue is that if i use 5.1 on some movies for what ever reason all main audio comes out of the Left channel.
Last edited by DeFlanko on Mon Sep 09, 2013 1:15 pm, edited 1 time in total.
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: Can MEncoder or FFMpeg Search Audio Channels?

Post by DeFlanko »

Other wise i'm trying to do something like this: (which isant working..)

Code: Select all

-channels 6 -af pan=2:1:0:0:1:1:0:0:1:1:1:1:1 lavcresample=48000,hrtf \
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: Can MEncoder or FFMpeg Search Audio Channels?

Post by DeFlanko »

WELL with a little help from dolby labs (google power!)
i was able to find a FORSURE test video for surroundsound.

http://www.dolby.com/us/en/consumer/tec ... nload.html

Downloaded the MP4 Large DOWNLOAD

This for sure ill be using for testing going forward.

Also confirmed my setup for Headphones!

Code: Select all

-channels 6 -af pan=2:1:0:0:1:1:0:0:1:1:1:1:1 lavcresample=48000
"all lefts go to left all rights go to right, center in both, sub in both.
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: [FIXED] Can MEncoder or FFMpeg Search Audio Channels?

Post by ExSport »

Manually from TRANSCODE folder you can select the right one but automatically it is not possible.
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: [FIXED] Can MEncoder or FFMpeg Search Audio Channels?

Post by DeFlanko »

yeah that's what i thought ExSport... so i just took the 5.1 and down-mixed it to 2 channel in the CONF... i had to read a lot of FFMpeg and Mencoder pages to find it lol
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: [FIXED] Can MEncoder or FFMpeg Search Audio Channels?

Post by ExSport »

When you will browse to ##TRANSCODE## folder, you are able to play your 2.0 file without transcoding and reading anything ;)
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: [FIXED] Can MEncoder or FFMpeg Search Audio Channels?

Post by DeFlanko »

I tried some of the preconfig'd ##transcode## options some of them gave me a "video could not be played" on my device.
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: [FIXED] Can MEncoder or FFMpeg Search Audio Channels?

Post by ExSport »

Then debug.log in trace mode will help with description what you did and what didn't worked (for better understanding and searching in log) 8-)
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: [FIXED] Can MEncoder or FFMpeg Search Audio Channels?

Post by DeFlanko »

Image
Post Reply