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
Popular Plugins
Moving Pictures
Play Trailer when Movie details are shown
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="Reinhard Achleitner" data-source="post: 1097933" data-attributes="member: 149655"><p>Hi!</p><p></p><p>I want to play a found trailer in the small preview control in top of the screen when a movie is selected. </p><p>I changed the code to do this and it works as expected. But when the trailer is playing and i want to start the movie, MP is freezing. When the trailer isn't playing, the movie starts as expected.</p><p></p><p>MovingPicturesGUI: PublishMovieDetails.cs i play the trailer with the PlayFile method of MoviePlayer.cs</p><p></p><p>Here is the log of mediaportal. Can someone of the developers give me a hint?</p><p></p><p>[2014-08-29 21:06:53,769] [Log ] [22 ] [INFO ] - g_Player.OnStarted() \\Ally-pc\o\Filme\Comics\The Amazing Spider Man 2\Trailer.mov media:Video</p><p>[2014-08-29 21:06:53,884] [Log ] [ViewModeSwitcher] [INFO ] - ViewModeSwitcher: Rule "16:9 SD" fits conditions.</p><p>[2014-08-29 21:06:53,885] [Log ] [41 ] [INFO ] - PlaneScene: video WxH : 640x360</p><p>[2014-08-29 21:06:53,885] [Log ] [41 ] [INFO ] - PlaneScene: screen WxH : 513x321</p><p>[2014-08-29 21:06:53,915] [Log ] [41 ] [INFO ] - PlaneScene: Crop: top:4, bottom:4, left:8, right:8</p><p>[2014-08-29 21:06:53,916] [Log ] [41 ] [INFO ] - PlaneScene: video WxH : 640x360</p><p>[2014-08-29 21:06:53,916] [Log ] [41 ] [INFO ] - PlaneScene: screen WxH : 513x321</p><p>[2014-08-29 21:06:56,423] [Log ] [41 ] [INFO ] - ViewModeSwitcher: Switching to viewmode: Zoom14to9</p><p>[2014-08-29 21:06:56,424] [Log ] [41 ] [INFO ] - PlaneScene: Crop: top:4, bottom:4, left:8, right:8</p><p>[2014-08-29 21:06:56,424] [Log ] [41 ] [INFO ] - PlaneScene: video WxH : 640x360</p><p>[2014-08-29 21:06:56,424] [Log ] [41 ] [INFO ] - PlaneScene: screen WxH : 513x321</p><p>[2014-08-29 21:06:56,503] [Log ] [MPMain ] [INFO ] - TvNotify:LoadNotifies</p><p>[2014-08-29 21:06:56,754] [Log ] [MPMain ] [INFO ] - TvNotify: 0 notifies</p><p>[2014-08-29 21:06:56,801] [Log ] [MPMain ] [INFO ] - g_Player.OnStopped()</p><p>[2014-08-29 21:06:56,812] [Log ] [MPMain ] [INFO ] - GUIVideoFiles: OnPlayBackStopped idFile=911 timeMovieStopped=2 resumeData= bdtitle=0</p><p>[2014-08-29 21:06:56,818] [Log ] [MPMain ] [INFO ] - RadioRecorded:OnPlayRecordingBackStopped Video \\Ally-pc\o\Filme\Comics\The Amazing Spider Man 2\Trailer.mov</p><p>[2014-08-29 21:06:56,819] [Log ] [MPMain ] [INFO ] - TvRecorded:OnPlayRecordingBackStopped Video \\Ally-pc\o\Filme\Comics\The Amazing Spider Man 2\Trailer.mov</p><p>[2014-08-29 21:06:56,820] [Log ] [MPMain ] [INFO ] - VideoPlayer:ended \\Ally-pc\o\Filme\Comics\The Amazing Spider Man 2\Trailer.mov</p><p>[2014-08-29 21:06:56,820] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Cleanup DShow graph</p><p>[2014-08-29 21:06:56,831] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Cleanup Sub/PostProcess</p><p>[2014-08-29 21:06:56,831] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Cleanup VideoCodec</p><p>[2014-08-29 21:06:56,832] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Cleanup AudioCodec</p><p>[2014-08-29 21:06:56,835] [Error ] [MPMain ] [ERROR] - VideoPlayer9: Exception while cleanuping DShow graph - Das COM-Objekt des Typs "System.__ComObject" kann nicht in den Schnittstellentyp "DirectShowLib.IBaseFilter" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID "{56A86895-0AD4-11CE-B03A-0020AF0BA770}" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Schnittstelle nicht unterstützt (Ausnahme von HRESULT: 0x80004002 (E_NOINTERFACE)). bei System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)</p><p> bei DirectShowLib.IBaseFilter.EnumPins(IEnumPins& ppEnum)</p><p> bei DShowNET.Helper.DirectShowUtil.DisconnectAllPins(IGraphBuilder graphBuilder, IBaseFilter filter)</p><p> bei MediaPortal.Player.VideoPlayerVMR9.Cleanup()</p><p>[2014-08-29 21:06:56,846] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Disabling DX9 exclusive mode</p><p>[2014-08-29 21:06:56,846] [Log ] [MPMain ] [INFO ] - Main: GUI_MSG_SWITCH_FULL_WINDOWED message is obsolete.</p><p>[2014-08-29 21:06:56,846] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Cleanup DShow graph</p><p>[2014-08-29 21:06:56,847] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Cleanup Sub/PostProcess</p><p>[2014-08-29 21:06:56,848] [Error ] [MPMain ] [ERROR] - VideoPlayer9: Exception while cleanuping DShow graph - Das COM-Objekt des Typs "System.__ComObject" kann nicht in den Schnittstellentyp "DirectShowLib.IBaseFilter" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID "{56A86895-0AD4-11CE-B03A-0020AF0BA770}" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Schnittstelle nicht unterstützt (Ausnahme von HRESULT: 0x80004002 (E_NOINTERFACE)). bei System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)</p><p> bei DirectShowLib.IBaseFilter.EnumPins(IEnumPins& ppEnum)</p><p> bei DShowNET.Helper.DirectShowUtil.DisconnectAllPins(IGraphBuilder graphBuilder, IBaseFilter filter)</p><p> bei MediaPortal.Player.VideoPlayerVMR9.Cleanup()</p><p>[2014-08-29 21:06:56,849] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Disabling DX9 exclusive mode</p><p></p><p>kind regards</p><p></p><p>Reinhard</p></blockquote><p></p>
[QUOTE="Reinhard Achleitner, post: 1097933, member: 149655"] Hi! I want to play a found trailer in the small preview control in top of the screen when a movie is selected. I changed the code to do this and it works as expected. But when the trailer is playing and i want to start the movie, MP is freezing. When the trailer isn't playing, the movie starts as expected. MovingPicturesGUI: PublishMovieDetails.cs i play the trailer with the PlayFile method of MoviePlayer.cs Here is the log of mediaportal. Can someone of the developers give me a hint? [2014-08-29 21:06:53,769] [Log ] [22 ] [INFO ] - g_Player.OnStarted() \\Ally-pc\o\Filme\Comics\The Amazing Spider Man 2\Trailer.mov media:Video [2014-08-29 21:06:53,884] [Log ] [ViewModeSwitcher] [INFO ] - ViewModeSwitcher: Rule "16:9 SD" fits conditions. [2014-08-29 21:06:53,885] [Log ] [41 ] [INFO ] - PlaneScene: video WxH : 640x360 [2014-08-29 21:06:53,885] [Log ] [41 ] [INFO ] - PlaneScene: screen WxH : 513x321 [2014-08-29 21:06:53,915] [Log ] [41 ] [INFO ] - PlaneScene: Crop: top:4, bottom:4, left:8, right:8 [2014-08-29 21:06:53,916] [Log ] [41 ] [INFO ] - PlaneScene: video WxH : 640x360 [2014-08-29 21:06:53,916] [Log ] [41 ] [INFO ] - PlaneScene: screen WxH : 513x321 [2014-08-29 21:06:56,423] [Log ] [41 ] [INFO ] - ViewModeSwitcher: Switching to viewmode: Zoom14to9 [2014-08-29 21:06:56,424] [Log ] [41 ] [INFO ] - PlaneScene: Crop: top:4, bottom:4, left:8, right:8 [2014-08-29 21:06:56,424] [Log ] [41 ] [INFO ] - PlaneScene: video WxH : 640x360 [2014-08-29 21:06:56,424] [Log ] [41 ] [INFO ] - PlaneScene: screen WxH : 513x321 [2014-08-29 21:06:56,503] [Log ] [MPMain ] [INFO ] - TvNotify:LoadNotifies [2014-08-29 21:06:56,754] [Log ] [MPMain ] [INFO ] - TvNotify: 0 notifies [2014-08-29 21:06:56,801] [Log ] [MPMain ] [INFO ] - g_Player.OnStopped() [2014-08-29 21:06:56,812] [Log ] [MPMain ] [INFO ] - GUIVideoFiles: OnPlayBackStopped idFile=911 timeMovieStopped=2 resumeData= bdtitle=0 [2014-08-29 21:06:56,818] [Log ] [MPMain ] [INFO ] - RadioRecorded:OnPlayRecordingBackStopped Video \\Ally-pc\o\Filme\Comics\The Amazing Spider Man 2\Trailer.mov [2014-08-29 21:06:56,819] [Log ] [MPMain ] [INFO ] - TvRecorded:OnPlayRecordingBackStopped Video \\Ally-pc\o\Filme\Comics\The Amazing Spider Man 2\Trailer.mov [2014-08-29 21:06:56,820] [Log ] [MPMain ] [INFO ] - VideoPlayer:ended \\Ally-pc\o\Filme\Comics\The Amazing Spider Man 2\Trailer.mov [2014-08-29 21:06:56,820] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Cleanup DShow graph [2014-08-29 21:06:56,831] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Cleanup Sub/PostProcess [2014-08-29 21:06:56,831] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Cleanup VideoCodec [2014-08-29 21:06:56,832] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Cleanup AudioCodec [2014-08-29 21:06:56,835] [Error ] [MPMain ] [ERROR] - VideoPlayer9: Exception while cleanuping DShow graph - Das COM-Objekt des Typs "System.__ComObject" kann nicht in den Schnittstellentyp "DirectShowLib.IBaseFilter" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID "{56A86895-0AD4-11CE-B03A-0020AF0BA770}" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Schnittstelle nicht unterstützt (Ausnahme von HRESULT: 0x80004002 (E_NOINTERFACE)). bei System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease) bei DirectShowLib.IBaseFilter.EnumPins(IEnumPins& ppEnum) bei DShowNET.Helper.DirectShowUtil.DisconnectAllPins(IGraphBuilder graphBuilder, IBaseFilter filter) bei MediaPortal.Player.VideoPlayerVMR9.Cleanup() [2014-08-29 21:06:56,846] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Disabling DX9 exclusive mode [2014-08-29 21:06:56,846] [Log ] [MPMain ] [INFO ] - Main: GUI_MSG_SWITCH_FULL_WINDOWED message is obsolete. [2014-08-29 21:06:56,846] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Cleanup DShow graph [2014-08-29 21:06:56,847] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Cleanup Sub/PostProcess [2014-08-29 21:06:56,848] [Error ] [MPMain ] [ERROR] - VideoPlayer9: Exception while cleanuping DShow graph - Das COM-Objekt des Typs "System.__ComObject" kann nicht in den Schnittstellentyp "DirectShowLib.IBaseFilter" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID "{56A86895-0AD4-11CE-B03A-0020AF0BA770}" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Schnittstelle nicht unterstützt (Ausnahme von HRESULT: 0x80004002 (E_NOINTERFACE)). bei System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease) bei DirectShowLib.IBaseFilter.EnumPins(IEnumPins& ppEnum) bei DShowNET.Helper.DirectShowUtil.DisconnectAllPins(IGraphBuilder graphBuilder, IBaseFilter filter) bei MediaPortal.Player.VideoPlayerVMR9.Cleanup() [2014-08-29 21:06:56,849] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Disabling DX9 exclusive mode kind regards Reinhard [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Play Trailer when Movie details are shown
Contact us
RSS
Top
Bottom