How can I start a video from terminal [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
-2
down vote

favorite












I've been trying to make an executable file that maxes the volume of a person's computer then opens and plays a specific video, but I don't have a command to play the video after it has opened, so the video opens but the user has to click play.










share|improve this question















closed as unclear what you're asking by waltinator, dessert, muru, Zanna, David Foerster Mar 12 at 11:29


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • Please try: cvlc some_video.mp4
    – chili555
    Mar 11 at 23:56










  • Why the mac tag? Are you using Ubuntu?
    – Zanna
    Mar 12 at 8:25






  • 2




    @Zanna I don't think Ubuntu on Mac supports airdrop, so not Ubuntu (see OP's comment)
    – muru
    Mar 12 at 8:45










  • Could you please add a little more detail? What exactly did you do, what did you expect to happen and what happened instead? Did you encounter any warning or error messages? Please reproduce them in their entirety in your question. You can select, copy and paste terminal content and most dialogue messages in Ubuntu. Please edit your post to add information instead of posting a comment. (see How do I ask a good question?)
    – David Foerster
    Mar 12 at 11:29














up vote
-2
down vote

favorite












I've been trying to make an executable file that maxes the volume of a person's computer then opens and plays a specific video, but I don't have a command to play the video after it has opened, so the video opens but the user has to click play.










share|improve this question















closed as unclear what you're asking by waltinator, dessert, muru, Zanna, David Foerster Mar 12 at 11:29


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • Please try: cvlc some_video.mp4
    – chili555
    Mar 11 at 23:56










  • Why the mac tag? Are you using Ubuntu?
    – Zanna
    Mar 12 at 8:25






  • 2




    @Zanna I don't think Ubuntu on Mac supports airdrop, so not Ubuntu (see OP's comment)
    – muru
    Mar 12 at 8:45










  • Could you please add a little more detail? What exactly did you do, what did you expect to happen and what happened instead? Did you encounter any warning or error messages? Please reproduce them in their entirety in your question. You can select, copy and paste terminal content and most dialogue messages in Ubuntu. Please edit your post to add information instead of posting a comment. (see How do I ask a good question?)
    – David Foerster
    Mar 12 at 11:29












up vote
-2
down vote

favorite









up vote
-2
down vote

favorite











I've been trying to make an executable file that maxes the volume of a person's computer then opens and plays a specific video, but I don't have a command to play the video after it has opened, so the video opens but the user has to click play.










share|improve this question















I've been trying to make an executable file that maxes the volume of a person's computer then opens and plays a specific video, but I don't have a command to play the video after it has opened, so the video opens but the user has to click play.







command-line video mac






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 12 at 8:22









Zanna

48.1k13120228




48.1k13120228










asked Mar 11 at 23:48









Jadon Marquez

2




2




closed as unclear what you're asking by waltinator, dessert, muru, Zanna, David Foerster Mar 12 at 11:29


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as unclear what you're asking by waltinator, dessert, muru, Zanna, David Foerster Mar 12 at 11:29


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.













  • Please try: cvlc some_video.mp4
    – chili555
    Mar 11 at 23:56










  • Why the mac tag? Are you using Ubuntu?
    – Zanna
    Mar 12 at 8:25






  • 2




    @Zanna I don't think Ubuntu on Mac supports airdrop, so not Ubuntu (see OP's comment)
    – muru
    Mar 12 at 8:45










  • Could you please add a little more detail? What exactly did you do, what did you expect to happen and what happened instead? Did you encounter any warning or error messages? Please reproduce them in their entirety in your question. You can select, copy and paste terminal content and most dialogue messages in Ubuntu. Please edit your post to add information instead of posting a comment. (see How do I ask a good question?)
    – David Foerster
    Mar 12 at 11:29
















  • Please try: cvlc some_video.mp4
    – chili555
    Mar 11 at 23:56










  • Why the mac tag? Are you using Ubuntu?
    – Zanna
    Mar 12 at 8:25






  • 2




    @Zanna I don't think Ubuntu on Mac supports airdrop, so not Ubuntu (see OP's comment)
    – muru
    Mar 12 at 8:45










  • Could you please add a little more detail? What exactly did you do, what did you expect to happen and what happened instead? Did you encounter any warning or error messages? Please reproduce them in their entirety in your question. You can select, copy and paste terminal content and most dialogue messages in Ubuntu. Please edit your post to add information instead of posting a comment. (see How do I ask a good question?)
    – David Foerster
    Mar 12 at 11:29















Please try: cvlc some_video.mp4
– chili555
Mar 11 at 23:56




Please try: cvlc some_video.mp4
– chili555
Mar 11 at 23:56












Why the mac tag? Are you using Ubuntu?
– Zanna
Mar 12 at 8:25




Why the mac tag? Are you using Ubuntu?
– Zanna
Mar 12 at 8:25




2




2




@Zanna I don't think Ubuntu on Mac supports airdrop, so not Ubuntu (see OP's comment)
– muru
Mar 12 at 8:45




@Zanna I don't think Ubuntu on Mac supports airdrop, so not Ubuntu (see OP's comment)
– muru
Mar 12 at 8:45












