Play Quicktime movie from terminal

Is it possible to play the Quicktime movie (.mov) file from the command line (i.e. Terminal)?

I have not found a way to achieve this. I could do this with an Automator script, but it would be better if I can run it directly from the terminal.

+6
source share
2 answers
open movie_file_name.mov 

will open the default player from the terminal.

+13
source
 open -a "quicktime player" movie_file_name.mov 

You can specify other players, for example VLC, if you want:

 open -a vlc movie_file_name.mov 
+8
source

Source: https://habr.com/ru/post/925115/


All Articles