PDA

View Full Version : Is it possible to have audio tracks of different file types in the same container?


Seimour
5th November 2004, 13:47
I'm gonna encode "2010 - Second Oddisey" and I'd like it to have at least two audio tracks (english and spanish). In this case:
AC3: Spanish - Ogg: English
I tried the other day to mux them into an ogm container and it worked great but.. my player (bsplayer) opened both tracks at the same time!, so I was listening english and spanish together.
I have ac3filter & oggdshow installed and they work propertly. The problem must be in the container, I think. Is there any container that allows me to have the AC3 track and another track in any format (Ogg, mp3, other lossy codecs..).
Well, someone would say "why not the english track in ac3 too?", that's not the point... I know you'll know a better answer, I guess :p

thoralf
5th November 2004, 15:08
It will work if you use a media player with a built-in stream switcher. Zoom Player will do the trick ...
If I remember correctly, the ogm demuxer comes with a built-in stream switcher as well. So if you disable BSPlayers internal one, you can use the icon appearing in your system tray to switch between the different audio streams.
Another alternative is to use Morgans Stream Switcher, but that should only be a last ressort, since this filter is known to have some issues.
And no, it is no problem to mux different audio formats into one container ... ogg / ac3 / mp3 / aac all together in a mkv should be no problem at all.

Hope this helps,
Thoralf.

moivre
5th November 2004, 16:46
as thoralf said matroska would be perfect for your needs. For that Matroska_Pack got everything: demuxer, stream switcher, decoders.
And for the player you could use Media Player Classic too, for the built-in switcher and decoders.

moivre

bond
11th November 2004, 21:03
make sure you use the latest version of bsplayer. it has an own inbuilt stream switcher too, which i think should work with .ogm