Could you please add a little more detail? What exactly did you do, what did you expect to happen and what happened instead? Did you encounter any warning or error messages? Please reproduce them in their entirety in your question. You can select, copy and paste terminal content and most dialogue messages in Ubuntu. Please edit your post to add information instead of posting a comment. (see How do I ask a good question?)
– David Foerster
Mar 12 at 11:29




Could you please add a little more detail? What exactly did you do, what did you expect to happen and what happened instead? Did you encounter any warning or error messages? Please reproduce them in their entirety in your question. You can select, copy and paste terminal content and most dialogue messages in Ubuntu. Please edit your post to add information instead of posting a comment. (see How do I ask a good question?)
– David Foerster
Mar 12 at 11:29










2 Answers
2






active

oldest

votes

















up vote
1
down vote













Try installing mpv and run your video like this in your script file:



mpv -fs myvideo.mp4


The -fs will make it go into full screen mode automatically.






share|improve this answer




















  • but the thing is I'm trying to airdrop this to others as a joke (i know so immature) so it has to be a way that doesn't involve installing anything
    – Jadon Marquez
    Mar 12 at 4:00










  • Unless I misunderstand "airdropping", I guess what you want is execute your program on macOS. Then your question is just silly because not Ubuntu related.
    – Sebastian Stark
    Mar 12 at 13:31

















up vote
1
down vote













So you want to open and play the video just running the script...
Try xdg-open video.mp4, at least it works for me.






share|improve this answer



























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    Try installing mpv and run your video like this in your script file:



    mpv -fs myvideo.mp4


    The -fs will make it go into full screen mode automatically.






    share|improve this answer




















    • but the thing is I'm trying to airdrop this to others as a joke (i know so immature) so it has to be a way that doesn't involve installing anything
      – Jadon Marquez
      Mar 12 at 4:00










    • Unless I misunderstand "airdropping", I guess what you want is execute your program on macOS. Then your question is just silly because not Ubuntu related.
      – Sebastian Stark
      Mar 12 at 13:31














    up vote
    1
    down vote













    Try installing mpv and run your video like this in your script file:



    mpv -fs myvideo.mp4


    The -fs will make it go into full screen mode automatically.






    share|improve this answer




















    • but the thing is I'm trying to airdrop this to others as a joke (i know so immature) so it has to be a way that doesn't involve installing anything
      – Jadon Marquez
      Mar 12 at 4:00










    • Unless I misunderstand "airdropping", I guess what you want is execute your program on macOS. Then your question is just silly because not Ubuntu related.
      – Sebastian Stark
      Mar 12 at 13:31












    up vote
    1
    down vote










    up vote
    1
    down vote









    Try installing mpv and run your video like this in your script file:



    mpv -fs myvideo.mp4


    The -fs will make it go into full screen mode automatically.






    share|improve this answer












    Try installing mpv and run your video like this in your script file:



    mpv -fs myvideo.mp4


    The -fs will make it go into full screen mode automatically.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Mar 12 at 0:58









    Sebastian Stark

    4,723938




    4,723938











    • but the thing is I'm trying to airdrop this to others as a joke (i know so immature) so it has to be a way that doesn't involve installing anything
      – Jadon Marquez
      Mar 12 at 4:00










    • Unless I misunderstand "airdropping", I guess what you want is execute your program on macOS. Then your question is just silly because not Ubuntu related.
      – Sebastian Stark
      Mar 12 at 13:31
















    • but the thing is I'm trying to airdrop this to others as a joke (i know so immature) so it has to be a way that doesn't involve installing anything
      – Jadon Marquez
      Mar 12 at 4:00










    • Unless I misunderstand "airdropping", I guess what you want is execute your program on macOS. Then your question is just silly because not Ubuntu related.
      – Sebastian Stark
      Mar 12 at 13:31















    but the thing is I'm trying to airdrop this to others as a joke (i know so immature) so it has to be a way that doesn't involve installing anything
    – Jadon Marquez
    Mar 12 at 4:00




    but the thing is I'm trying to airdrop this to others as a joke (i know so immature) so it has to be a way that doesn't involve installing anything
    – Jadon Marquez
    Mar 12 at 4:00












    Unless I misunderstand "airdropping", I guess what you want is execute your program on macOS. Then your question is just silly because not Ubuntu related.
    – Sebastian Stark
    Mar 12 at 13:31




    Unless I misunderstand "airdropping", I guess what you want is execute your program on macOS. Then your question is just silly because not Ubuntu related.
    – Sebastian Stark
    Mar 12 at 13:31












    up vote
    1
    down vote













    So you want to open and play the video just running the script...
    Try xdg-open video.mp4, at least it works for me.






    share|improve this answer
























      up vote
      1
      down vote













      So you want to open and play the video just running the script...
      Try xdg-open video.mp4, at least it works for me.






      share|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote









        So you want to open and play the video just running the script...
        Try xdg-open video.mp4, at least it works for me.






        share|improve this answer












        So you want to open and play the video just running the script...
        Try xdg-open video.mp4, at least it works for me.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 12 at 8:31









        xBeiker

        638




        638












            Popular posts from this blog

            How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

            Trouble downloading packages list due to a “Hash sum mismatch” error

            How do I move numbers in filenames, in a batch renaming operation?