How can I start a video from terminal [closed]

Clash 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.
command-line video mac
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.
add a comment |Â
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.
command-line video mac
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
add a comment |Â
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.
command-line video mac
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
command-line video mac
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
add a comment |Â
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
add a comment |Â
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.
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
add a comment |Â
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.
add a comment |Â
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.
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
add a comment |Â
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.
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
add a comment |Â
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.
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.
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
add a comment |Â
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
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
So you want to open and play the video just running the script...
Try xdg-open video.mp4, at least it works for me.
answered Mar 12 at 8:31
xBeiker
638
638
add a comment |Â
add a comment |Â
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