[SOLVED] Apple TV 2 ios 5.1 movie play extremly slow
#1
Hi everyone,

Recently I bought band new Apple TV 2 and made a jailbreak to 5.0 with seas0npass. Everything went fine aTV flash black/nitoTV/XBMC 11.
I have only one problem when I start some movie with XBMC player after several seconds when the movie start begin to play extremely slow.
The movie is normal AVI which is even NOT HD.
I tried also HD TV show the same result.
Can you tell me what I'm doing wrong?

Thank you in advance.
Reply
#2
I forgot to attach the logs:

This is the message the I think is the issue:
20:00:06 T:186306560 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:00:06 T:185389056 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
20:00:56 T:186306560 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:00:57 T:185389056 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available


And the whole log:
19:59:43 T:148570112 NOTICE: -----------------------------------------------------------------------
19:59:43 T:148570112 NOTICE: Starting XBMC (11.0 Git:20120331-ebfd899), Platform: Darwin iOS (11.0.0 AppleTV2,1, Version 5.1 (Build 9B179b)). Built on Apr 1 2012
19:59:43 T:148570112 NOTICE: special://xbmc/ is mapped to: /private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome
19:59:43 T:148570112 NOTICE: special://xbmcbin/ is mapped to: /private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome
19:59:43 T:148570112 NOTICE: special://masterprofile/ is mapped to: /var/mobile/Library/Preferences/XBMC/userdata
19:59:43 T:148570112 NOTICE: special://home/ is mapped to: /var/mobile/Library/Preferences/XBMC
19:59:43 T:148570112 NOTICE: special://temp/ is mapped to: /var/mobile/Library/Preferences/XBMC/temp
19:59:43 T:148570112 NOTICE: special://frameworks/ is mapped to: /var/stash/Applications/XBMC.frappliance/Frameworks
19:59:43 T:148570112 NOTICE: The executable running is: /var/stash/Applications/XBMC.frappliance/XBMC
19:59:43 T:148570112 NOTICE: Local hostname: Apple-TV
19:59:43 T:148570112 NOTICE: Log File is located: /var/mobile/Library/Preferences/xbmc.log
19:59:43 T:148570112 NOTICE: -----------------------------------------------------------------------
19:59:43 T:148570112 NOTICE: load settings...
19:59:43 T:148570112 NOTICE: special://profile/ is mapped to: special://masterprofile/
19:59:43 T:148570112 NOTICE: loading special://masterprofile/guisettings.xml
19:59:43 T:148570112 NOTICE: Getting hardware information now...
19:59:43 T:148570112 INFO: Using analog output
19:59:43 T:148570112 INFO: AC3 pass through is disabled
19:59:43 T:148570112 INFO: DTS pass through is disabled
19:59:43 T:148570112 INFO: AAC pass through is disabled
19:59:43 T:148570112 INFO: MP1 pass through is disabled
19:59:43 T:148570112 INFO: MP2 pass through is disabled
19:59:43 T:148570112 INFO: MP3 pass through is disabled
19:59:43 T:148570112 DEBUG: Error: Requested setting (videoscreen.screenmode) was not found. It must be case-sensitive
19:59:43 T:148570112 NOTICE: Checking resolution 12
19:59:43 T:148570112 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
19:59:43 T:148570112 DEBUG: CPlayerCoreConfig::<ctor>: created player DVDPlayer for core 1
19:59:43 T:148570112 DEBUG: CPlayerCoreConfig::<ctor>: created player oldmplayercore for core 1
19:59:43 T:148570112 DEBUG: CPlayerCoreConfig::<ctor>: created player PAPlayer for core 3
19:59:43 T:148570112 DEBUG: CPlayerSelectionRule::Initialize: creating rule: system rules
19:59:43 T:148570112 DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtv
19:59:43 T:148570112 DEBUG: CPlayerSelectionRule::Initialize: creating rule: hdhomerun/myth/rtmp/mms/udp
19:59:43 T:148570112 DEBUG: CPlayerSelectionRule::Initialize: creating rule: lastfm/shout
19:59:43 T:148570112 DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtsp
19:59:43 T:148570112 DEBUG: CPlayerSelectionRule::Initialize: creating rule: streams
19:59:43 T:148570112 DEBUG: CPlayerSelectionRule::Initialize: creating rule: flv/aacp/sdp
19:59:43 T:148570112 DEBUG: CPlayerSelectionRule::Initialize: creating rule: mp2
19:59:43 T:148570112 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvd
19:59:43 T:148570112 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdfile
19:59:43 T:148570112 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdimage
19:59:43 T:148570112 DEBUG: CPlayerSelectionRule::Initialize: creating rule: sdp/asf
19:59:43 T:148570112 DEBUG: CPlayerSelectionRule::Initialize: creating rule: nsv
19:59:43 T:148570112 NOTICE: Loaded playercorefactory configuration
19:59:43 T:148570112 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
19:59:43 T:148570112 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
19:59:43 T:148570112 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
19:59:43 T:148570112 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
19:59:43 T:148570112 NOTICE: Default DVD Player: dvdplayer
19:59:43 T:148570112 NOTICE: Default Video Player: dvdplayer
19:59:43 T:148570112 NOTICE: Default Audio Player: paplayer
19:59:43 T:148570112 NOTICE: Disabled debug logging due to GUI setting. Level 0.
19:59:43 T:148570112 NOTICE: Log level changed to 0
19:59:43 T:148570112 NOTICE: Loading media sources from special://masterprofile/sources.xml
19:59:43 T:148570112 NOTICE: GL_VENDOR = Imagination Technologies
19:59:43 T:148570112 NOTICE: GL_RENDERER = PowerVR SGX 535
19:59:43 T:148570112 NOTICE: GL_VERSION = OpenGL ES 2.0 IMGSGX535-63.24
19:59:43 T:148570112 NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.0
19:59:43 T:148570112 NOTICE: GL_EXTENSIONS = GL_OES_depth_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_texture_lod GL_EXT_texture_filter_anisotropic GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_IMG_read_format GL_IMG_texture_compression_pvrtc
19:59:44 T:148570112 NOTICE: initializing playlistplayer
19:59:44 T:148570112 NOTICE: DONE initializing playlistplayer
19:59:46 T:805105664 NOTICE: -->Python Interpreter Initialized<--
19:59:46 T:148570112 NOTICE: initialize done
19:59:46 T:148570112 NOTICE: Running the application...
19:59:46 T:148570112 NOTICE: ES: Starting event server
19:59:46 T:169078784 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
19:59:46 T:169078784 NOTICE: UDP: Listening on port 9777
19:59:46 T:148570112 NOTICE: starting zeroconf publishing
19:59:48 T:166981632 NOTICE: -->Python Interpreter Initialized<--
19:59:49 T:805105664 NOTICE: StorageServer Module loaded RUN
19:59:49 T:805105664 NOTICE: StorageClient-0.9.2 Starting server
19:59:49 T:805105664 NOTICE: StorageServer-0.9.2 Storage Server starting /var/mobile/Library/Preferences/XBMC/userdata/Database/commoncache.db
19:59:59 T:148570112 NOTICE: DVDPlayer: Opening: smb://192.168.8.8/Movies/Warehouse13/Warehouse.13.S03E13.720p.HDTV.X264-DIEMNSION.mkv
19:59:59 T:148570112 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
19:59:59 T:211337216 NOTICE: Creating InputStream
19:59:59 T:211337216 NOTICE: Creating Demuxer
20:00:01 T:170143744 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
20:00:04 T:211337216 NOTICE: Opening video stream: 0 source: 256
20:00:04 T:211337216 NOTICE: Creating video codec with codec id: 28
20:00:04 T:211337216 NOTICE: Open - using avcC atom of size(43), ref_frames(8)
20:00:04 T:211337216 NOTICE: Creating video thread
20:00:04 T:185389056 NOTICE: running thread: video_thread
20:00:04 T:211337216 NOTICE: Opening audio stream: 1 source: 256
20:00:04 T:211337216 NOTICE: Finding audio codec for: 86019
20:00:04 T:211337216 NOTICE: Creating audio thread
20:00:04 T:186306560 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
20:00:05 T:186306560 NOTICE: Creating audio device with codec id: 86019, channels: 2, sample rate: 48000, no pass-through
20:00:05 T:185389056 NOTICE: fps: 23.976024, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
20:00:05 T:185389056 NOTICE: Display resolution DESKTOP : 1280x720 (12)
20:00:05 T:148570112 NOTICE: Using GL_TEXTURE_2D
20:00:05 T:148570112 NOTICE: GL: Using CoreVideoRef RGBA render method
20:00:05 T:148570112 NOTICE: GL: NPOT texture support detected
20:00:06 T:186306560 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:00:06 T:185389056 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
20:00:56 T:186306560 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:00:57 T:185389056 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
20:02:57 T:148570112 NOTICE: CDVDPlayer::CloseFile()
20:02:57 T:148570112 NOTICE: DVDPlayer: waiting for threads to exit
20:02:57 T:211337216 NOTICE: CDVDPlayer::OnExit()
20:02:57 T:211337216 NOTICE: DVDPlayer: closing audio stream
20:02:57 T:211337216 NOTICE: Closing audio stream
20:02:57 T:211337216 NOTICE: Waiting for audio thread to exit
20:02:57 T:186306560 NOTICE: thread end: CDVDPlayerAudio::OnExit()
20:02:57 T:211337216 NOTICE: Closing audio device
20:02:57 T:211337216 NOTICE: Deleting audio codec
20:02:57 T:211337216 NOTICE: DVDPlayer: closing video stream
20:02:57 T:211337216 NOTICE: Closing video stream
20:02:57 T:211337216 NOTICE: waiting for video thread to exit
20:02:57 T:185389056 NOTICE: thread end: video_thread



