PDA

View Full Version : Switch MKV audio streams / subtiles tracks?


katana
2004-03-16, 11:11
i have .mkv video files with dual audio and embedded subtitles.

are these features already supported by xbmc ?

i tried switching the audio stream, without any result, and tried enabling the subtitles, without any result as well.

katana
2004-03-16, 16:43
i'm using a 7 days old build, 2004-03-09.

guess i'll have to compile it myself... or wait ???

thanks

silentyl
2004-03-18, 15:18
im using the 2004-3-9 build too

i have a divx file(not sure what audio format its in) and i get the osd up ..i see that there is a stream1 and stream2 ..

when i move the remote up, left, right=nothing happens
down=highlights stream1 and immediately plays it

cant get to stream2.....plz help!

silentyl
2004-03-19, 03:23
hmm the latest cvs code has fixed the divx dual stream problem ...i can now see both streams and select between them...pauses slightly..coz im over a network...but its great!

i have an mkv file with 2 audio streams but the second stream does not even appear in the osd..doh!

im using a 12-3-2004 build

Vortex
2004-03-21, 08:09
i have an mkv with two streams and also only see one in the osd - what can i do to hear the other one? switch to an older build?

katana
2004-03-21, 12:51
same problem here.

i still have my mkv files, and even with a 03-16 build, i am still unable to see the 2nd audio stream from the osd.

and i can't display the embedded subtitles.

so looks like it's fixed for divx, but not working for mkv... ???

raydevos
2004-03-31, 01:50
i also have that problem, does anyone know if this is in mplayer or in xbmc?

if mplayer, any information about mkv support?

deltop
2004-03-31, 02:26
mplayer copes with multiple audio and sub streams in mkv's no problem.

however support for this feature needs to be specifically coded into xbmc by one of the devs (even audio switching has never been implemented for mkv's).

hopefully we'll see support for this soon. i know i'm desperately waiting for it :)

raydevos
2004-04-06, 00:48
this is not a feature suggestion! this is a bug report!

i've just check with the 12 feb release and multi audio/multi subtitles were working... while they are no more with the 9 march.

could someone who compile him self xbmc say me if it is now corrected. otherwise we should introduce this in bug report.

deltop
2004-04-06, 16:56
this is not a feature suggestion! this is a bug report!

i've just check with the 12 feb release and multi audio/multi subtitles were working... while they are no more with the 9 march.

could someone who compile him self xbmc say me if it is now corrected. otherwise we should introduce this in bug report.
please take the time to read threads properly.

this post concerns matroska files, not avi or ogm containers.

are you saying that in the 12th feb build multiple audio/sub streams work fine for matroska files?

afaik support for this has never been implemented at any stage. however i'll check out the build from the 12 feb to make sure. i compile myself by the way.

also the build from the 9th march is way way out of date now. audio switching in general for ogm and avi files has been fixed and broken again and fixed again since then in cvs. as of today it's working fine.

elupus
2004-04-07, 00:09
there is no support for switching tracks (subs/audio) on mkv files at the moment, i'm trying to dig through the code to get it to work, but mplayers code is not very easy to tap into.

regards
elupus

silentyl
2004-04-08, 08:27
thanks dude...we all really appreciate the hard work u guys put in...
when this is done there will be lots of happy anime fans out there :)

deltop
2004-04-09, 02:41
great to hear that someone's working on this.

thanks elupus. it'll make many people very happy :d

jpsdr
2004-05-05, 10:59
hello.

i've mkv files wich have 2 audios and subtitle, but, in xbmc,
only one audio is see, and no subtitles are displayed.

Gamester17
2004-05-05, 14:30
i've mkv files wich have 2 audios and subtitle, but, in xbmc,
only one audio is see, and no subtitles are displayed.
no, it's not a bug, it's to implemented/coded yet so no wonder you can't do it http://www.xboxmediaplayer.de/forums/non-cgi/emoticons/tounge.gif (ps! i merged your thread into exising feature request)

DsNchNtD
2004-05-06, 05:57
is better matroska support considered a 'bug' that will be taken care of within the current feature freeze? or is it considered a feature and not going to be looked at? currently matroska support doesn't offer subtitle or audio stream switching. seeking is also as bad as old ogm support.

mkv has awesome potential and i would love to see support and usage take off for it, but hiccups like this really undermine the movement.

oh yeah and while i'm writing, whatever happened to the xine engine plugin? did that kinda get swept under?

Gamester17
2004-05-06, 13:09
matroska support doesn't offer subtitle or audio stream switching, is it considered a feature and not going to be looked at?those are feature/functions, not bugs (as they never worked in xbmc), moving this to the existing request in the feature suggestions,
(that does not mean they won't be looked at as any dev may submit a patch for it, it does however mean it's no prioritized for 1.0)


