xboxscene.org forums

Author Topic: Studentfilms Script Is Available  (Read 172 times)

bakman

  • Archived User
  • Newbie
  • *
  • Posts: 26
Studentfilms Script Is Available
« on: May 01, 2005, 08:46:00 AM »

400+ movies made by students.

Will appear on xbmcscripts; for now download here

Studentfilms
(IMG:http://xbox.readrss.com/studentfilms.jpg)

BaKMaN
Logged

ytsejam

  • Archived User
  • Jr. Member
  • *
  • Posts: 66
Studentfilms Script Is Available
« Reply #1 on: May 01, 2005, 10:00:00 AM »

Great script.  However, I do not get any sound when playing the films.  Sound works fine in the menus.  Also, could you make this for 16:9?  Most of the other scripts automatically resize the picture for 16:9 the studentfilms script shows the menu in the upper left hand corner of the screen.  The movies play fine except with no sound.
Logged

tslayer

  • Archived User
  • Sr. Member
  • *
  • Posts: 499
Studentfilms Script Is Available
« Reply #2 on: May 01, 2005, 10:50:00 AM »

Sound played fine for me.

Do you have the quicktime codecs properly installed?

Check pinned topics.

TS
Logged

bakman

  • Archived User
  • Newbie
  • *
  • Posts: 26
Studentfilms Script Is Available
« Reply #3 on: May 01, 2005, 10:53:00 AM »

it is not a great script: you are complaining, go fool someone else  :D

the sound issue I cannot fix, must be your XBMC build, or missing codecs.

The 16x9 should work as well, as I tested it here, however I use PAL (which has more pixels), I would expect that it should showup larger.

I guess that it does not look like the screenshot above ?
Logged

ytsejam

  • Archived User
  • Jr. Member
  • *
  • Posts: 66
Studentfilms Script Is Available
« Reply #4 on: May 01, 2005, 11:18:00 AM »

Ok, after a couple of reboots the sound started working.  The screen size for the menu work in 480p, but does not resize right for 720p or 1080i.  Like I said before it only takes up the upper left corner of the screen.  Everything shows up it just smaller.Here's a screenshot

This post has been edited by ytsejam: May 1 2005, 06:19 PM
Logged

bakman

  • Archived User
  • Newbie
  • *
  • Posts: 26
Studentfilms Script Is Available
« Reply #5 on: May 01, 2005, 11:29:00 AM »

QUOTE(ytsejam @ May 1 2005, 06:17 PM)
Ok, after a couple of reboots the sound started working.  The screen size for the menu work in 480p, but does not resize right for 720p or 1080i.  Like I said before it only takes up the upper left corner of the screen.  Everything shows up it just smaller.Here's a screenshot
*


I can't see your screenshot (local network IP). It won't resize indeed. That will be next ;) problem for me is that I cannot test those resolutions very well, unless someone can point me in the right direction.
Logged

ytsejam

  • Archived User
  • Jr. Member
  • *
  • Posts: 66
Studentfilms Script Is Available
« Reply #6 on: May 01, 2005, 11:38:00 AM »

Sorry about the link try this Screenshot

For comparison here's a screenshot of Ooba Ooba Screenshot

Both were taken in 720p

This post has been edited by ytsejam: May 1 2005, 06:49 PM
Logged

ytsejam

  • Archived User
  • Jr. Member
  • *
  • Posts: 66
Studentfilms Script Is Available
« Reply #7 on: May 01, 2005, 06:49:00 PM »

Could this have something to do with the Studentfilms script not resizing?  This is part of Python file from Ooba.  I'm no expert in Python but this part looks like it is used to stretch the image.

#---------- SetUpControls ------------
      self.player = xbmc.Player()
            
      #PAL/NTSC Support:
      w=self.getWidth()
      h=self.getHeight()
      #Ratio - positions are then used given as percent
      self.xratio=float(w/100.0)
      self.yratio=float(h/100.0)

      self.asp=w/float(h*AspectRatio) #used for stretching images

      try:
         self.bg = xbmcgui.ControlImage(0,0,w,h, 'background.png')
         self.addControl(self.bg)
      except:
         print('No background.png')
      self.panel = xbmcgui.ControlImage(0,0,w,h, ScriptPath+'panel.png')
      self.addControl(self.panel)
   
      self.title = xbmcgui.ControlFadeLabel(int(self.xratio*guiTitlePos[0]),int(self.yratio*guiTitlePos[1]),int(self.xratio*guiTitlePos[2]),int(self.yratio*guiTitlePos[3]), 'font18','0xFFFFFFFF')
      self.addControl(self.title)

      self.textbox = xbmcgui.ControlTextBox(int(self.xratio*guiMenuPos[0]),int(self.yratio*guiMenuPos[1]),int(self.xratio*guiMenuPos[2]),int(self.yratio*guiMenuPos[3]), 'font14', '0xFFFFFFFF')

      self.image = None
      self.set_viewstate(MENUSTATE)
Logged

bakman

  • Archived User
  • Newbie
  • *
  • Posts: 26
Studentfilms Script Is Available
« Reply #8 on: May 02, 2005, 12:12:00 AM »

QUOTE(ytsejam @ May 2 2005, 01:48 AM)
Could this have something to do with the Studentfilms script not resizing?  This is part of Python file from Ooba.  I'm no expert in Python but this part looks like it is used to stretch the image.

#---------- SetUpControls ------------
  self.player = xbmc.Player()
   
  #PAL/NTSC Support:
  w=self.getWidth()
  h=self.getHeight()
  #Ratio - positions are then used given as percent
  self.xratio=float(w/100.0)
  self.yratio=float(h/100.0)

  self.asp=w/float(h*AspectRatio) #used for stretching images

  try:
   self.bg = xbmcgui.ControlImage(0,0,w,h, 'background.png')
   self.addControl(self.bg)
  except:
   print('No background.png')
  self.panel = xbmcgui.ControlImage(0,0,w,h, ScriptPath+'panel.png')
  self.addControl(self.panel)
   
  self.title = xbmcgui.ControlFadeLabel(int(self.xratio*guiTitlePos[0]),int(self.yratio*guiTitlePos[1]),int(self.xratio*guiTitlePos[2]),int(self.yratio*guiTitlePos[3]), 'font18','0xFFFFFFFF')
  self.addControl(self.title)

  self.textbox = xbmcgui.ControlTextBox(int(self.xratio*guiMenuPos[0]),int(self.yratio*guiMenuPos[1]),int(self.xratio*guiMenuPos[2]),int(self.yratio*guiMenuPos[3]), 'font14', '0xFFFFFFFF')

  self.image = None
  self.set_viewstate(MENUSTATE)
*


Indeed it takes care of resizing the background, and there are some more things in there for positioning, this does not cover to resize the display on the left though.
I am looking into it.

This post has been edited by bakman: May 2 2005, 07:13 AM
Logged

bakman

  • Archived User
  • Newbie
  • *
  • Posts: 26
Studentfilms Script Is Available
« Reply #9 on: May 02, 2005, 04:10:00 AM »

I have added widescreen support to the script.

Let me know if it shows up ok or not. (screenshots are always nice to see)

download here or later today from xbmcscripts.com


BaKMaN
Logged

ytsejam

  • Archived User
  • Jr. Member
  • *
  • Posts: 66
Studentfilms Script Is Available
« Reply #10 on: May 02, 2005, 08:47:00 AM »

Works great and looks fantastic now.  Thanks for all your hard work.
Logged