home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
How to play a video?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rudolph" data-source="post: 37208" data-attributes="member: 17353"><p>Your code shows video on my system in VMR 7 mode,</p><p>as you can see in the log file below.</p><p></p><p>however it seems to work only with VMR7, not with VMR9, that is shown in mediaportal log 2.</p><p>I hope it helped.</p><p></p><p></p><p>9-2-2006 22:54:15 window:OurPlugin.Class1 init</p><p>9-2-2006 22:54:16 key:13 0xD (2)</p><p>9-2-2006 22:54:16 player: file is not live tv, so stop timeshifting:C:\download\hp\mvn-hp401\mvn-hp401.avi</p><p>9-2-2006 22:54:16 g_Player.Play(C:\download\hp\mvn-hp401\mvn-hp401.avi)</p><p>9-2-2006 22:54:16 Loading external players plugins</p><p>9-2-2006 22:54:16 found plugin:MediaPortal.ITunesPlayer.ITunesPlugin in plugins\ExternalPlayers\ExternalPlayers.dll</p><p>9-2-2006 22:54:16 player:iTunes audio player. author: Frodo</p><p>9-2-2006 22:54:16 found plugin:MediaPortal.FoobarPlugin.FoobarPlugin in plugins\ExternalPlayers\ExternalPlayers.dll</p><p>9-2-2006 22:54:16 player:Foobar2000. author: int_20h</p><p>9-2-2006 22:54:16 found plugin:MediaPortal.WinampPlayer.WinampPlugin in plugins\ExternalPlayers\ExternalPlayers.dll</p><p>9-2-2006 22:54:16 player:Winamp. author: int_20h</p><p>9-2-2006 22:54:16 VideoPlayer<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />lay C:\download\hp\mvn-hp401\mvn-hp401.avi</p><p>9-2-2006 22:54:16 VMR7Helper:AddVMR7</p><p>9-2-2006 22:54:16 playingFalse radio:False</p><p>9-2-2006 22:54:16 add filter<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" />efault DirectSound Device to graph clock<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" />efault DirectSound Device</p><p>9-2-2006 22:54:17 added filter<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" />efault DirectSound Device to graph</p><p>9-2-2006 22:54:18 overlay: video WxH : 640x272</p><p>9-2-2006 22:54:18 overlay: video AR : 640:272</p><p>9-2-2006 22:54:18 overlay: screen WxH : 720x576</p><p>9-2-2006 22:54:18 overlay: AR type : Normal</p><p>9-2-2006 22:54:18 overlay: PixelRatio : 1</p><p>9-2-2006 22:54:18 overlay: src : (0,0)-(640,272)</p><p>9-2-2006 22:54:18 overlay: dst : (0,135)-(720,441)</p><p>9-2-2006 22:54:18 VideoPlayer<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" />uration:4289,2</p><p>9-2-2006 22:54:18 g_Player.OnStarted() C:\download\hp\mvn-hp401\mvn-hp401.avi media:Video</p><p>9-2-2006 22:54:18 opening video database</p><p></p><p></p><p>with VMR9 this is the result</p><p></p><p>9-2-2006 23:11:25 window:OurPlugin.Class1 init</p><p>9-2-2006 23:11:26 player: file is not live tv, so stop timeshifting:C:\download\hp\mvn-hp401\mvn-hp401.avi</p><p>9-2-2006 23:11:26 g_Player.Play(C:\download\hp\mvn-hp401\mvn-hp401.avi)</p><p>9-2-2006 23:11:26 Loading external players plugins</p><p>9-2-2006 23:11:26 found plugin:MediaPortal.ITunesPlayer.ITunesPlugin in plugins\ExternalPlayers\ExternalPlayers.dll</p><p>9-2-2006 23:11:26 player:iTunes audio player. author: Frodo</p><p>9-2-2006 23:11:26 found plugin:MediaPortal.FoobarPlugin.FoobarPlugin in plugins\ExternalPlayers\ExternalPlayers.dll</p><p>9-2-2006 23:11:26 player:Foobar2000. author: int_20h</p><p>9-2-2006 23:11:26 found plugin:MediaPortal.WinampPlayer.WinampPlugin in plugins\ExternalPlayers\ExternalPlayers.dll</p><p>9-2-2006 23:11:26 player:Winamp. author: int_20h</p><p>9-2-2006 23:11:26 VideoPlayer<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />lay C:\download\hp\mvn-hp401\mvn-hp401.avi</p><p>9-2-2006 23:11:27 playingFalse radio:False</p><p>9-2-2006 23:11:27 VideoPlayer9:exception while creating DShow graph Creating an instance of the COM component with CLSID {51B4ABF3-748F-4E3B-A276-C828330E926A} from the IClassFactory failed due to the following error: 80040273. at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)</p><p> at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)</p><p> at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)</p><p> at System.Activator.CreateInstance(Type type, Boolean nonPublic)</p><p> at MediaPortal.Player.VMR9Util.AddVMR9(IGraphBuilder graphBuilder)</p><p> at MediaPortal.Player.VideoPlayerVMR9.GetInterfaces()</p><p>9-2-2006 23:11:27 player:ended</p><p>9-2-2006 23:11:27 VideoPlayer9:cleanup DShow graph</p><p>9-2-2006 23:11:27 window:MediaPortal.Dialogs.GUIDialogOK init</p><p>9-2-2006 23:11:29 window:MediaPortal.Dialogs.GUIDialogOK init</p><p>9-2-2006 23:11:32 player: file is not live tv, so stop timeshifting:C:\download\hp\mvn-hp401\mvn-hp401.avi</p><p>9-2-2006 23:11:32 g_Player.Play(C:\download\hp\mvn-hp401\mvn-hp401.avi)</p><p>9-2-2006 23:11:32 VideoPlayer<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />lay C:\download\hp\mvn-hp401\mvn-hp401.avi</p><p><strong>9-2-2006 23:11:32 VideoPlayer9:exception while creating DShow graph Creating an instance of the COM component with CLSID {51B4ABF3-748F-4E3B-A276-C828330E926A} from the IClassFactory failed due to the following error: 80040273. </strong> at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)</p><p> at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)</p><p> at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)</p><p> at System.Activator.CreateInstance(Type type, Boolean nonPublic)</p><p> at MediaPortal.Player.VMR9Util.AddVMR9(IGraphBuilder graphBuilder)</p><p> at MediaPortal.Player.VideoPlayerVMR9.GetInterfaces()</p><p>9-2-2006 23:11:32 player:ended</p></blockquote><p></p>
[QUOTE="Rudolph, post: 37208, member: 17353"] Your code shows video on my system in VMR 7 mode, as you can see in the log file below. however it seems to work only with VMR7, not with VMR9, that is shown in mediaportal log 2. I hope it helped. 9-2-2006 22:54:15 window:OurPlugin.Class1 init 9-2-2006 22:54:16 key:13 0xD (2) 9-2-2006 22:54:16 player: file is not live tv, so stop timeshifting:C:\download\hp\mvn-hp401\mvn-hp401.avi 9-2-2006 22:54:16 g_Player.Play(C:\download\hp\mvn-hp401\mvn-hp401.avi) 9-2-2006 22:54:16 Loading external players plugins 9-2-2006 22:54:16 found plugin:MediaPortal.ITunesPlayer.ITunesPlugin in plugins\ExternalPlayers\ExternalPlayers.dll 9-2-2006 22:54:16 player:iTunes audio player. author: Frodo 9-2-2006 22:54:16 found plugin:MediaPortal.FoobarPlugin.FoobarPlugin in plugins\ExternalPlayers\ExternalPlayers.dll 9-2-2006 22:54:16 player:Foobar2000. author: int_20h 9-2-2006 22:54:16 found plugin:MediaPortal.WinampPlayer.WinampPlugin in plugins\ExternalPlayers\ExternalPlayers.dll 9-2-2006 22:54:16 player:Winamp. author: int_20h 9-2-2006 22:54:16 VideoPlayer:play C:\download\hp\mvn-hp401\mvn-hp401.avi 9-2-2006 22:54:16 VMR7Helper:AddVMR7 9-2-2006 22:54:16 playingFalse radio:False 9-2-2006 22:54:16 add filter:Default DirectSound Device to graph clock:Default DirectSound Device 9-2-2006 22:54:17 added filter:Default DirectSound Device to graph 9-2-2006 22:54:18 overlay: video WxH : 640x272 9-2-2006 22:54:18 overlay: video AR : 640:272 9-2-2006 22:54:18 overlay: screen WxH : 720x576 9-2-2006 22:54:18 overlay: AR type : Normal 9-2-2006 22:54:18 overlay: PixelRatio : 1 9-2-2006 22:54:18 overlay: src : (0,0)-(640,272) 9-2-2006 22:54:18 overlay: dst : (0,135)-(720,441) 9-2-2006 22:54:18 VideoPlayer:Duration:4289,2 9-2-2006 22:54:18 g_Player.OnStarted() C:\download\hp\mvn-hp401\mvn-hp401.avi media:Video 9-2-2006 22:54:18 opening video database with VMR9 this is the result 9-2-2006 23:11:25 window:OurPlugin.Class1 init 9-2-2006 23:11:26 player: file is not live tv, so stop timeshifting:C:\download\hp\mvn-hp401\mvn-hp401.avi 9-2-2006 23:11:26 g_Player.Play(C:\download\hp\mvn-hp401\mvn-hp401.avi) 9-2-2006 23:11:26 Loading external players plugins 9-2-2006 23:11:26 found plugin:MediaPortal.ITunesPlayer.ITunesPlugin in plugins\ExternalPlayers\ExternalPlayers.dll 9-2-2006 23:11:26 player:iTunes audio player. author: Frodo 9-2-2006 23:11:26 found plugin:MediaPortal.FoobarPlugin.FoobarPlugin in plugins\ExternalPlayers\ExternalPlayers.dll 9-2-2006 23:11:26 player:Foobar2000. author: int_20h 9-2-2006 23:11:26 found plugin:MediaPortal.WinampPlayer.WinampPlugin in plugins\ExternalPlayers\ExternalPlayers.dll 9-2-2006 23:11:26 player:Winamp. author: int_20h 9-2-2006 23:11:26 VideoPlayer:play C:\download\hp\mvn-hp401\mvn-hp401.avi 9-2-2006 23:11:27 playingFalse radio:False 9-2-2006 23:11:27 VideoPlayer9:exception while creating DShow graph Creating an instance of the COM component with CLSID {51B4ABF3-748F-4E3B-A276-C828330E926A} from the IClassFactory failed due to the following error: 80040273. at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at MediaPortal.Player.VMR9Util.AddVMR9(IGraphBuilder graphBuilder) at MediaPortal.Player.VideoPlayerVMR9.GetInterfaces() 9-2-2006 23:11:27 player:ended 9-2-2006 23:11:27 VideoPlayer9:cleanup DShow graph 9-2-2006 23:11:27 window:MediaPortal.Dialogs.GUIDialogOK init 9-2-2006 23:11:29 window:MediaPortal.Dialogs.GUIDialogOK init 9-2-2006 23:11:32 player: file is not live tv, so stop timeshifting:C:\download\hp\mvn-hp401\mvn-hp401.avi 9-2-2006 23:11:32 g_Player.Play(C:\download\hp\mvn-hp401\mvn-hp401.avi) 9-2-2006 23:11:32 VideoPlayer:play C:\download\hp\mvn-hp401\mvn-hp401.avi [b]9-2-2006 23:11:32 VideoPlayer9:exception while creating DShow graph Creating an instance of the COM component with CLSID {51B4ABF3-748F-4E3B-A276-C828330E926A} from the IClassFactory failed due to the following error: 80040273. [/b] at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at MediaPortal.Player.VMR9Util.AddVMR9(IGraphBuilder graphBuilder) at MediaPortal.Player.VideoPlayerVMR9.GetInterfaces() 9-2-2006 23:11:32 player:ended [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
How to play a video?
Contact us
RSS
Top
Bottom