AppleTV 2 (black) Nightly (07-14) Crashing on Movie scan during scaling

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Jester Offline
XBMC for iOS* forums Moderator
Posts: 976
Joined: Oct 2008
Reputation: 10
Post: #11
(2012-07-16 21:19)Memphiz Wrote:  Now i only need to figure how i get a fake movie which triggers this resize ... not into it (didn't follow jm's latest changes according to auto resize on import). Hints? ^^

you mean the recent work related to the advancedsettings stuff? as I still get it when disabled, or you mean it auto resizes anyway on recent nightlies regardless of settings ?

fake movie, just created a Cars (2006) folder with a test.mkv file and let it scrape

Current XBMC Platform: ATV2
Extra XBMC Platform: Raspberry Pi
Read the iOS FAQ
find quote
g-off Offline
Fan
Posts: 635
Joined: Aug 2011
Reputation: 3
Post: #12
I nuked my database and rescraped and had this problem until I turned off actor thumbnail downloading. I normally have this turned off but the wonky guisettings not being retained problem has turned it back on.

I guess it freaks out trying to do too much while scraping
find quote
Jester Offline
XBMC for iOS* forums Moderator
Posts: 976
Joined: Oct 2008
Reputation: 10
Post: #13
(2012-07-17 02:58)g-off Wrote:  I nuked my database and rescraped and had this problem until I turned off actor thumbnail downloading. I normally have this turned off but the wonky guisettings not being retained problem has turned it back on.

I guess it freaks out trying to do too much while scraping

No, it "freaks out" during scaling of a picture (in this case one of the actors linked) nothing to do with doing too much as movies with bigger details set have no issue.

Current XBMC Platform: ATV2
Extra XBMC Platform: Raspberry Pi
Read the iOS FAQ
(This post was last modified: 2012-07-17 08:32 by Jester.)
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,677
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #14
Yep thats the issue than - scaling this actore pic.

I hope i can get to it later today (and hopefully it crashes on osx aswell)...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Cranial Offline
Fan
Posts: 731
Joined: Aug 2008
Reputation: 3
Location: Sydney, Australia
Post: #15
Memphiz,

If it helps, all images are now cached at no larger than 720p, except for fanart which will cache at 1080p if the image is that big.

The linked problem image is 753x1024 pixels, so it's being resized for cache, independent of <imageres> or <fanartres> in advancedsettings.xml .


Beyond that I can't help, I'm not sure how to test to scaling in a helpful way.
find quote
Jester Offline
XBMC for iOS* forums Moderator
Posts: 976
Joined: Oct 2008
Reputation: 10
Post: #16
I just did a quick install of the same nightly on win32, doesn't crash on the same movie......

Maybe they changed the image remotely as this is de win32 debug log of the file pull
or you don't see the scaling working in win32 ?? as you can see it's saved down scaled (529x720)



Code:
DEBUG: XFILE::CCurlFile::Stat - curl filetime: 1331633086
13:15:39 T:3924   DEBUG: CurlFile::Open(07C52D20) http://cf2.imgobject.com/t/p/original/5WSoAFzPlu1ZpKB3O8mqfIGOXB.jpg
13:15:39 T:3924   DEBUG: Caching image 'http://cf2.imgobject.com/t/p/original/5WSoAFzPlu1ZpKB3O8mqfIGOXB.jpg' to '0/05cb47bf.jpg':
13:15:39 T:3924   DEBUG: cached image 'special://masterprofile/Thumbnails/0/05cb47bf.jpg' size 529x720

Current XBMC Platform: ATV2
Extra XBMC Platform: Raspberry Pi
Read the iOS FAQ
(This post was last modified: 2012-07-17 13:22 by Jester.)
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,677
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #17
Might even be arm / neon specific because ffmpeg (which is used for scaling) has multiple arm specific optimisations (so they only would affect arm platforms).

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,677
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #18
Code:
20:08:24 T:157929472   DEBUG: Caching image 'http://cf2.imgobject.com/t/p/original/5WSoAFzPlu1ZpKB3O8mqfIGOXB.jpg' to '0/05cb47bf.jpg':                                                                                                    
20:08:24 T:157929472   DEBUG: DllSwScale: Using libswscale system library                                                                                                                                                                  
20:08:24 T:157929472   DEBUG: cached image 'special://masterprofile/Thumbnails/0/05cb47bf.jpg' size 529x720

This is from my atv2 - didn't crash with that image...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,677
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #19
Ohh and crashed on my ipad ... lets see if i find something...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,677
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #20
Prevent source images with odd number of pixels in width Wink. Looks like a bug in ffmpeg. Pinged JM in the hope i knows something...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote