Xbmc Stays Stuck On Opening Files For Streaming Movie Through Network
#16
The FTP-transfer was slow for me at first, but then I changed the "speed/duplex" settings of my network adapter on the pc to 100 Full Duplex.

I am issueing the same problems (demux_open hangs, choppy streaming) with XBMC-CVS_2006-09-13-T3CH.

The version I ran before was XBMC-CVS_2006-05-13-T3CH and didn't have these issues.

xbmc team, you get all my love Smile
#17
Playing the file from the Xbox HD works as it should.

What follows is my xbmc.log (short)after I play the same file through SAMBA and XBMSP share

Code:
15:55:37 M: 53035008  NOTICE: -----------------------------------------------------------------------
15:55:37 M: 53014528  NOTICE: Starting XBoxMediaCenter.  Built on Sep 13 -----------------------------------------------------------------------
...
CPlayerCoreFactor::GetPlayers(smb://192.168.2.103/downloads/Uzumaki.avi)
15:56:01 M: 38293504    INFO: mplayer play:smb://192.168.2.103/downloads/Uzumaki.avi cachesize:1792
15:56:01 M: 38293504   DEBUG: DIRECTORY::CSMBDirectory::OpenDir - Using authentication url smb://xbox:[email protected]/downloads
15:56:01 M: 31932416   DEBUG:   msg:  set audio functions called
15:56:01 M: 31932416   DEBUG:   msg:  done
15:56:01 M: 31932416    INFO: Using -subcp enca:__:CP1252 to detect the subtitle charset
15:56:01 M: 31932416    INFO: Flipping bi-directional subtitles disabled
15:56:01 M: 31932416   DEBUG:   msg: mplayer_init()
15:56:01 M: 31932416   DEBUG:   msg: enable mplayer osd
15:56:01 M: 31932416   DEBUG:   msg: MPlayer dev-CVS-060807-22:07 (C) 2000-2004 MPlayer Team
15:56:01 M: 31932416   DEBUG:   msg: CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville
15:56:01 M: 31932416   DEBUG:   msg: (Family: 6, Stepping: 10)
15:56:01 M: 31932416   DEBUG:   msg: Detected cache-line size is 32 bytes
15:56:01 M: 31932416   DEBUG:   msg: CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
15:56:01 M: 31932416   DEBUG:   msg: Compiled for x86 CPU with extensions:
15:56:01 M: 31932416   DEBUG:   msg:  MMX
15:56:01 M: 31932416   DEBUG:   msg:  MMX2
15:56:01 M: 31932416   DEBUG:   msg:  SSE
15:56:01 M: 31932416   DEBUG:   msg:
15:56:01 M: 31920128   DEBUG:   msg:
15:56:01 M: 31899648   DEBUG:   msg: Creating config file: Q:\system\players\mplayer\config
15:56:01 M: 31899648   DEBUG:   msg:
15:56:01 M: 31543296   DEBUG:   msg: 88 audio & 199 video codecs
15:56:01 M: 31498240   DEBUG:   msg: mplayer_open_file(smb://192.168.2.103/downloads/Uzumaki.avi)
15:56:01 M: 31498240    INFO: Stating file smb://192.168.2.103/downloads/Uzumaki.avi.conf
15:56:01 M: 31498240    INFO: Stating file Q:\system\players\mplayer\Uzumaki.avi.conf
15:56:01 M: 31498240   DEBUG:   msg: Playing smb://192.168.2.103/downloads/Uzumaki.avi.
15:56:01 M: 31498240   DEBUG:   msg: find subtitles
15:56:01 M: 31498240   DEBUG:   msg: auto open Z:\subtitle
15:56:01 M: 31498240   DEBUG:   msg: protocol:smb
15:56:01 M: 31498240   DEBUG:   msg: use standard file for protocol:smb
15:56:01 M: 31498240   DEBUG:   msg: Option stream url: This URL doesn't have a hostname part.
...
Cache fill:  7.14% (131072 bytes)
15:56:04 M: 29089792    INFO: Loading skin file: DialogProgress.xml
15:56:04 M: 28667904   DEBUG:   msg:
Cache fill:  7.14% (131072 bytes)
...
Cache fill: 17.86% (327680 bytes)
15:56:06 M: 28667904   DEBUG:   msg: demux_open(00C50010,0,-1,-1,-1)
15:56:06 M: 28667904   DEBUG:   msg: AVI file format detected.
15:56:34 M: 25681920   DEBUG:   msg: VIDEO:  [DIV3]  544x384  24bpp  29.970 fps  855.2 kbps (104.4 kbyte/s)
15:56:34 M: 25681920   DEBUG:   msg: Starting lookup for subs
15:56:34 M: 25681920   DEBUG:   msg: Global Subsize: 0 - VOBSUB: -1, DEMUX: -1, SUBS: -1
15:56:34 M: 25681920   DEBUG:   msg: Global Subpos : -1
15:56:34 M: 25681920   DEBUG:   msg: ==========================================================================
15:56:34 M: 25681920   DEBUG:   msg: Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
15:56:34 M: 25608192   DEBUG:   msg: AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
15:56:34 M: 25608192   DEBUG:   msg: Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
15:56:34 M: 25608192   DEBUG:   msg: ==========================================================================
15:56:34 M: 25608192   DEBUG: CXBoxRenderManager::PreInit - Selected RGB-Renderer
15:56:34 M: 25083904   DEBUG:   msg: ==========================================================================
15:56:34 M: 25083904   DEBUG:   msg: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
15:56:35 M: 24027136   DEBUG:   msg: Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
15:56:35 M: 24027136   DEBUG:   msg: ==========================================================================
15:56:35 M: 24027136   DEBUG:   msg: Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/6ch/16bit...
15:56:35 M: 24027136   DEBUG:   msg: AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
15:56:35 M: 24027136   DEBUG:   msg: AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
15:56:35 M: 24006656   DEBUG:   msg: AO: [win32] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
15:56:35 M: 24006656   DEBUG:   msg: Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
15:56:35 M: 23937024   DEBUG:   msg: Starting playback...
15:56:35 M: 23937024   DEBUG:   msg: mplayer_open_file(smb://192.168.2.103/downloads/Uzumaki.avi) done 1.0000
15:56:35 M: 23834624   DEBUG: Playback has started
15:56:35 M: 23834624   DEBUG:   msg: VDec: vo config request - 544 x 384 (preferred csp: Planar YV12)
15:56:35 M: 23834624   DEBUG:   msg: VDec: using Planar YV12 as output csp (no 0)
15:56:35 M: 23834624   DEBUG:   msg: Movie-Aspect is undefined - no prescaling applied.
15:56:35 M: 23834624   DEBUG:   msg: VO: [directx] 544x384 => 544x384 Planar YV12
15:56:35 M: 23834624  NOTICE: Display resolution AUTO : PAL 4:3 (6)
15:56:35 M: 23441408   DEBUG: Created YV12 texture 0
15:56:35 M: 23048192   DEBUG: Created YV12 texture 1
15:56:35 M: 23224320   DEBUG: Activating window ID: 12005
15:56:35 M: 23224320   DEBUG: Checking if window ID 12005 is locked.
15:56:35 M: 28340224   DEBUG: Deleted YV12 texture 1
15:56:35 M: 28340224    INFO: Loading skin file: VideoFullscreen.xml
15:56:35 M: 27820032    INFO: Loading skin file: VideoOSD.xml
15:56:35 M: 27230208    INFO: Loading skin file: VideoOSDSettings.xml
15:56:35 M: 26521600    INFO: Loading skin file: VideoOSDSettings.xml
15:56:35 M: 26030080   DEBUG: CGUIFontTTF::Load Scaled size of font Q:\Media\Fonts\Arial.ttf (28): width = 76, height = 39
15:56:35 M: 25645056   DEBUG:   msg: FFRW:normal play
15:56:35 M: 25636864   DEBUG: CGUIInfoManager::SetCurrentMovie(smb://192.168.2.103/downloads/Uzumaki.avi)
15:56:35 M: 25583616   DEBUG: CVideoDatabase::GetMovieInfo(smb://192.168.2.103/downloads/Uzumaki.avi), query = select * from movie join path on movie.idPath = path.idPath join movieinfo on movie.idMovie = movieinfo.idMovie join files on movie.idMovie = files.idMovie where (path.strPath like 'smb://192.168.2.103/downloads' and files.strFileName like '/Uzumaki.avi') or path.strPath like 'stack://smb://192.168.2.103/downloads'
15:58:14 M: 25542656   DEBUG: CApplication::OnKey: 224 pressed, action is 13
15:58:14 M: 25534464   DEBUG:   msg:  mplayer_close_file()
15:58:14 M: 25534464   DEBUG:   msg:
15:58:14 M: 25534464   DEBUG:   msg:  uninit_player
15:58:15 M: 33607680   DEBUG: Deleted YV12 texture 0
15:58:15 M: 33865728   DEBUG:   msg:  uninit_player - done
15:58:15 M: 33865728   DEBUG: Freeing FS segment @ 0xa72db0
15:58:15 M: 41488384  NOTICE: Saving Standard settings in T:\avpacksettings.xml
15:58:15 M: 43380736   DEBUG: Setting resolution 6
15:58:15 M: 42496000   DEBUG: We set resolution 6
15:58:15 M: 42663936    INFO: Loading skin file: MyVideo.xml
15:58:15 M: 42508288   DEBUG: CGUIMediaWindow::GetDirectory (smb://192.168.2.103/downloads)
15:58:15 M: 42508288   DEBUG:   ParentPath = [smb://192.168.2.103/downloads]
15:58:15 M: 42508288   DEBUG: DIRECTORY::CSMBDirectory::OpenDir - Using authentication url smb://xbox:[email protected]/downloads
#18
By changing the settings of my network adapter to "Full autonegotiation".

Local Area Connection > Properties > Configure > Advanced > Speed/Duplex Settings

My network adapter is an NVidia nForce Networking Controller.
#19
Wink 
sheratan Wrote:By changing the settings of my network adapter to "Full autonegotiation".

Local Area Connection > Properties > Configure > Advanced > Speed/Duplex Settings

My network adapter is an NVidia nForce Networking Controller.
More tips on optimizing your network-settings/configuration can be found in our online-manual here (link)
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
#20
I just found this thread using google, and I am having the same problem with ReplayTV through my Xbox. I have the latest T3CH build of XBMC (9-13-06), and when I attempt to play anything through ReplayTV via the XBMC 'Videos" tab, it finds my RTV, displays all the videos on it, and whenever I choose one to play, it either locks up at the (Demux_Open) command, as someone in this thread mentioned earlier, or, it locks up at the...
"PICTURE::CreateThumbnail: Unable to open image:rt..."
"PICTURE::CreateThumbnail: Unable to open image:rt..."
...message window.
I have been unable to use the RTV through the XBMC at all in this build, and I have been testing and troubleshooting for days. I am guessing this is a build issue, as I have been updating at least every other build for the past three months or so, and loving all the updates/interface changes made in each build (it just keeps getting better and more ironed out in every new build).
Thank you for your help, if anyone knows what's up. Just a bit further, I have made sure the time is correct on both systems, tried different time servers, unplugged the xbox and the RTV system for a bit, then replugged. I made sure to do a 100% clean build update, by deleting the entire old XBMC directory, and adding the entire new one, and also deleting every old setting in UDATA and TDATA related to XBMC.
I'm anxious to hear there's a solution to this problem, because it is part of my nightly line-up to watch some replaytv stuff through xbmc with the shutdown timer script going, although I'm sure this bug is on the back burner, due to ReplayTV's not even being produced anymore.
Thank you even so!
#21
We need a full debug log if we're going to be able to even start troubleshooting it.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
#22
I'll get a full debug log together concerning this issue after class tomorrow. Thanks!
#23
Whats the best way to upload the whole debug log file? Since its to long to post here.
#24
use http://pastebin.ca
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
#25
kraqh3d Wrote:use http://pastebin.ca


Ok here it is http://pastebin.ca/181205


Thanks for the help!
#26
by the looks of that log, mplayer isn't able to figure out what type of data it is receiving. that could be due to read errors in our rtv protocol, thou I don't think anything has changed there actually so i'm not sure what might have caused this.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
#27
Hmmm... Getting the same problem on XBMC 2.0.0 SLIM-FIXED-T3CH build...
On top of that, I just noticed that my ReplayTV (5060)'s hard disc is hammering at the beginning of this error. I can hear it racing and racing, and then it stops, while the XBMC is still trapped at the...

-------------------------------------------------------
Opening file

PICTURE::CreateThumbnail: Unable to open image: rt...
PICTURE::CreateThumbnail: Unable to open image: rt...
-------------------------------------------------------

window. The screen saver dimming still comes on when it is supposed to, after the program is frozen and everything. Also, you cannot "cancel" out of the "opening file" dialog. it just writes the word 'Canceling...' after 'Opening file :', and freezes up at that point.

Here is the debug-log: http://pastebin.ca/186531

(debug log is taken from FTP (which stayed connected) but the rest of XBMC is stuck in some kind of lockup where the screen still dims as if it's playing a movie [screen saver isn't set to 'dim' currently], but no controls work [apart from changing the volume or clicking the button to activate Cancel], you can't cancel, and if you bring up the right-thumbstick-click menu, and click 'system info', it shows info, but it locks up and no controls work at all.)

Thanks! (if there's anything else to do to help in this matter, say the word)

EDIT: oops, first pastebin wasn't in debug mode. Re-uploaded log and updated URL.
#28
Once again, read existing posts before posting:
Gamester17 Wrote:I doubt it is released to the issue this topic-thread was opened for. Check if the date/time is the same on the Xbox and your ReplayTV: http://xboxmediacenter.com/wiki/index.ph...e=ReplayTV
still don't think your ReplayTV issue is related here, so your post is OFF-TOPIC, ...now it probebely is a real bug (if you have the correct time set on both your Xbox and your ReplayTV box) but it's not related to this specific topic, please post a new topic-thread (and a proper bug-report, see the online manual), thanks in advance
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
#29
I had a similar problem. Playing a movie from the xbox hdd it worked fine. Playing a movie over the network would either freeze up xbox before playing anything, or would sit at opening file. I changed the Video LAN cache from 4092 to 1024 and it has worked fine now.
#30
ya guys, i have the same problem, with real old versions, like year ago, works perfect... flawlessly.. the new builds, version 2.0, it crashes randomly through media files.... and then when i try to reconnect like 30 seconds later the smb service is there again, it has NEVER happened until i started using the new releases.....
ahhh.. when will full samba support happenHuh

Logout Mark Read Team Forum Stats Members Help
Xbmc Stays Stuck On Opening Files For Streaming Movie Through Network0