I've installed XBMC on my macbook pro also, the same situation even when the movie is on the HDD:

17:51:39 T:2957651968 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available

Reply
#3
Try with debugging turned on a post to pastebin then link that to here: http://forum.xbmc.org/showthread.php?tid=92480
Set Up
Raspberry Pi running Raspbmc - XBMC 12.2
40" Samsung ES6800 LED Smart 3D 1080P TV
Onkyo HTS3405 5.1 DD True HD and DTS-HD Surround Sound
ReadyNAS Duo with 4TB (2 x 2TB X-RAID) Western Digital Caviar Green using NFS
Reply
#4
Hi deanmv,

Debug log pasted on pastebin:
http://pastebin.com/NPLxTQN1

Apple TV2:
Platform: Darwin iOS (11.0.0 AppleTV2,1, Version 5.1 (Build 9B179b)). Built on Apr 1 2012

XBMC:
XBMC (11.0 Git:20120331-ebfd899)

Reply
#5
Hi all,

Problem solved.
Why none wrote with big red letters that xbmc can play only movies in H264 and when try some other codec it try software decoding.
Hardware decoding is only for H264.
Case closed.
Reply
#6
Xbmc can play anything that isn't h.264 but only in SD. Anything higher will cause stuttering and this is covered in the FAQ: http://wiki.xbmc.org/index.php?title=XBM...AQ#Formats
Set Up
Raspberry Pi running Raspbmc - XBMC 12.2
40" Samsung ES6800 LED Smart 3D 1080P TV
Onkyo HTS3405 5.1 DD True HD and DTS-HD Surround Sound
ReadyNAS Duo with 4TB (2 x 2TB X-RAID) Western Digital Caviar Green using NFS
Reply
#7
H deanmv,

