Page 1 of 1

Wrong audio track played...

PostPosted: Sun Jun 02, 2013 2:45 pm
by thenamelessthing
Hi! I have see in 1.2.1 that when I play a mkv file hich contain 2 audio track (ex: #1 eng and #2 fre) It always play the #1 track. but I want to use the french audio. How can I proceed?


Thanks you

Re: Wrong audio track played...

PostPosted: Mon Jun 03, 2013 12:24 am
by atc98092
I had this issue with some of the rips I did, and it was caused by my ripping software changing the default audio track assignment. However, once I began using MakeMKV, it's never happened again. Your issue is the non-English track is not the #1 track, and Serviio will only stream the first track.

Depending on what you use to play the video, you may be able to select different audio tracks, assuming there's more than one embedded in the file. My Sony SNP-N200 boxes allow this, but my Panasonic TV does not, and I tried a Panasonic BD player once and it could not either. Can't remember the remote buttons for the BD player, but perhaps there's one that allows changing options on the video being played, and with luck the audio track might be one option.

You do have one other option. Use something like Handbrake and remux the file with only the audio track you desire. Takes several hours to do a file, but that would give you the audio track you want.

Re: Wrong audio track played...

PostPosted: Mon Jun 03, 2013 1:48 am
by thenamelessthing
Actually, I think the panasonic profile is not optimized really to work fine with some panasonic option. I far as I know, almost everything is transcoded and servvio is not able to "talk correctly" with panasonic device.

On the panasonic remote, I have button for select subtitle, audio, etc. But serviio doesn't handle them. I don't know if this can be fixed, but if Serviio dev's need a volunteer. I'm the right person!

Actually, like you said. I use mkvmerge and changing manually the #1 audio track for the french audio and it work fine. But it's a little bit "pain in the ass" to do this to every file I download...

Re: Wrong audio track played...

PostPosted: Mon Jun 03, 2013 5:50 am
by DenyAll
There is already a request for this in the development pipeline - see https://bitbucket.org/xnejp03/serviio/i ... ection-for. You may wish to track that development.

Of the three file types I tend to use (mkv's, mp4's and AVI's) my Pana only really handles AVI's natively (but some Panasonics don't even do that). Fortunately all others can be generally handled by remuxing and some audio transcoding, rather than having to transcode the video.

Re: Wrong audio track played...

PostPosted: Mon Jun 03, 2013 4:26 pm
by zip
It'd work if the file was not transcoded. Try to play the file via Generic profile to see if it works.

Re: Wrong audio track played...

PostPosted: Tue Jun 04, 2013 9:37 am
by Illico
But for files thatare transcoded, you have to implement transcoding for all audio track to the same aTarget format (multiple resources) with device that support audio switching on M2TS, then you can also use transwrapping feature to always set preferred language at first track for device that does not support audio switching. (On library you have to store all audio track informations...)

Re: Wrong audio track played...

PostPosted: Fri Jun 07, 2013 11:45 am
by thenamelessthing
I have tried with generic profil and I can select audio when transcoding is not used. This doesn't work with the Panasonic profil.. :'(

Re: Wrong audio track played...

PostPosted: Fri Jun 07, 2013 12:54 pm
by DenyAll
I have tried with generic profil and I can select audio when transcoding is not used. This doesn't work with the Panasonic profil.. :'(

If the file can be played using the generic profile with audio selection available, why not simply edit the panasonic profile you are using to remove transcoding for that file type. I note you have two panasonic devices - are they both using the same profile? What file type are we talking about? Does it play natively on both devices?