Page 1 of 1

Video in .mkv file, audio in ac3, synchronization.

Posted: 08 Aug 2007 21:07
by kautko
Situation:

video is in .mkv file.
audio track of this video is in .ac3 file.

Is it possible to configure vlc media player - to play .mkv file and play audio track from .ac3 file together?

If yes, then how can i configure player to do so?

Re: Video in .mkv file, audio in ac3, synchronization.

Posted: 09 Aug 2007 00:24
by Jean-Baptiste Kempf
huh, is the ac3 embedded in the mkv ?

Re: Video in .mkv file, audio in ac3, synchronization.

Posted: 09 Aug 2007 01:35
by kautko
Ac3 is not embedded in mkv. (2 seperate files)

Re: Video in .mkv file, audio in ac3, synchronization.

Posted: 09 Aug 2007 09:32
by Jean-Baptiste Kempf
vlc blalbballabblabl.mkv --input-slave blabblablab.ac3

Re: Video in .mkv file, audio in ac3, synchronization.

Posted: 09 Aug 2007 14:18
by kautko
I forget to write , that there is one audio track imbedded in .mkv file. :roll:

So there is:
1.) blabla.mkv with embedded audio track in language_1
2.) seperate file blabla.ac3 in language_2

I typed Your command in command line.

After that - audio track (form blabla.ac3) , can be selected in "audio/audio track".

Video starts to play with imbedded audio track in background (and it's fine). If i choose the language_2, video is not enjoyable anymore. It shows some random pictures or shows nothing ... (it's bad - it more looks like slide show, not video).

I want to watch video in language_2.

So , what are your ideas?

And where can i see available command line options (i didn't find "--input-slave" in online documentation)?

Re: Video in .mkv file, audio in ac3, synchronization.

Posted: 11 Feb 2010 23:50
by Snickers
Hi everyone,

I have a similar problem that I cannot seem to solve. My video is in a .mkv file while the audio associated with it is in a SEPERATE AC3 file.
Is there a way to merge the 2 files? Or at least a way to play the audio so that it is synchronized with the video file?

Thanks,

Snickers

Re: Video in .mkv file, audio in ac3, synchronization.

Posted: 14 Feb 2010 16:56
by Jean-Baptiste Kempf
vlc file.mkv --input-slave file.ac3

Re: Video in .mkv file, audio in ac3, synchronization.

Posted: 16 Feb 2010 05:54
by Snickers
Hi J-B,

I did research on the VideoLan website and on the VLC Wiki, but can't seem to find how to access the ''command'' fonction of VLC. Could you explain to me how this is done in details?

Thanks!

Snickers

Re: Video in .mkv file, audio in ac3, synchronization.

Posted: 10 Mar 2010 14:12
by Snickers
Anyone?

Re: Video in .mkv file, audio in ac3, synchronization.

Posted: 10 Mar 2010 20:53
by Jean-Baptiste Kempf
Use your normal shell. cmd on windows, sh on unix