Movie Trailers Script Crashing
#1
It freezes trying to setup the config file on the onscreen display after I choose to play a trailer. The following appears in the log file:

17:09:38 M: 18063360 ERROR: Keymapping error: no such action 'q:\scripts\apple movie trailers\default.py' defined
17:10:54 M: 294912 SEVERE: DLL: Q:\system\players\mplayer\mplayer.dll : malloc failed, crash imminent (Out of memory requesting 524440 bytes)
17:10:54 M: 294912 WARNING: unable to remove tracked file from tracker
17:10:54 M: 294912 SEVERE: DLL: Q:\system\players\mplayer\mplayer.dll : malloc failed, crash imminent (Out of memory requesting 524440 bytes)
17:10:54 M: 294912 WARNING: unable to remove tracked file from tracker

I'm running the 1/9 SVN build. Anyone have any ideas? Thanks!
Reply
#2
After further experimentation I have determined that the cause is that the script crashes on playing a movie whenever I have my resolution set to 1080i. On 720p and below everything works perfectly.
Reply
#3
Playing the trailer for Metropolis is generating the following error for me:
18:14:27 M: 5201920 WARNING: Unable to resolve: advapi32.dll AllocateAndInitializeSid
18:14:27 M: 5201920 WARNING: Unable to resolve: advapi32.dll AllocateAndInitializeSid
18:14:27 M: 2830336 NOTICE: Display resolution AUTO : 1080i 16:9 (0)
18:14:27 M: 17367040 ERROR: exception in CApplication:Tonguerocess()

Oddly enough it is using AUTO : 1080i resolution for all videos it is playing back (including ones that work), instead of the 720p that my XBMC is set to, yet oddly enough if I have my XBMC set to 1080i or AUTO, this script will crash as was outlined previously.
Reply
#4
It depends on how the videos were encoded, whether they will play in 1080i. As you have discovered some do and some don't.
Reply
#5
I'm also running at 1080i, experiencing problems with most of the trailers. However, playing DVD or Divx over the network is no problem (i.e. upscaling from PAL/NTSC to 1080i).
What's the difference with playing the trailers? Should it not be similar load on the XBOX (a.f.a.i.k. the upscaling is done by hardware). Or is the script looking for actual HDTV content? If that's the case, maybe we could force the script to also play the 480 content and let the xbox upscale it?
Reply
#6
the script uses memory, so playing a dvd over the network, you are starting off with more free memory.

So for the last time I will mention this. To use this script set the video resolution NO HIGHER THAN 720p.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#7
Hi Nuka1195,

Sorry for asking these seemingly newbie questions. However, your answer does not satisfy me yet: if the upscaling is done by hardware (as I assume), what is the difference between playing at 1080i or 480p if the source file is NTSC. I would expect problems only if the script select a HD source, not if it selects a SD source?
Reply

Logout Mark Read Team Forum Stats Members Help
Movie Trailers Script Crashing0