Posts: 4
Joined: Jul 2010
Reputation:
0
Hi there,
since I was experiencing problems with the deinterlacing when playing TV recordings as well as DVD, I have now switched to VLC as external player. Since it took me quite some time to find the right command line parameters, I would like them to share (just in case someone else is having the same difficulties..):
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>c:\Program Files\VideoLAN\VLC\vlc.exe</filename>
<args> --qt-minimal-view --no-qt-name-in-title --no-qt-video-autoresize --deinterlace=-1 --deinterlace-mode=linear</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
I am still having the problem that when VLC is closing I am having a black screen and only after I press the left mouse button the XBMC menu is visible again. Maybe someone has an idea...
Posts: 2,759
Joined: Jan 2009
Reputation:
17
Try with System\System\Video\Use A fullscreen window rather than a true fullscreen checked. Also after checking that option try reverting to the wiki setting of 'false and false' in <hidexbmc> and <hideconsole>.
Posts: 4
Joined: Jul 2010
Reputation:
0
Thank you very much! The suggested setting solved my problem!!
Posts: 4
Joined: Jul 2010
Reputation:
0
2010-08-01, 11:21
(This post was last modified: 2010-08-01, 11:23 by tobif2000.)
I have made some more improvements which might be interesting for other people to know. When listening to music I want to use the speakers which are connected to the stereo, and for video playback I want to use the HDMI playback device as audio device. So I was looking for a way to change the default audio device depending the media I want to play.
I managed to do so by making two settings for two external players in the playercoreconfigs:
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>c:\Program Files\VideoLAN\VLC\vlc.exe</filename>
<args> --qt-minimal-view --no-qt-name-in-title --no-qt-video-autoresize --deinterlace=-1 --deinterlace-mode=linear</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="VLC_Audio" type="ExternalPlayer" audio="true" video="false">
<filename>c:\Program Files\VideoLAN\VLC\vlc.exe</filename>
<args> --directx-audio-device-name="Lautsprecher (VIA High Definition Audio)"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
And in the advanced settings I made following adjustments:
<video>
<defaultplayer>VLC</defaultplayer>
</video>
<audio>
<defaultplayer>VLC_Audio</defaultplayer>
</audio>
The exact name of the direct x output device depends on the name of the device you want to use. It is quite easy to find out: Using the VLC GUi it is quite simple to change the output device.Go to Settings->audio. When you choose direct x output you can select the different devices. The settings only take effect after restart!!
These settings are stored in a file which can be found at c:\Users\[usre]\AppData\Roaming\vlc\ The file is called vlcrc. Search for he tag aout. There is name of the chosen device. From there you can copy and paste it!
In my case the default setting in the gui is the HDMI output. And only listening to music the output device is set to the speakers.
Posts: 1,211
Joined: Apr 2010
Reputation:
88
CrystalP
Team-Kodi Developer
Posts: 1,211
Not needed, the black screen problem was fixed.
Posts: 508
Joined: Aug 2010
2011-10-23, 11:54
(This post was last modified: 2011-10-23, 12:45 by john.doe.)
Because I didn't see these in this thread and it took me forever to find out
in
<args> --qt-minimal-view --no-qt-name-in-title --no-qt-video-autoresize --deinterlace=-1 --deinterlace-mode=linear</args>
add '--fullscreen' for vlc to automatically go full screen
add '--extraintf http' if you use the http interface for remote control
add '--play-and-exit' Exit when video is finished so it can continue on to others in the queue or just to bring XBMC back
To set VLC as the default player
in %appdata%\XBMC\userdata create advancedsettings.xml
type
<advancedsettings>
<video>
<defaultplayer>VLC</defaultplayer>
</video>
</advancedsettings>
(there could be a typo as I'm not copy pasting this)
I haven't tried this yet, but you could possibly set <hidexbmc>false</hidexbmc> to true so the screen doesn't flash bringing xbmc back.
There could be better ways of doing this, but I'm an xbmc noob and this is how I got it working
Posts: 656
Joined: Aug 2011
Reputation:
11
I'm new to all this configuration business - hope someone can help.
I simply want to be able to switch to VLC when I select on right click the Play using option.
I don't want vlc as the default player.
Can someone give clear instructions on how to do this - which files need amending or creating (assuming I use the code in post 1)