oh yeah and while i'm writing, whatever happened to the xine engine plugin? did that kinda get swept under?off-topic but know that we never said it would be done, we said it could be done, (no, no one on the xbmc-team is working on it)

deltop
2004-05-06, 14:52
technically it could probably be sneaked in as an update to an existing feature (audio/sub switching). which already works for avi and ogm. in fact we now have switching for multiple subs as well as audio tracks in ogm, it was just added to cvs a couple of days ago. very impressive when you think about it.

i agree that it a big shame we don't have it yet since xbmc does cope so well with mkv's, pretty much any combination of video/audio codes works fine. the problem being the matroska container is often only used when multiple audio and sub tracks are needed. hence support is a bit redundant with out it (of course i would say that since i'm an anime fan and therefore biased ;) . it would also round off the feature set for 1.0 final very nicely, that and say a fix for aac channel output would be just peachy :)

DsNchNtD
2004-05-07, 02:01
yeah rounding out feature support for 'media types' would be a good thing for a 'media player'. =p i believe you are right when you say mkv as well as ogm are mainly used only when there are multiple audio or soft subtitle streams to select from. being unable to switch between them really undermines the whole idea behind the author's selection of these media container types instead of avi. i use xbmc daily and love it. i just wish i could rely on it to work with all of the media i have instead of having to worry if it will work with xbmc or not because it might be ogm or mkv.

Ay chama
2004-07-15, 15:03
hi

after finally getting around to installing xmbc (was using xbmp this whole time), i wanted to try out an mkv file since mc had the codecs for it. *
plays and all, just cant seem to switch the audio stream (samething seems to happen with my ogms now). i've played it off both xbox and dvd (which it cant seem to "see" the files, but plays it anyway *shrug*) hoping that was the reason -_-;; .

wonderin if anyone could help me out here.
is there something im forgeting to do?

deltop
2004-07-15, 16:06
there's no support for switching audio via the osd at the moment for mkv's, only sub switching.

ogm's should work fine however.

there is a trick to playing another audio track using an mplayer feature:

http://forums.xbox-scene.com/index.php?showtopic=238803

Ay chama
2004-07-15, 23:02
dang
ah well

thanks ^_^

supersmithy
2004-08-20, 18:24
hi,

i have a ton of anime in mkv, and at the moment i'm being forced to watch it with american dubbing - its driving me crazy! :nuts:

i'm wandering if there is anyway to change the audio language?

if not from within xbmc then, by changing some setting somewhere, or hell, even editing the mkv to make japanese the default audio.. any help will be greatly appreciated :)

thanks!

*edit: i did find:
http://www.xboxmediaplayer.de/cgi-bin....;hl=mkv (http://www.xboxmediaplayer.de/cgi-bin/forums/ikonboard.pl?act=st;f=2;t=5656;hl=mkv)
but its really very little help :)
*

deltop
2004-08-20, 21:59
that thread doesn't actually go into detail on how to select the audio with a .conf file. if you haven't found the full info let me know and i'll type it out here.

supersmithy
2004-08-20, 23:40
please do enlighten me on the subject - i would be etenally greatful :)

deltop
2004-08-20, 23:51
it's very simple.

create a text file named the same as your video file but with the added extension .conf eg:

dead.like.me.s01e03.mkv

would mean your text file would be called :

dead.like.me.s01e03.mkv.conf

inside the text file add the line:

aid=1

place the .conf file in the same dir as your video file and play the mkv file.

it should then play with the second audio track. this is an mplayer feature that's supported in xbmc as a stop gap measure untill proper track switching is supported in the osd.

supersmithy
2004-08-21, 00:11
will try this a little later - if this works (and i presume it will) i will love you forever :) thanks

Psydov
2004-08-31, 16:51
hello,

first of all thank you for this great player xbmc.

but i suggest to add 2 things that would be very great for playing movies.

1) to be possible to switch between the different audio's streams with mkv

2) add vosub subtitles support in compressed mode ( still with mkv)

thanks !

