webdav bug ? - raffoul - 2012-04-08
Hi my friends
I've an issue with xbmc eden (same thing with linux and dharma) and webdav over the internet. Sometimes it works. Sometimes it doesn't with the same movie.It works by using ipad2 ...
With vlc, that's ok.
Here is the log :
Code: 12:00:46 T:4336 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
12:00:46 T:5736 NOTICE: Creating InputStream
12:00:53 T:5736 NOTICE: Creating Demuxer
12:01:23 T:5736 WARNING: could not find codec parameters for davs://****:443/***/Videos/Films/****.avi
12:01:23 T:5736 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
12:01:23 T:5736 NOTICE: CDVDPlayer::OnExit()
12:01:23 T:5736 NOTICE: CDVDPlayer::OnExit() deleting input stream
12:01:23 T:4336 ERROR: Playlist Player: skipping unplayable item: 0, path [davs://****:443/***/Videos/Films/****.avi]
12:01:23 T:4336 NOTICE: CDVDPlayer::CloseFile()
12:01:23 T:4336 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
12:01:23 T:4336 NOTICE: DVDPlayer: waiting for threads to exit
12:01:23 T:4336 NOTICE: DVDPlayer: finished waiting
12:01:29 T:4336 NOTICE: DVDPlayer: Opening: davs://****:443/***/Videos/Films/****.avi
12:01:29 T:4336 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
12:01:29 T:2304 NOTICE: Creating InputStream
12:01:36 T:2304 NOTICE: Creating Demuxer
12:02:06 T:2304 WARNING: could not find codec parameters for davs://****:443/***/Videos/Films/****.avi
12:02:06 T:2304 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
12:02:06 T:2304 NOTICE: CDVDPlayer::OnExit()
12:02:06 T:2304 NOTICE: CDVDPlayer::OnExit() deleting input stream
12:02:06 T:4336 ERROR: Playlist Player: skipping unplayable item: 0, path [davs://****:443/***/Videos/Films/****.avi]
12:02:06 T:4336 NOTICE: CDVDPlayer::CloseFile()
If you have an idea ...
Thanks for your help.
RE: webdav bug ? - DDDamian - 2012-04-08
That's not enough info (debugging should be on and full log pls) but you can try increasing network timeouts and retries - search the Wiki for advancedsettings.xml and look at the network parameters.
RE: webdav bug ? - Ned Scott - 2012-04-09
advancedsettings.xml (wiki)
RE: webdav bug ? - raffoul - 2012-04-11
ok thanks for your answers. I think there is a link with timeouts but the problem persists.
Code: <network>
<autodetectpingtime>30</autodetectpingtime> <!-- Length in seconds between pinging the network to detect new devices -->
<curlclienttimeout>60</curlclienttimeout> <!-- Timeout in seconds for libcurl (http/ftp) connections -->
<curlretries>10</curlretries>
<curllowspeedtime>10</curllowspeedtime> <!-- Time in seconds for libcurl to consider a connection lowspeed -->
<cachemembuffersize>1048576</cachemembuffersize> <!-- number of bytes used for buffering streams ahead in memory
XBMC will not buffer ahead more than this. WARNING: for the bytes set here, XBMC will consume 3x the amount of RAM -->
</network>
When I increase the timeout, there is not 60s before the error. Why ?
When I try with a small buffer size, same thing ... :/
Log :
http://pastebin.com/v2riNZzv
RE: webdav bug ? - raffoul - 2012-04-15
up
RE: webdav bug ? - pete42 - 2012-05-30
Hi there,
Got the same problem on a friends machine. Can't figure out why exactly this is happening, everybody else seems to be fine though.
Here is an excerpt of the log:
Code: Starting XBMC (11.0 Git:20120321-14feb09), Platform: Windows 7, 32-bit Service Pack 1 build 7601. (compiler 1600)
Intel(R) Pentium(R) M processor 1.10GHz
Desktop Resolution: 1280x768 32Bit at 60Hz
Aero is disabled
Default DVD Player: dvdplayer
Default Video Player: dvdplayer
Default Audio Player: paplayer
Code: 21:26:06 T:3716 NOTICE: DVDPlayer: Opening: dav://XXXXXXX.avi
21:26:06 T:3716 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:26:06 T:1348 NOTICE: Creating InputStream
21:26:12 T:1348 NOTICE: Creating Demuxer
21:26:43 T:1348 WARNING: could not find codec parameters for dav://XXXXXXXX.avi
21:26:43 T:1348 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
21:26:43 T:1348 NOTICE: CDVDPlayer::OnExit()
21:26:43 T:1348 NOTICE: CDVDPlayer::OnExit() deleting input stream
21:26:43 T:3716 ERROR: Playlist Player: skipping unplayable item: 0, path [dav://XXXXXXXXX.avi]
21:26:43 T:3716 NOTICE: CDVDPlayer::CloseFile()
21:26:43 T:3716 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:26:43 T:3716 NOTICE: DVDPlayer: waiting for threads to exit
21:26:43 T:3716 NOTICE: DVDPlayer: finished waiting
Any ideas?
Thanks, Pete
RE: webdav bug ? - Ned Scott - 2012-05-30
Check the wiki page to see if this fix helps you: WebDAV (wiki):
Quote:Windows 7 has a built-in webDAV server. If XBMC can't connect to Windows 7 webDAV server: use basic authorization. Disable anonymous authorzation and Windows authorization, use basic only and it will connect.
RE: webdav bug ? - DDDamian - 2012-05-30
Check that AVI is a handled mime type in your windows webdav settings, and also see if it's an XVID - they seem to have more streaming issues than DIVX.
RE: webdav bug ? - pete42 - 2012-05-31
Hi, thanks for answering
I am using basic authorization. Normally there is not a single problem with my webdav server and xbmc. The PC described above seems to be the only one so far having this problem.
When I open the same file on my own machine, it works flawlessly:
Code: 08:14:29 T:2964 NOTICE: DVDPlayer: Opening: dav://xxxxxxxxxxxxxxxxx.avi
08:14:29 T:2964 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
08:14:29 T:5400 NOTICE: Creating InputStream
08:14:30 T:5400 NOTICE: Creating Demuxer
08:14:38 T:5400 NOTICE: Opening video stream: 0 source: 256
08:14:38 T:5400 NOTICE: Creating video codec with codec id: 13
08:14:38 T:5400 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
08:14:38 T:5400 NOTICE: Creating video thread
08:14:38 T:5400 NOTICE: Opening audio stream: 1 source: 256
08:14:38 T:5400 NOTICE: Finding audio codec for: 86017
08:14:38 T:3188 NOTICE: running thread: video_thread
08:14:38 T:5400 NOTICE: Creating audio thread
08:14:38 T:4360 NOTICE: running thread: CDVDPlayerAudio::Process()
08:14:38 T:4360 NOTICE: Creating audio device with codec id: 86017, channels: 2, sample rate: 48000, no pass-through
Could the problem on the other PC be coming from a slow connection or previously installed codecs or is there no specific problem to look out for?
Pete
PS: I am using lighttpd on ubuntu 10.04 as a webdav server
EDIT: I should mention that this problem only occurs on some files, and always the same ones. A codec problem seems to be very possible.
|