VLC as external player

Is it possible to use VLC in OSMC instead of builtin DVDPlayer. As DVDPlayer is unable to play long streaming videos having playback more than 1 hr.
I tried installing VLC with apt-get install vlc, it can play video with ASCII characters in shell but when tried playing videos using “play using” option from Kodi context menu it failed.

So, my question is “Can VLC Work as external player in OSMC/KODI is it supported if not which other player is supported (with hardware acceleration ) ?”

Thank you

omx-player should be the default for hwaccelerated playback and can be selected in the menu. dvd-player is better in some applications like dvd-menus.

vlc is not hw-accelerated on the pi and as no x-server is used in osmc, it will not have a videotarget to play to.

Hello Mcobit,
Thank you for the reply
Do you mean there is option to change default player between omx-player and dvd-player from the Menu?
I could not find option to select player in the menu.

Can you please clarify

Here is my actual problem
I have been trying to play long youtube videos ( playback > 1 hr ) but it is failing consistently with error

ERROR: ffmpeg[A5B7E420]: [mov,mp4,m4a,3gp,3g2,mj2] error reading header

I am using Kodi on Raspberry Pi with OSMC distro.

Please refer error log

http://pastebin.com/Skgz1LEK

Debug log says it failed to read header
3:00:10 T:2812802080 DEBUG: Thread JobWorker 2812802080 terminating (autodelete)

23:00:20 T:2751198240 ERROR: ffmpeg[A3FBF420]: [mov,mp4,m4a,3gp,3g2,mj2] error reading header

23:00:20 T:2751198240 ERROR: Open - Error, could not open file https://r3---sn-i5uif5t-2o9e.googlevideo…75.185.58

23:00:20 T:2751198240 ERROR: OpenDemuxStream - Error creating demuxer

23:00:20 T:2751198240 NOTICE: CDVDPlayer::OnExit()

Please help in resolving this issue.

Thank you

Sorry, thought this was adjustable sometime ago.
If you have a look in the videosettings unter the acceleration tab, you will see some options where you can select, if omxplayer will be used or not.
To see the option, you need to switch to expert settings level first.

So not sure why you think that dvdplayer is the standart right now. I think it’s omxplayer.

You could try to deactivate the MMAL option to deactivate dvdplayer.

Thank you for the reply I could see the option now.

I tried to play long videos with suggested option but still same problem
ffmpeg[A3FBF420]: [mov,mp4,m4a,3gp,3g2,mj2] error reading header.

This is not observed if I set video quality to 240p.
This is happening for video streams from youtube / dailymotion etc. any video stream of longer playback is failing.
Do you have pointers , suggestions in resolving this ?
Can ffmpeg library updated in OSMC for Kodi ?

Thank you for your quick reply
I really appreciate your help

You should provide a full debuglog for the people here to look into.
I am out of ideas. Sorry.

Please refer debug kodi.log

http://pastebin.com/Skgz1LEK

I have also posted this query on Kodi forum but there is no reply
http://forum.kodi.tv/showthread.php?tid=219935

This issue is observed only in case of slow internet connection ( 512kbps connection )

Please have a look at log and let me know if you guys need any other logs.