Kodi Community Forum

Full Version: Integrating 3D Vision Player into XBMC Dharma?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just installed XBMC(v10.0 "Dharma" ) and can't figure out how to integrate my 3D Vision Player(for playing half/full sbs files) into XBMC. Is this even possible? I've searched and searched, but i can't find any kind of instructions specific to Nvidia's 3D Vision stereoscopic player being set up as an external player in XBMC.

I tried making a playercorefactory.xml for my Nvidia 3D Vision Player, as explained in the wiki found here. I now see the 'Nvidia 3D Vision Player' in XBMC when i right click a movie and select the "Play using" option(it's even the default for some files), but when i try to play it nothing happens. I'm not sure if i don't have the correct info in my playercorefactory.xml file or what, but i just copy and pasted the example code and then replaced the "player name" and the "filename"(path of my 3D Vision Player executable) attributes.

Is there anybody who has successfully integrated the "Nvidia 3D Vision Player" into XBMC, either as an external player or some other way? I'm very new to XBMC, and i absolutely love everything about it! To me it's one of the coolest things in my entire HT setup. If i could just find a solution to the problem above, it would be perfect. I'm really hoping you guys can help out!

Here's my HW/SW setup just in case you need that info to help me:
HTPC (W7 Pro) w/XBMC Dharma
GT 430 w/Nvidia 3D Vision
Acer 5360
You probably have an errior in the playercorefactory.xml file. Post the file here and I'll have a look.

The first step with problems like this is to enable debug logging, reproduce the error then look at the log file (%appdata%\xbmc\xbmc.log) to see what errors are reported there. If you can't make head nor tail of the log file pop it on pastebin.com for us to have a look at.

JR
Thanks for the reply, jhsrennie. I also wanted to ask if getting this player to work in XBMC in this way will even accomplish what i want to do, which is play two 3D files(SBS files) in the Nvidia 3D Vision "stereoscopic" player? If i got it set up to work as an external player, how would i load both at the same time?

Here's my logfile:

19:08:44 T:3704 M:1169420288 DEBUG: CGUIMediaWindow::GetDirectory (C:\00 MOVIES DOWNLOADS 00\3D MOVIES\)
19:08:44 T:3704 M:1169420288 DEBUG: ParentPath = []
19:08:44 T:460 M:1169264640 DEBUG: thread start, auto delete: 0
19:08:44 T:460 M:1169223680 DEBUG: Thread 460 terminating
19:08:48 T:3704 M:1180901376 DEBUG: CGUIMediaWindow::GetDirectory (C:\00 MOVIES DOWNLOADS 00\3D MOVIES\Sharks.3D.2004.L-R.1080p.Blu-ray.DTS.x264-ViSTA\)
19:08:48 T:3704 M:1180901376 DEBUG: ParentPath = [C:\00 MOVIES DOWNLOADS 00\3D MOVIES\]
19:08:48 T:4020 M:1180872704 DEBUG: thread start, auto delete: 0
19:08:48 T:4020 M:1180839936 DEBUG: Thread 4020 terminating
19:08:50 T:3704 M:1300881408 DEBUG: CPlayerCoreFactory::GetPlayers(C:\00 MOVIES DOWNLOADS 00\3D MOVIES\Sharks.3D.2004.L-R.1080p.Blu-ray.DTS.x264-ViSTA\Sharks.3D.2004.Left.1080p.Blu-ray.DTS.x264-ViSTA.mkv)
19:08:50 T:3704 M:1300553728 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: un-named
19:08:50 T:3704 M:1300455424 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: un-named
19:08:50 T:3704 M:1300389888 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: un-named
19:08:50 T:3704 M:1300140032 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: un-named
19:08:50 T:3704 M:1300021248 DEBUG: CPlayerSelectionRule::GetPlayers: adding player: NVIDIA 3D Vision Player (4) for rule: un-named
19:08:50 T:3704 M:1299939328 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
19:08:50 T:3704 M:1299857408 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
19:08:50 T:3704 M:1299791872 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
19:08:50 T:3704 M:1299677184 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
19:08:50 T:3704 M:1299546112 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
19:08:50 T:3704 M:1299447808 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
19:08:50 T:3704 M:1299447808 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
19:08:50 T:3704 M:1299447808 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
19:08:50 T:3704 M:1299447808 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
19:08:50 T:3704 M:1299447808 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
19:08:50 T:3704 M:1299447808 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
19:08:50 T:3704 M:1299447808 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
19:08:50 T:3704 M:1299447808 DEBUG: CPlayerCoreFactory::GetPlayers: matched 1 rules with players
19:08:50 T:3704 M:1299431424 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
19:08:50 T:3704 M:1299431424 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
19:08:50 T:3704 M:1299431424 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: NVIDIA 3D Vision Player (4)
19:08:50 T:3704 M:1299431424 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
19:08:50 T:3704 M:1299431424 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
19:08:50 T:3704 M:1299431424 DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
19:08:50 T:3704 M:1299419136 DEBUG: CFavourites::Load - no system favourites found, skipping
19:08:50 T:3704 M:1299402752 DEBUG: CVideoDatabase::GetMovieId (C:\00 MOVIES DOWNLOADS 00\3D MOVIES\Sharks.3D.2004.L-R.1080p.Blu-ray.DTS.x264-ViSTA\Sharks.3D.2004.Left.1080p.Blu-ray.DTS.x264-ViSTA.mkv), query = select idMovie from movie where idFile=144
19:08:50 T:3704 M:1299398656 DEBUG: CVideoDatabase::GetEpisodeId (C:\00 MOVIES DOWNLOADS 00\3D MOVIES\Sharks.3D.2004.L-R.1080p.Blu-ray.DTS.x264-ViSTA\Sharks.3D.2004.Left.1080p.Blu-ray.DTS.x264-ViSTA.mkv), query = select idEpisode from episode where idFile=144
19:08:50 T:3704 M:1299390464 INFO: Loading skin file: DialogContextMenu.xml
19:08:50 T:3704 M:1299386368 DEBUG: ------ Window Init (DialogContextMenu.xml) ------
19:08:51 T:3704 M:1256112128 DEBUG: FreeLibrary(secur32.dll) -> 09471F10
19:08:51 T:3704 M:1256112128 DEBUG: Win32DllLoader::Unload secur32.dll
19:08:51 T:3704 M:1256095744 DEBUG: SECTION:UnloadDll(special://xbmcbin/system/libcurl.dll)
19:08:51 T:3704 M:1256095744 DEBUG: Win32DllLoader::Unload libcurl.dll
19:08:51 T:3704 M:1256095744 DEBUG: FreeLibrary(libidn-11.dll) -> 090E4F60
19:08:51 T:3704 M:1256095744 DEBUG: Win32DllLoader::Unload libidn-11.dll
19:08:51 T:3704 M:1256095744 DEBUG: FreeLibrary(libeay32.dll) -> 090E4470
19:08:51 T:3704 M:1256095744 DEBUG: FreeLibrary(libssl32.dll) -> 090E41F0
19:08:51 T:3704 M:1256095744 DEBUG: Win32DllLoader::Unload libssl32.dll
19:08:51 T:3704 M:1256095744 DEBUG: FreeLibrary(libeay32.dll) -> 090E4470
19:08:51 T:3704 M:1256095744 DEBUG: Win32DllLoader::Unload libeay32.dll
19:08:52 T:3704 M:1298354176 DEBUG: ------ Window Deinit (DialogContextMenu.xml) ------
19:08:52 T:3704 M:1298731008 DEBUG: CPlayerCoreFactory::GetPlayers(C:\00 MOVIES DOWNLOADS 00\3D MOVIES\Sharks.3D.2004.L-R.1080p.Blu-ray.DTS.x264-ViSTA\Sharks.3D.2004.Left.1080p.Blu-ray.DTS.x264-ViSTA.mkv)
19:08:52 T:3704 M:1298731008 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: un-named
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: un-named
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: un-named
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: un-named
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: adding player: NVIDIA 3D Vision Player (4) for rule: un-named
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerCoreFactory::GetPlayers: matched 1 rules with players
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: NVIDIA 3D Vision Player (4)
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
19:08:52 T:3704 M:1298726912 DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
19:08:52 T:3704 M:1298726912 INFO: Loading skin file: DialogContextMenu.xml
19:08:52 T:3704 M:1298722816 DEBUG: ------ Window Init (DialogContextMenu.xml) ------
19:08:54 T:3704 M:1191530496 DEBUG: ------ Window Deinit (DialogContextMenu.xml) ------
19:08:54 T:3704 M:1191501824 NOTICE: ExternalPlayer Filename: C:\C:\Program Files (x86)\NVIDIA Corporation\NVIDIA 3D Vision Video Player\StereoPlayer.exe
19:08:54 T:3704 M:1191501824 WARNING: ExternalPlayer: invalid value for warpcursor: none
19:08:54 T:3704 M:1191501824 NOTICE: ExternalPlayer Tweaks: hideconsole (false), hidexbmc (false), islauncher (false), warpcursor (none)
19:08:54 T:3704 M:1191497728 NOTICE: CExternalPlayer::OpenFile: C:\00 MOVIES DOWNLOADS 00\3D MOVIES\Sharks.3D.2004.L-R.1080p.Blu-ray.DTS.x264-ViSTA\Sharks.3D.2004.Left.1080p.Blu-ray.DTS.x264-ViSTA.mkv
19:08:54 T:3704 M:1191497728 DEBUG: CGUIAudioManager:Big GrineInitialize
19:08:54 T:3704 M:1191497728 DEBUG: CAnnouncementManager - Announcement: PlaybackStarted from xbmc
19:08:54 T:1340 M:1191469056 DEBUG: thread start, auto delete: 0
19:08:54 T:1340 M:1191469056 NOTICE: CExternalPlayer:Tonguerocess: Player : C:\C:\Program Files (x86)\NVIDIA Corporation\NVIDIA 3D Vision Video Player\StereoPlayer.exe
19:08:54 T:1340 M:1191469056 NOTICE: CExternalPlayer:Tonguerocess: File : C:\00 MOVIES DOWNLOADS 00\3D MOVIES\Sharks.3D.2004.L-R.1080p.Blu-ray.DTS.x264-ViSTA\Sharks.3D.2004.Left.1080p.Blu-ray.DTS.x264-ViSTA.mkv
19:08:54 T:1340 M:1191469056 NOTICE: CExternalPlayer:Tonguerocess: Content:
19:08:54 T:1340 M:1191469056 NOTICE: CExternalPlayer:Tonguerocess: Args : "{1}" /fullscreen /close
19:08:54 T:1340 M:1191469056 NOTICE: CExternalPlayer:Tonguerocess: Start
19:08:54 T:1340 M:1191469056 NOTICE: CExternalPlayer:Tonguerocess: Releasing audio device 2
19:08:54 T:1340 M:1191464960 DEBUG: CAudioContext::SetActiveDevice - SetActiveDevice from 2 to 0
19:08:54 T:1340 M:1191464960 DEBUG: CAudioContext::RemoveActiveDevice - Removing device 2
19:08:54 T:1340 M:1191538688 DEBUG: CExternalPlayer:Tonguerocess: Unlocking foreground window
19:08:54 T:1340 M:1191530496 NOTICE: CExternalPlayer::ExecuteAppW32: C:\C:\Program Files (x86)\NVIDIA Corporation\NVIDIA 3D Vision Video Player\StereoPlayer.exe "C:\C:\Program Files (x86)\NVIDIA Corporation\NVIDIA 3D Vision Video Player\StereoPlayer.exe" "C:\00 MOVIES DOWNLOADS 00\3D MOVIES\Sharks.3D.2004.L-R.1080p.Blu-ray.DTS.x264-ViSTA\Sharks.3D.2004.Left.1080p.Blu-ray.DTS.x264-ViSTA.mkv" /fullscreen /close
19:08:54 T:1340 M:1191530496 NOTICE: CExternalPlayer::ExecuteAppW32 - Failure: 123
19:08:54 T:1340 M:1191530496 NOTICE: CExternalPlayer:Tonguerocess: Stop
19:08:54 T:1340 M:1191530496 NOTICE: CExternalPlayer:Tonguerocess: Showing XBMC window
19:08:54 T:3704 M:1191530496 DEBUG: CGUIInfoManager::SetCurrentMovie(C:\00 MOVIES DOWNLOADS 00\3D MOVIES\Sharks.3D.2004.L-R.1080p.Blu-ray.DTS.x264-ViSTA\Sharks.3D.2004.Left.1080p.Blu-ray.DTS.x264-ViSTA.mkv)
19:08:54 T:3704 M:1191530496 DEBUG: CVideoDatabase::GetMovieId (C:\00 MOVIES DOWNLOADS 00\3D MOVIES\Sharks.3D.2004.L-R.1080p.Blu-ray.DTS.x264-ViSTA\Sharks.3D.2004.Left.1080p.Blu-ray.DTS.x264-ViSTA.mkv), query = select idMovie from movie where idFile=144
19:08:54 T:3704 M:1191530496 DEBUG: CVideoDatabase::GetEpisodeId (C:\00 MOVIES DOWNLOADS 00\3D MOVIES\Sharks.3D.2004.L-R.1080p.Blu-ray.DTS.x264-ViSTA\Sharks.3D.2004.Left.1080p.Blu-ray.DTS.x264-ViSTA.mkv), query = select idEpisode from episode where idFile=144
19:08:54 T:3704 M:1191518208 DEBUG: CVideoDatabase::GetMusicVideoId (C:\00 MOVIES DOWNLOADS 00\3D MOVIES\Sharks.3D.2004.L-R.1080p.Blu-ray.DTS.x264-ViSTA\Sharks.3D.2004.Left.1080p.Blu-ray.DTS.x264-ViSTA.mkv), query = select idMVideo from musicvideo where idFile=144
19:08:54 T:1340 M:1176375296 NOTICE: CExternalPlayer:Tonguerocess: Reclaiming audio device 2
19:08:54 T:1340 M:1176375296 DEBUG: CAudioContext::SetActiveDevice - SetActiveDevice from 0 to 2
19:08:54 T:1340 M:1176375296 DEBUG: CAudioContext::RemoveActiveDevice - Removing device 0
19:08:54 T:1340 M:1176363008 DEBUG: CWDSound::direct_sound_enumerator_member_callback - found Device: Primary Sound Driver
19:08:54 T:1340 M:1176363008 DEBUG: CWDSound::direct_sound_enumerator_member_callback - found Device: Digital Audio (S/PDIF) (High Definition Audio Device)
19:08:54 T:1340 M:1176363008 DEBUG: CWDSound::direct_sound_enumerator_member_callback - found Device: Speakers (High Definition Audio Device)
19:08:54 T:1340 M:1176363008 DEBUG: CAudioContext::SetActiveDevice - selecting Digital Audio (S/PDIF) (High Definition Audio Device) as output devices
19:08:54 T:1340 M:1170432000 DEBUG: CAnnouncementManager - Announcement: PlaybackStopped from xbmc
19:08:54 T:1340 M:1169891328 DEBUG: Thread 1340 terminating
19:08:54 T:3704 M:1162096640 DEBUG: CGUIAudioManager::Initialize
19:08:59 T:3704 M:1156116480 DEBUG: CWinEventsWin32::WndProcWindow is active
19:08:59 T:3704 M:1156116480 DEBUG: CWinEventsWin32::WndProcWindow lost focus
Please don't post large chunks of log in the forum. If you need to post a log please use pastebin.com and post the link here.

Looking at your log, the external player is set as:

C:\C:\Program Files (x86)\NVIDIA Corporation\NVIDIA 3D Vision Video Player\StereoPlayer.exe

which obviously doesn't work. There is an error in your playercorefactory.xml. If you post your playercorefactory.xml here I'll see if I can spot the error.

There isn't any easy way to pass two files to an external player. Assuming the file names are related, i.e. you can guess the second file name given the first, you would have to set the external player to run a batch file, and in that batch file you'd have to construct the command to run the NVIDIA player. This sounds harder than it is.

JR
Thank you, thank you, thank you! I got it working!

I apologize for posting the large chunk of log, i should have known better... i've just been so discombobulated lately. It won't happen again.

I must have missed the C:\(which was already there before pasting) when pasting in the path to my '3D Vision Player', so i ended up with C:\C:\ at the beginning. After reading your post, i went and corrected my playercorefactory.xml and it now starts up ok, but with only the one file. If you could help me with the "batch file solution" i'd be ecstatic! But you're right, it definitely sounds difficult for someone like me to do, so i hope you think it's easy enough to explain it to where i could get it done.

The 2 files always have the exact same name except one has the word "Left", "LEFT", or "left" somewhere in it...and the other one has "Right", "RIGHT", or "right" in it. So i don't think that would be a problem if i understood you right.
You need to work out how to start the player from the command line. At the moment your playercorefactory is running the command (taking an example from your log):

Code:
"C:\Program Files (x86)\NVIDIA Corporation\NVIDIA 3D Vision Video Player\StereoPlayer.exe" "C:\00 MOVIES DOWNLOADS 00\3D MOVIES\Sharks.3D.2004.L-R.1080p.Blu-ray.DTS.x264-ViSTA\Sharks.3D.2004.Left.1080p.Blu-ray.DTS.x264-ViSTA.mkv"

If you open a command prompt and manually run this command does it start the film in 3D? If it doesn't start in 3D you have to work out what arguments you need to start in 3D.

JR
The command you posted above opens my 3D Vision Player, but doesn't play any files. Do you have any arguments i could try, and where and how do i implement them?
I don't use 3D Vision Player so I can't comment. There must be a forum somewhere that supports it. Try asking there what the command line arguments should be.

JR
Hi,
as Nvidias Player is a lightweight Version of 3dtv.at's Stereo Player (afaik), you can use most of this player's Command Line Arguments :

Syntax:
StereoPlayer.exe [{Filename | -file:Filename | -dvd:Folder | -url:URL | -svi:Filename | -left:Filename -right:Filename [-audio:Filename]| -drvBig Grinevicename| -cmd:Filename} [-il:Input Layout] [-is:Input Separation] [-cl] [-cr] [-ct] [-cb] [-ph] [-pv] [-di:{0|1}] {[-ihw] [-ihh] | [-ax:Aspect Ratio X] [-ay:Aspect Ratio Y]} [-inf:Information File] [-src:Source] [-img:JPEG Filename] [-fp] [-play] [-fss] [-fsu]] [-ol:Output Layout] [-os:Output Separation] [-ohw] [-ohh] [-flh] [-flv] [-frh][-frv] [-nl] [-term] [-termsc] [-termkey] [-termend] [-logdir:Folder] [-grassfish:Folder]

Full list on:
http://3dtv.at/products/Player/CmdLineParams_en.aspx
As I've seen,the player doesn't like Unicode...:confused2: