Page 1 of 1
Simultaneous playback of multiple files
Posted: 28 May 2008 08:34
by emptyhead
Hello all,
I've been wondering, if it were possible to playback multiple files simultaneous. What I would like to achieve, is to play My_movie_video.avi, My_movie_english.ac3 and My_move_turkish.txt, combining them at playtime (no, I don't want to mux them).
I've been loking for this option, bu I haven't found anything.
Is it possible with the current VLC or would it require some hacking?
Thanks in advance
emptyhead
Re: Simultaneous playback of multiple files
Posted: 28 May 2008 08:46
by Jean-Baptiste Kempf
vlc video.avi --input-slave video.ac3 --sub-file video.sub
Re: Simultaneous playback of multiple files
Posted: 29 May 2008 16:33
by emptyhead
Thank you for quick response!
It's is exactly what I was looking for. Sadly, I can't say I'm satisfied, because I've encountered following problems:
vlc test.avi --input-slave test.ac3 produces no sound
vlc test.ac3 --input-slave test.avi sound ok, but the video is lagging (processor usage is low)
vlc test.avi --input-slave test.mp3 works fine until fast forward - after ff sound is lagging
vlc test.mp3 --input-slave test.avi same problem here
Are they known issues? Is there a solution?
emptyhead
Re: Simultaneous playback of multiple files
Posted: 29 May 2008 19:19
by Jean-Baptiste Kempf
try to increase cache.
Re: Simultaneous playback of multiple files
Posted: 01 Jun 2008 23:55
by emptyhead
increasing the cache didn't help at all. I guess, the cause of the issues is the code of input-slave itself.
I found however a quite good solution: pack each file into a separate container. Best working container was MP4 (no Matroska for you.). My solution:
vlc video.mp4 --input-slave audio_en.mp4 --sub-file subs_tr.srt
whereas: video.mp4 is a divx video and audio_en is a MP3 file in MP4 container.
thank you for help.
Re: Simultaneous playback of multiple files
Posted: 10 Jun 2008 23:44
by emptyhead
MP4 works very well, but it has it's drawbacks (lack of support for AC3).
I would ask just one more thing in this topic:
what about the support for files encapsulated in MPEG-TS?
vlc video.mp4 --input-slave audio.mp4 [aac]
works flawlessly, whereas
vlc video.ts --input-slave audio.ts [ac3/aac]
doesn't work at all - no sound or when I swap the files (i.e. master=audio slave=video) no video.
Is it then possible to use --input-slave together with streams encapsulated in MPEG-TS?
thank you
emptyhead
Re: Simultaneous playback of multiple files
Posted: 18 Jul 2008 11:11
by andym
Hi both,
I faced the same problem what emptyhead is doing.
vlc video.ts --input-slave audio.ts
which no audio
vlc audio.ts --input-slave video.ts
which no video
Does it really --input-slave not support MEPG-TS?
Further, I want to mux the video.ts and audio.ts into 1 multicast MPEG-TS. Does it possible to do by vlc?
Thanks both experts in advance
AndyM
Re: Simultaneous playback of multiple files
Posted: 22 Jul 2008 12:54
by RĂ©mi Denis-Courmont
Input slave support MPEG-TS fine. But both input files need to have synchronized clocks.
Re: Simultaneous playback of multiple files
Posted: 25 Jul 2008 15:30
by silver_yoshi
I want to do the same thing (Play a .m2v video with a .ac3 soundtrack but without muxing), but I don't understand what
"vlc video.avi --input-slave video.ac3 --sub-file video.sub" means.
I tried looking around but couldn't find where to put this.
Can someone please give more detailed instructions that a beginner user might understand?
I would appreciate that very much.
Re: Simultaneous playback of multiple files
Posted: 15 Apr 2010 14:52
by numediaweb
I aslo search for this but in vain; I rendred the two files using Apple's FCP and Compressor and tried in both VLC mac and windows and none works, same issue as above.
I think the workaround is to generate a dvd folder from this two files using some dvd authoring tool, such as nero or dvd studio or..