sunil880089
Posts: 16
Joined: Thu Jul 04, 2013 11:14 am

How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-SBC

Fri Jul 05, 2013 9:35 am

Hi All,

I want to run VLC player in RASPBERRY-PI - RPI-B-512-CASED-SBC.
Cab anyone help me to Setup and run VLC player in RASPBERRY-PI .

Thanks and Regards
Sunil

gkreidl
Posts: 5325
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Fri Jul 05, 2013 1:53 pm

sudo apt-get install vlc (from a terminal)

That's all. But you cannot use it for video (no hardware acceleration), only for audio.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

sunil880089
Posts: 16
Joined: Thu Jul 04, 2013 11:14 am

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 06, 2013 5:16 am

Dear gkreidl,

Thanks for the reply..
can u give some more information about vlc player ?. why i cannot use vlc player for video.?
please help me to solve the problem.

Thanks and regards
Sunil.

gkreidl
Posts: 5325
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 06, 2013 5:33 am

vlc decodes and displays video by software. The arm processor of the RPi does not have enough calculating power to do that. But the GPU is powerful enough. The only video (and audio) player that can use the GPU is omxplayer.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

sunil880089
Posts: 16
Joined: Thu Jul 04, 2013 11:14 am

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 06, 2013 5:36 am

Dear gkreidl,

Thanks for the reply..

How can i install omxplayer ?

Thanks and regards
Sunil

gkreidl
Posts: 5325
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 06, 2013 6:35 am

sudo apt-get install omxplayer

But i may be installed already: Type
omxplayer -h
inside a terminal, to test it.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

sunil880089
Posts: 16
Joined: Thu Jul 04, 2013 11:14 am

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 06, 2013 8:02 am

Hi all,

Can anyone help me?
How can i control video player using commands....?
I want to stop, pause and play videos in video player using commands or script....

Thanks and regards..
Sunil

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4743
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 06, 2013 8:26 am

sunil880089 wrote:Hi all,

Can anyone help me?
How can i control video player using commands....?
I want to stop, pause and play videos in video player using commands or script....

Thanks and regards..
Sunil
While it's ok to ask these things, you'll get much further if you use google to find answers to basic questions and refer to the documentation.

For example, google spits out this page http://www.videolan.org/doc/play-howto/en/ch04.html, which has all the ways you can control vlc.

From that page, I can see that there are hotkeys you can use to control vlc directly and there is an RC interface which you can use for scripting. Googling further, I find this page http://n0tablog.wordpress.com/2009/02/0 ... ogramming/ which tells you how to use the RC interface and there are many more pages like it.

So again, it's ok to ask, but you may find that googling and reading documentation will help you more in the long run.


Edit: sorry, I missed that you were asking about omxplayer rather than vlc, so whatever I said is pretty much irrelevant. :oops:

sunil880089
Posts: 16
Joined: Thu Jul 04, 2013 11:14 am

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 06, 2013 8:35 am

Dear ShiftPlusOne,

Thanks for the information,,,,,

gkreidl
Posts: 5325
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 06, 2013 9:04 am

sunil880089 wrote:Hi all,

Can anyone help me?
How can i control video player using commands....?
I want to stop, pause and play videos in video player using commands or script....

Thanks and regards..
Sunil
omxplayer is controlled via keyboard. Go to
http://omxplayer.sconde.net/
You'll find all keyboard commands there.

There are some python interfaces to control omxplayer, e. g.:
https://github.com/KenT2/tboplayer
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

sunil880089
Posts: 16
Joined: Thu Jul 04, 2013 11:14 am

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 06, 2013 9:09 am

Dear gkreidl,

Thanks for the reply..

I wan to control the omxplayer using c script ,,
How can i do this?
please help me..

Thanks and Regards
Sunil

gkreidl
Posts: 5325
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 06, 2013 9:19 am

You have to use a pipe to stdin to send commands to omxplayer.

A socket interface for commands is planned for a future relase.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

sunil880089
Posts: 16
Joined: Thu Jul 04, 2013 11:14 am

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 06, 2013 9:34 am

gkreidl wrote:You have to use a pipe to stdin to send commands to omxplayer.

A socket interface for commands is planned for a future relase.
Dear gkreidl,

Please can you give any example or related information.....?

Thank you

gkreidl
Posts: 5325
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 06, 2013 10:04 am

No, there's still work you have to research and do yourself.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

sunil880089
Posts: 16
Joined: Thu Jul 04, 2013 11:14 am

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Mon Jul 08, 2013 4:11 pm

Dear all,

Finally i installed vlc Player on Raspberry pi,
when i run the video file in vlc player its very slow and ..
i am getting following error on terminal...
no available xvideo adaptor
pulseaudio server connection failure connection refused
more than 5 seconds of late video -> dropping fram (computer too slow?)


Please help me to find the solution...

Thank you
Sunil

tuttomatto
Posts: 15
Joined: Sat Apr 26, 2014 5:45 pm

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 26, 2014 3:47 pm

vlc decodes and displays video by software. The arm processor of the RPi does not have enough calculating power to do that. But the GPU is powerful enough. The only video (and audio) player that can use the GPU is omxplayer.

you have the answer there 5 questions above ...

and you have the same answer when your RPI says "more than 5 seconds of late video -> dropping fram (computer too slow?)" COMPUTER TOO SLOW. If you absolutely want to use vlc, you have to overclock RPI, but at your own risk you can brick it !

if you want to use your RPI as a audio-video player, you should consider to use a distro like OpenElec

see ya

gkreidl
Posts: 5325
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 26, 2014 3:59 pm

tuttomatto wrote:vlc decodes and displays video by software. The arm processor of the RPi does not have enough calculating power to do that. But the GPU is powerful enough. The only video (and audio) player that can use the GPU is omxplayer.

you have the answer there 5 questions above ...

and you have the same answer when your RPI says "more than 5 seconds of late video -> dropping fram (computer too slow?)" COMPUTER TOO SLOW. If you absolutely want to use vlc, you have to overclock RPI, but at your own risk you can brick it !

if you want to use your RPI as a audio-video player, you should consider to use a distro like OpenElec

see ya
You answered to a post of more that a year ago!
BTW, it's possible to use a newer VLC version with hardware acceleration for the RPI, though it's not as efficient as omxplayer (no 1080p, for example). But you have to compile it yourself.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
fruitoftheloom
Posts: 15098
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: How to Run VLC player in RASPBERRY-PI - RPI-B-512-CASED-

Sat Jul 26, 2014 4:01 pm

tuttomatto wrote:vlc decodes and displays video by software. The arm processor of the RPi does not have enough calculating power to do that. But the GPU is powerful enough. The only video (and audio) player that can use the GPU is omxplayer.

you have the answer there 5 questions above ...

and you have the same answer when your RPI says "more than 5 seconds of late video -> dropping fram (computer too slow?)" COMPUTER TOO SLOW. If you absolutely want to use vlc, you have to overclock RPI, but at your own risk you can brick it !

if you want to use your RPI as a audio-video player, you should consider to use a distro like OpenElec

see ya
The post you are replying to is obsolete, as VLC can be compiled with HW acceleration http://www.raspberrypi.org/forums/viewt ... 63&t=58709
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC.
3 Mobile Huawei E5330 Mobile Mi-Fi

Return to “Beginners”

Who is online

Users browsing this forum: No registered users and 36 guests