This is not true, because the movie that I was trying was in SD normal 700 MB avi movie.
Reply
#8
(2012-04-25, 15:28)bukich Wrote: H deanmv,

This is not true, because the movie that I was trying was in SD normal 700 MB avi movie.

Nope. Dean and the office XBMC wiki are correct.

Your file may be corrupt, or something else going on, but just because you can't play a SD XVID file on the Apple TV, doesn't mean that everyone else is wrong.

Is it just this file or any SD XVid movie?
Reply
#9
Another things is that you stated you have ATV Flash Black installed - this does not play nicely with XBMC because there are some conflicting libraries between the two programs. That could also be your issue.
Reply
#10
Firecore fixed that incompatibility in the latest ATV Flash Black Mediaplayer. At least they say so.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#11
I've tried only with one AVI file in SD format. But the behavior was the same on pc/mac/appletv2.
When I converted in in H264 for appletv it was played perfectly.
Reply
#12
Probably a bad file.

@Memphiz - thanks for that info. Didn't know that.
Reply
#13
Hi DLeavy, you are right. I've downloaded another XVID movie in SD format and it was played perfectly without any problem.
Then I started the problematic movie with another player to see the info for it, it was a great surprise for me that the codec used for this movie was "DIV3".
So I suppose that XBMC don't have such code.

Cheers
To be precise please find bellow all information for the problematic movie:
Codec: MS MPEG-4 Video v3 (DIV3)
Resolution: 640x272
Frame rate: 23.976000
Decoded format: Planar 4:2:0 YUV
Reply

Logout Mark Read Team Forum Stats Members Help
[SOLVED] Apple TV 2 ios 5.1 movie play extremly slow0