webdav bug ?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
raffoul Offline
Junior Member
Posts: 5
Joined: Mar 2012
Reputation: 0
Post: #1
Hi my friends Big Grin
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.
(This post was last modified: 2012-04-08 12:11 by raffoul.)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #2
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.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 20,330
Joined: Jan 2011
Reputation: 256
Location: Arizona, USA
Post: #3
advancedsettings.xml

You can make easy links to the XBMC wiki using double brackets around common XBMC words: debug log = debug log, Video library = Video library, SMB = SMB , userdata = userdata, etc
find quote
raffoul Offline
Junior Member
Posts: 5
Joined: Mar 2012
Reputation: 0
Post: #4
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
(This post was last modified: 2012-04-11 18:23 by raffoul.)
find quote
raffoul Offline
Junior Member
Posts: 5
Joined: Mar 2012
Reputation: 0
Post: #5
up
find quote
pete42 Offline
Junior Member
Posts: 2
Joined: May 2012
Reputation: 0
Post: #6
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
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 20,330
Joined: Jan 2011
Reputation: 256
Location: Arizona, USA
Post: #7
Check the wiki page to see if this fix helps you: WebDAV:


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.

You can make easy links to the XBMC wiki using double brackets around common XBMC words: debug log = debug log, Video library = Video library, SMB = SMB , userdata = userdata, etc
(This post was last modified: 2012-05-30 12:08 by Ned Scott.)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #8
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.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
pete42 Offline
Junior Member
Posts: 2
Joined: May 2012
Reputation: 0
Post: #9
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.
(This post was last modified: 2012-05-31 09:20 by pete42.)
find quote