Playing videos from terminal
22,768
Solution 1
There must be something wrong with your filename. I tried two things.
vlc wrongfileName.mp4
and it gave me the error you described.vlc correctFileName.mp4
this one gave different error output, but the file did open, so I suspect you made a typo or need to quote the path if it has spaces or special characters
second error for reference:
navjeet@navjeet-Lenovo-G50-80:~/Videos/Game Of Thrones GOT/Season 2$
vlc Game.of.Thrones.S02E08.HDTV.x264-ASAP.mp4 VLC media player 2.2.2
Weatherwax (revision 2.2.2-0-g6259d80) [000000000141a148] core libvlc:
Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory [00007f6b74000ee8] http access error: error:
HTTP/1.1 522 Origin Connection Time-out [00007f6b840019d8] http access error: error: HTTP/1.1 522 Origin Connection Time-out [00007f6b74000ee8] core access error: connection failed: Network is unreachable [00007f6b74000ee8] core access error: connection failed:
Network is unreachable [00007f6b74000ee8] http access error: cannot connect to services.tvrage.com:80
Solution 2
why did no one suggest totem
, which is preinstalled? ^^
cd /path/to/location/of/video
totem video.mp4
Solution 3
Try install mplayer
sudo apt-get install mplayer
and run
mplayer -vo caca <movie_file
and check whether you are able to play the video
Related videos on Youtube
Author by
gsdf
Updated on September 18, 2022Comments
-
gsdf over 1 year
I am trying to play videos from terminal using this command
vlc my_video.avi
The error that I am getting when I try to run the command--
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be) [0x8663910] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0xaafddf80] filesystem access error:cannot open file the_file_path (no such file or directory) [0xb040a990] main input error:open of 'file://the_file_path' failed
Then I tried to use 'cvlc' but again same error!
-
Admin over 8 yearsQuick test using "VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28)" on 14.04 release has no problem when running
vlc file.mp4
in Terminal. Probably something wrong with the file path?
-
-
Admin over 8 years-1 because OP has already mentioned that
vlc my_video.avi
(playername filename) doesn't work. -
EetSandhu over 7 years@Zanna thanks for formatting :) . You have made it very presentable.
-
Zanna over 7 yearsAny time :) thanks for contributing to the site