Gamester17
2004-08-31, 17:42
2) add vosub subtitles support in compressed mode ( still with mkv)off-topic (http://www.xboxmediaplayer.de/cgi-bin/forums/ikonboard.pl?act=st;f=4;t=1963), plus merged your post into the existing suggestion thread. please, search before posting in the future (forum rule (http://www.xboxmediaplayer.de/cgi-bin/forums/ikonboard.pl?act=sr;f=4)!)

jamsplodge
2004-09-30, 20:42
hey there, following on from deltop's suggestion that you make a txt file with the same name as your video file, save as a .conf file and put aid=1 in it. if like me all your ogm's and mkv's are anime and you hate to hear their lovely japanese voices tainted with an american accent (no offence meant :p ) just stick the line aid=1 in mplayer.conf. for people like me who can't make these seperate .conf files because all my anime is burnt to dvd's it's a quick and easy solution until proper audio changing comes about.

gambunta
2004-10-08, 00:56
:help:
i am having some trouble with some mkv files in xbmc.
i watching some anime that i want to hear in japanese and read the subbs in english. (the dub sux) but the only audio stream that i can get is the english version... is this a common problem?

i can change 2 the japanese version on my computer but i rather watch it form my x-box.

please help me shed some light on this situation.

gambunta

senergy
2004-10-08, 03:30
are you changing the audio stream from within the osd menu?
if not, try that.

senergy
2004-10-08, 03:53
after doing a bit of searching which is what you should have done before asking this question i found this (http://www.xboxmediaplayer.de/cgi-bin/forums/ikonboard.pl?act=st;f=4;t=2836;st=15)

it tells you that audio switching for mkv's does not work but a work around does and is quite easy todo.
have a read.

gambunta
2004-10-09, 11:51
im sry that i posted it once more but i had been trying 2 get mkv 2 work all night and i was tierd so i thought this was a easy way 2 get 2 know what i wanted.

sry for the inconviniance

and thanks for the help im gonna try that

jpnn80
2004-10-24, 00:03
i followed carefully the step by step guide of deltop to make a .conf file to play the 2nd track with a mkv file. however with the latest xbmc 1.1 when i play the mkv file with the matching .conf file present in the same dir, the 1st track is still played by default, so does anybody have an idea pliz?

deltop
2004-10-31, 00:09
just a small note to say that it seems elupus has added mkv audio switching to mplayer.dll :)

mkv audio switching should now be working from the osd.

compiled it earlier today and it seems to be working fine.

cheers elupus. for me it was the one and only feature lacking.

jpnn80
2004-10-31, 00:22
oh my savior! then i guess we'll have to wait the next build of xbmc to have this neat feat ?

deltop
2004-10-31, 01:53
stick this mplayer.dll

http://www.mevnet.co.uk/mplayer.rar

in your mplayer dir, overwriting the old one and it should work.

jpnn80
2004-10-31, 14:16
erk, tx but my problem is i never managed to get access to my relax or ccx server with mplayer, so i was wishing for xbmc to support it t_t...

elupus
2004-10-31, 15:51
think you misunderstood, mplayer has allways been the core of xbmc. it's a dll that get's loaded, and is how xbmc can play pretty much any videos.

jpnn80
2004-10-31, 16:18
feedback on my test with xbmc: well after i replaced the dll in the mplayer folder, i played a mkv in xbmc, and 1st weird thing: the osd showed the 2nd track title as "unknown", while it added the "5.1" to both tracks although they were only stereo... then when i selected the 2nd track during play, xbmc freezed..

so i guess the promised day when it would be able to switch mkv tracks hasn't arrived yet t_t

deltop
2004-10-31, 16:46
hmm i had the freezing issue until i updated xbmc itself last night, you'll probably need to wait till you can get a new build of xbmc itself then, not sure what was causing this.

the labels in the osd don't always show what they should (due to a lack of support for iso 639-2 three letter language codes, which mkv's use) but switching tracks does work.

not sure why 5.1 was showing up for you in the track title.

GrantB
2004-11-16, 23:39
i have some dual audio movies on my hard drive, but it automatically plays the first audio track, is there any way to make it play the second track instead?

pike
2004-11-16, 23:42
pretty sure this is covered in the manual.. keyword: osd

GrantB
2004-11-16, 23:44
ill go have a look, thanks

GrantB
2004-11-16, 23:56
hmmn, i found the dual audio bit, but i cant get the second audio

its a .mkv file, and the second track works in core media player, do i need a plugin or something?

maao
2004-11-18, 05:55
unfortunately, switching to 2nd audio in mkv isn't supported (hopefully it's just 'yet', not 'ever').

GrantB
2004-11-18, 13:56
ok thanks.. is there any way to convert a mkv into another format? one that xbmc supports?

Gamester17
2004-11-18, 14:08
is there any way to convert a mkv into another format? one that xbmc supports?yes there are a few, i believe avi-mux gui (link) (http://www-user.tu-chemnitz.de/~noe/video-zeug/avimux%20gui/index-eng.html) is probebly simplest to use for that task

deltop
2004-11-18, 15:05
unfortunately, switching to 2nd audio in mkv isn't supported (hopefully it's just 'yet', not 'ever').
umm yes it is, elupus introduced support not too long ago.

was working ok, should be in any normal build now too.

i'll go double check make sure it's still working.