dual audio for videos?

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

dual audio for videos?

Postby veoeluz » Thu Feb 23, 2012 5:00 am

Just curious - I've got multiple audio tracks on some of my videos and was wondering if there would be a way to make that an option for the video I'm playing through subsonic. It would be awesome if that were possible.

Or does anyone know how to do this already?

Thanks! I love subsonic! It's awesome!
veoeluz
 
Posts: 2
Joined: Thu Feb 23, 2012 4:58 am

Re: dual audio for videos?

Postby Whitechaos » Thu Feb 23, 2012 3:10 pm

http://howto-pages.org/ffmpeg/#map
There you go, it's easy.
Just give ffmpeg the right audio stream with e.g. -map 0:2, would use the second audiotrack if there is one, otherwise it just errors.
But the hard part is to make a surface for this for subsonic. You will have to implement something that checks how many tracks are on the video and a button or something for choosing.
Then give the audio track a variable for the ffmpeg like "-map %a".
Tell me if it worked, I am too busy to do it.
I already requested this feature and I think it will be implemented in the next version...
Whitechaos
 
Posts: 5
Joined: Sat Jan 14, 2012 2:14 pm

Re: dual audio for videos?

Postby veoeluz » Fri Feb 24, 2012 12:02 am

that's awesome. It'd be great if he implemented it in the next go around. If he does, i'll donate again :P

I'm afraid that may be beyond my technical expertise. I'd rather not mess things up, because it works at the moment XD

Thanks for that resource, though.. I"ll take a closer look at it when I get the chance to really figure out what i'm doing with it.
veoeluz
 
Posts: 2
Joined: Thu Feb 23, 2012 4:58 am


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 2 guests