[fixed] Thumbnail Extractor (1 Viewer)

infabo

Portal Member
October 24, 2009
33
0
Home Country
Austria Austria
MediaPortal Version: 1.1.0 RC1
MediaPortal Skin: StreamedMP
Windows Version: windows xp prof sp3 32bit
CPU Type: intel celeron e3300 / 2 x 2.5GHz
HDD: Transcend CompactFlash 300x 4GB
Memory: Kingston ValueRAM DIMM Kit 2GB PC2-6400U CL5 (DDR2-800)
Motherboard: Zotac GF9300-I-E
Video Card: nvidia geforce 9300
Video Card Driver: 196.75
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card: digital devices cine s2
1. TV Card Type: dvb-s2
1. TV Card Driver: 1.3.2.9
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
h.264 Video Codec: CoreAVC 2.0
Satelite/CableTV Provider: Astra 19.2°E
HTPC Case: Lian Li PC-C37B
Cooling:
Power Supply: picopsu-90 + lc-power 75w
Remote:
TV: teco 32
TV - HTPC Connection: hdmi

when i try to watch a video through "onlinevideos" from the "orf mediathek", the video starts for 2-3 seconds and then mp crashes and i get this in the error.log.
The Thumbnail Extractor tries to get images from the file (ähm which it isn't) and then crashes MP.
 

Attachments

  • error.zip
    30.6 KB

elliottmc

Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    when i try to watch a video through "onlinevideos" from the "orf mediathek", the video starts for 2-3 seconds and then mp crashes and i get this in the error.log.
    The Thumbnail Extractor tries to get images from the file (ähm which it isn't) and then crashes MP.

    I have no problems watching videos with OnlineVideos. Thumbnails are shown for me, but I had assumed they were downloaded from the server.

    There have been problems with thumbnail creation, but these are now fixed. However, the problems did not result in crashes, so it is possible that you have found a rare but serious problem.

    It would be good if someone else can confirm. Please bear in mind though that OnlineVideos is a 3rd party plugin for MediaPortal, so if this problem is specific to OnlineVideos, you will have to ask the plugin author for help.

    Mark
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    You misunderstood him ;)
    The thumbnails are there and downloaded from the server - that's not the problem, but reading the error log you'll see that the MediaPortal Thumbnail Extractor is trying to extract a thumb from the playing file.

    Error in log:

    ExtractVideoThumb(50)]: Exception :The file 'mms://apasf.apa.at/cms-worldwide/2010-03-24_2000_tl_01_zib-20_signation---headline__1310915__orfvod__000000000170129__segment___es_orf1hires_19594816p_20001821p.wmv' does not exist

    This should never be run on an mms stream bubt only on files on the local filesystem.
     

    infabo

    Portal Member
    October 24, 2009
    33
    0
    Home Country
    Austria Austria
    i have no problems watching videos either. pro7, rtl, zdf, .... all other sites are working with thumbnail creation and playback. ONLY the orf-mediathek shows this particular problem.
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    You misunderstood him ;)
    The thumbnails are there and downloaded from the server - that's not the problem, but reading the error log you'll see that the MediaPortal Thumbnail Extractor is trying to extract a thumb from the playing file.

    Error in log:

    ExtractVideoThumb(50)]: Exception :The file 'mms://apasf.apa.at/cms-worldwide/2010-03-24_2000_tl_01_zib-20_signation---headline__1310915__orfvod__000000000170129__segment___es_orf1hires_19594816p_20001821p.wmv' does not exist

    This should never be run on an mms stream bubt only on files on the local filesystem.

    I didn't misunderstand. I just don't have a crash problem as a result of this (I am not in a position to check my logs for a couple of days so I don't know if my system tries to create these extra thumbs).

    Mark
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    This:
    ExtractVideoThumb(50)]: Exception :The file 'mms://apasf.apa.at/cms-worldwide/2010-03-24_2000_tl_01_zib-20_signation---headline__1310915__orfvod__000000000170129__segment___es_orf1hires_19594816p_20001821p.wmv' does not exist
    does not cause a crash (and yes, thumbnail extractor shouldn't try to create a thumb but this is not the cause of the crash).

    But this one probably does:
    Code:
    2010-03-24 21:25:04.578125 [ERROR][OnlineVideosInfosSetter(46)]: MediaPortal: Unhandled exception occured
    2010-03-24 21:25:04.578125 [ERROR][OnlineVideosInfosSetter(46)]: Exception   :System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
       bei OnlineVideos.Player.PlaylistPlayerWrapper.<Play>b__1()
       bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       bei System.Threading.ThreadHelper.ThreadStart()
    2010-03-24 21:25:04.578125 [ERROR][OnlineVideosInfosSetter(46)]: Exception   :Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
    2010-03-24 21:25:04.578125 [ERROR][OnlineVideosInfosSetter(46)]:   site      :Void <Play>b__1()
    2010-03-24 21:25:04.578125 [ERROR][OnlineVideosInfosSetter(46)]:   source    :OnlineVideos
    2010-03-24 21:25:04.578125 [ERROR][OnlineVideosInfosSetter(46)]:   stacktrace:   bei OnlineVideos.Player.PlaylistPlayerWrapper.<Play>b__1()
       bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       bei System.Threading.ThreadHelper.ThreadStart()
    Btw: Without full logs and a description of the error message at the time of the crash, there is not much we can do.
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Ok I can see this error comes from setting the playback infos 2 seconds after playback started in a background thread. Might be that the object to set playback infos from is no longer available. I'll fix this in the next OnlineVideo release.

    Remains the issue of thumb extraction on urls. Before running this I'd suggest to check if the file beeing played is a valid url ( Uri.IsWellFormedUriString(theUrl, UriKind.Absolute) ) and in that case not to run the extractor. Might have unknown effects.

    Thx.
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    I think we should go with:

    Code:
    Uri file = new Uri(item.Path);
    if (IsVideo(item.Path) && (file.IsUnc || file.IsFile))

    So we will create thumbs only for local & unc video files.

    Simone
     

    Users who are viewing this thread

    Top Bottom