Page 1 of 1

Dietpi as vlc playetr

Posted: Wed Dec 20, 2017 7:03 pm
by LuPoX
Hello, I want to use the raspberry to play a video in a loop in an exhibitor, I have the vlc installed but I have a couple of problems, to see if you can help me. I dont have desk installed, all on terminal

When playing a video, it goes very slow, at 1 fps and stops.
I want the video to play as soon as I start the raspberry and play in a loop

Can someone help me set it up?

Re: Dietpi as vlc playetr

Posted: Thu Dec 21, 2017 5:51 am
by WarHawk
try

Code: Select all

export DISPLAY=:0
vlc --fullscreen [file] 
or

Code: Select all

export DISPLAY=:0
vlc -f [file]
The above will only play it thru once
to have it loop try

Code: Select all

export DISPLAY=:0
vlc --loop video.avi 
To make it full screen, loop and be on top try

Code: Select all

export DISPLAY=:0
vlc --video-on-top --fullscreen --repeat video.avi
Pulled from man vlc
https://linux.die.net/man/1/vlc
Synopsis
vlc [OPTIONS] [ITEMS]...
Description
This manual page documents briefly the VLC multimedia player and server.
Options
VLC follows the usual GNU command line syntax, with long options starting with two dashes ('-'). For a precise description of options, please use "vlc --help".

The complete list of VLC options depends on what plugins are installed because they automatically add their own options. Please use "vlc --longhelp --advanced" for a complete list of available options.
Here too
https://wiki.videolan.org/Documentation:Command_line/


Then if you want it to start a boot time...might put that command in /etc/rc.local

Re: Dietpi as vlc playetr

Posted: Mon Jan 01, 2018 8:53 pm
by LuPoX
Thx @WarHawk , i know about this comands, now the problem is that the video start and in less than one sec it stops and doesnt work, how can i fix this ?