Trying to run multiple instances of VLC












0















I'm a total noob at Linux (but I'm learning).
I am trying to run a video presentation - but I need it to run THREE separate Mpeg or AVI videos at precisely the same time and in sync.



I read http://www.videolan.org/doc/play-howto/en/ch04.html which shows how to address each of the three monitors with each instance of VLC.|



The WALL feature seems cool, but I'm using 3 monitors for video output and one for a control panel (please excuse the Windows entomology).



The option:
--vout allows you to select the video output module.
seems to be the way to address each video output separately (PLEASE correct me if I'm wrong about this)



So what I'm asking is basically this: If I want to run three separate videos, to three separate monitors using ubuntu and VLC, how can I run all three at exactly the same time, and is there a way to get them to sync? (MIDI, smpte time code, etc?)



I need just one channel of either mono or stereo audio to run from (let's say) the first video file.



Any and all input would be VERY welcome. (But please keep in mind, I'm rather new at linux, so please have patience with me)



Thanks in Advance,
Rik










share|improve this question























  • let me share exactly what im trying to do. this is for a rock band on-stage video presentation. the audio is only going to feed from one (say, video1.mpg) as a cowbell click track that only the drummer hears. so, when the drummer signals that he's ready, the person at the computer console runs the script and three monitors

    – RikN
    Feb 19 '14 at 21:46











  • (actually, LCD video walls) run three separate videos - one to each screen. its imperative that they run no more than a half second out of sync. i saw on vlc's tech site that there's a relative easy way to shoot each instance to a separate display device - but the real trick (i think) is to find some utility that can take a script - parse the three lines of code, and execute all three lines at exactly the same time. Any thoughts?

    – RikN
    Feb 19 '14 at 21:46
















0















I'm a total noob at Linux (but I'm learning).
I am trying to run a video presentation - but I need it to run THREE separate Mpeg or AVI videos at precisely the same time and in sync.



I read http://www.videolan.org/doc/play-howto/en/ch04.html which shows how to address each of the three monitors with each instance of VLC.|



The WALL feature seems cool, but I'm using 3 monitors for video output and one for a control panel (please excuse the Windows entomology).



The option:
--vout allows you to select the video output module.
seems to be the way to address each video output separately (PLEASE correct me if I'm wrong about this)



So what I'm asking is basically this: If I want to run three separate videos, to three separate monitors using ubuntu and VLC, how can I run all three at exactly the same time, and is there a way to get them to sync? (MIDI, smpte time code, etc?)



I need just one channel of either mono or stereo audio to run from (let's say) the first video file.



Any and all input would be VERY welcome. (But please keep in mind, I'm rather new at linux, so please have patience with me)



Thanks in Advance,
Rik










share|improve this question























  • let me share exactly what im trying to do. this is for a rock band on-stage video presentation. the audio is only going to feed from one (say, video1.mpg) as a cowbell click track that only the drummer hears. so, when the drummer signals that he's ready, the person at the computer console runs the script and three monitors

    – RikN
    Feb 19 '14 at 21:46











  • (actually, LCD video walls) run three separate videos - one to each screen. its imperative that they run no more than a half second out of sync. i saw on vlc's tech site that there's a relative easy way to shoot each instance to a separate display device - but the real trick (i think) is to find some utility that can take a script - parse the three lines of code, and execute all three lines at exactly the same time. Any thoughts?

    – RikN
    Feb 19 '14 at 21:46














0












0








0


1






I'm a total noob at Linux (but I'm learning).
I am trying to run a video presentation - but I need it to run THREE separate Mpeg or AVI videos at precisely the same time and in sync.



I read http://www.videolan.org/doc/play-howto/en/ch04.html which shows how to address each of the three monitors with each instance of VLC.|



The WALL feature seems cool, but I'm using 3 monitors for video output and one for a control panel (please excuse the Windows entomology).



The option:
--vout allows you to select the video output module.
seems to be the way to address each video output separately (PLEASE correct me if I'm wrong about this)



So what I'm asking is basically this: If I want to run three separate videos, to three separate monitors using ubuntu and VLC, how can I run all three at exactly the same time, and is there a way to get them to sync? (MIDI, smpte time code, etc?)



I need just one channel of either mono or stereo audio to run from (let's say) the first video file.



Any and all input would be VERY welcome. (But please keep in mind, I'm rather new at linux, so please have patience with me)



Thanks in Advance,
Rik










share|improve this question














I'm a total noob at Linux (but I'm learning).
I am trying to run a video presentation - but I need it to run THREE separate Mpeg or AVI videos at precisely the same time and in sync.



I read http://www.videolan.org/doc/play-howto/en/ch04.html which shows how to address each of the three monitors with each instance of VLC.|



The WALL feature seems cool, but I'm using 3 monitors for video output and one for a control panel (please excuse the Windows entomology).



The option:
--vout allows you to select the video output module.
seems to be the way to address each video output separately (PLEASE correct me if I'm wrong about this)



So what I'm asking is basically this: If I want to run three separate videos, to three separate monitors using ubuntu and VLC, how can I run all three at exactly the same time, and is there a way to get them to sync? (MIDI, smpte time code, etc?)



I need just one channel of either mono or stereo audio to run from (let's say) the first video file.



Any and all input would be VERY welcome. (But please keep in mind, I'm rather new at linux, so please have patience with me)



Thanks in Advance,
Rik







multiple-monitors vlc video-player multiple-instances






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 18 '14 at 23:42









RikNRikN

113




113













  • let me share exactly what im trying to do. this is for a rock band on-stage video presentation. the audio is only going to feed from one (say, video1.mpg) as a cowbell click track that only the drummer hears. so, when the drummer signals that he's ready, the person at the computer console runs the script and three monitors

    – RikN
    Feb 19 '14 at 21:46











  • (actually, LCD video walls) run three separate videos - one to each screen. its imperative that they run no more than a half second out of sync. i saw on vlc's tech site that there's a relative easy way to shoot each instance to a separate display device - but the real trick (i think) is to find some utility that can take a script - parse the three lines of code, and execute all three lines at exactly the same time. Any thoughts?

    – RikN
    Feb 19 '14 at 21:46



















  • let me share exactly what im trying to do. this is for a rock band on-stage video presentation. the audio is only going to feed from one (say, video1.mpg) as a cowbell click track that only the drummer hears. so, when the drummer signals that he's ready, the person at the computer console runs the script and three monitors

    – RikN
    Feb 19 '14 at 21:46











  • (actually, LCD video walls) run three separate videos - one to each screen. its imperative that they run no more than a half second out of sync. i saw on vlc's tech site that there's a relative easy way to shoot each instance to a separate display device - but the real trick (i think) is to find some utility that can take a script - parse the three lines of code, and execute all three lines at exactly the same time. Any thoughts?

    – RikN
    Feb 19 '14 at 21:46

















let me share exactly what im trying to do. this is for a rock band on-stage video presentation. the audio is only going to feed from one (say, video1.mpg) as a cowbell click track that only the drummer hears. so, when the drummer signals that he's ready, the person at the computer console runs the script and three monitors

– RikN
Feb 19 '14 at 21:46





let me share exactly what im trying to do. this is for a rock band on-stage video presentation. the audio is only going to feed from one (say, video1.mpg) as a cowbell click track that only the drummer hears. so, when the drummer signals that he's ready, the person at the computer console runs the script and three monitors

– RikN
Feb 19 '14 at 21:46













(actually, LCD video walls) run three separate videos - one to each screen. its imperative that they run no more than a half second out of sync. i saw on vlc's tech site that there's a relative easy way to shoot each instance to a separate display device - but the real trick (i think) is to find some utility that can take a script - parse the three lines of code, and execute all three lines at exactly the same time. Any thoughts?

– RikN
Feb 19 '14 at 21:46





(actually, LCD video walls) run three separate videos - one to each screen. its imperative that they run no more than a half second out of sync. i saw on vlc's tech site that there's a relative easy way to shoot each instance to a separate display device - but the real trick (i think) is to find some utility that can take a script - parse the three lines of code, and execute all three lines at exactly the same time. Any thoughts?

– RikN
Feb 19 '14 at 21:46










1 Answer
1






active

oldest

votes


















0














I don't have multiple monitors so I can't help you there. As far as opening 3 videos at the same time the closest I can suggest would be using "&" to open the files sequentially. They won't be in sync, but because they are opened 1 after the other very quickly they will be very very close to in sync, most likely resulting in a slight echo like sound. Of course this assumes the video file aren't ones that strain the system and that they are stored on a storage device capable of feeding the data rate of 3 videos at once. If not the out-of-sync gap between players will be more apparent. For example I tested this with 2 1080p 70mb mp4 files in a virtual machine, and they were almost in sync, a slight echo was the only indication they weren't. However when I attempted 3 the gap became larger because it was a 1080p video running 3 instanced in a vm, and vms don't get good performance. Keep in mind that this will only help you open the file, it not give you control over where the video's appear on your desktop screen. I believe the default is they layer instances over each other.



Example (assumes video file is called "example" and is located in your user accounts download folder):



"vlc /home/username/Downloads/example.mp4 & vlc /home/username/Downloads/example2.mp4 & vlc /home/username/Downloads/example3.mp4"






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f422865%2ftrying-to-run-multiple-instances-of-vlc%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I don't have multiple monitors so I can't help you there. As far as opening 3 videos at the same time the closest I can suggest would be using "&" to open the files sequentially. They won't be in sync, but because they are opened 1 after the other very quickly they will be very very close to in sync, most likely resulting in a slight echo like sound. Of course this assumes the video file aren't ones that strain the system and that they are stored on a storage device capable of feeding the data rate of 3 videos at once. If not the out-of-sync gap between players will be more apparent. For example I tested this with 2 1080p 70mb mp4 files in a virtual machine, and they were almost in sync, a slight echo was the only indication they weren't. However when I attempted 3 the gap became larger because it was a 1080p video running 3 instanced in a vm, and vms don't get good performance. Keep in mind that this will only help you open the file, it not give you control over where the video's appear on your desktop screen. I believe the default is they layer instances over each other.



    Example (assumes video file is called "example" and is located in your user accounts download folder):



    "vlc /home/username/Downloads/example.mp4 & vlc /home/username/Downloads/example2.mp4 & vlc /home/username/Downloads/example3.mp4"






    share|improve this answer




























      0














      I don't have multiple monitors so I can't help you there. As far as opening 3 videos at the same time the closest I can suggest would be using "&" to open the files sequentially. They won't be in sync, but because they are opened 1 after the other very quickly they will be very very close to in sync, most likely resulting in a slight echo like sound. Of course this assumes the video file aren't ones that strain the system and that they are stored on a storage device capable of feeding the data rate of 3 videos at once. If not the out-of-sync gap between players will be more apparent. For example I tested this with 2 1080p 70mb mp4 files in a virtual machine, and they were almost in sync, a slight echo was the only indication they weren't. However when I attempted 3 the gap became larger because it was a 1080p video running 3 instanced in a vm, and vms don't get good performance. Keep in mind that this will only help you open the file, it not give you control over where the video's appear on your desktop screen. I believe the default is they layer instances over each other.



      Example (assumes video file is called "example" and is located in your user accounts download folder):



      "vlc /home/username/Downloads/example.mp4 & vlc /home/username/Downloads/example2.mp4 & vlc /home/username/Downloads/example3.mp4"






      share|improve this answer


























        0












        0








        0







        I don't have multiple monitors so I can't help you there. As far as opening 3 videos at the same time the closest I can suggest would be using "&" to open the files sequentially. They won't be in sync, but because they are opened 1 after the other very quickly they will be very very close to in sync, most likely resulting in a slight echo like sound. Of course this assumes the video file aren't ones that strain the system and that they are stored on a storage device capable of feeding the data rate of 3 videos at once. If not the out-of-sync gap between players will be more apparent. For example I tested this with 2 1080p 70mb mp4 files in a virtual machine, and they were almost in sync, a slight echo was the only indication they weren't. However when I attempted 3 the gap became larger because it was a 1080p video running 3 instanced in a vm, and vms don't get good performance. Keep in mind that this will only help you open the file, it not give you control over where the video's appear on your desktop screen. I believe the default is they layer instances over each other.



        Example (assumes video file is called "example" and is located in your user accounts download folder):



        "vlc /home/username/Downloads/example.mp4 & vlc /home/username/Downloads/example2.mp4 & vlc /home/username/Downloads/example3.mp4"






        share|improve this answer













        I don't have multiple monitors so I can't help you there. As far as opening 3 videos at the same time the closest I can suggest would be using "&" to open the files sequentially. They won't be in sync, but because they are opened 1 after the other very quickly they will be very very close to in sync, most likely resulting in a slight echo like sound. Of course this assumes the video file aren't ones that strain the system and that they are stored on a storage device capable of feeding the data rate of 3 videos at once. If not the out-of-sync gap between players will be more apparent. For example I tested this with 2 1080p 70mb mp4 files in a virtual machine, and they were almost in sync, a slight echo was the only indication they weren't. However when I attempted 3 the gap became larger because it was a 1080p video running 3 instanced in a vm, and vms don't get good performance. Keep in mind that this will only help you open the file, it not give you control over where the video's appear on your desktop screen. I believe the default is they layer instances over each other.



        Example (assumes video file is called "example" and is located in your user accounts download folder):



        "vlc /home/username/Downloads/example.mp4 & vlc /home/username/Downloads/example2.mp4 & vlc /home/username/Downloads/example3.mp4"







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 19 '14 at 3:08









        mangomango

        362




        362






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f422865%2ftrying-to-run-multiple-instances-of-vlc%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

             ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