WebDAV playing a movie stops after a few seconds
#1
Hi

I was wondering if anyone has experience of streaming from a webDAV source. I have a webDAV space from giganews and added it to video sources all well and good but when I try to play something, for example a 700MB avi it only plays for a few seconds then stops.

I had a look around the forum and wiki and eventually added this to advancedsettings.xml but doesnt make any difference.

<network>
<autodetectpingtime>240</autodetectpingtime>
<curlclienttimeout>1000</curlclienttimeout>
<curllowspeedtime>1000</curllowspeedtime>
<curlretries>10</curlretries>
<disableipv6>false</disableipv6>
<cachemembuffersize>0</cachemembuffsize>
</network>

Huh? Thanks
Reply
#2
Can you try post a debug log? Also try increasing the timeout value (double it).

I have seen issues where AVI's with XVID don't stream but DIVX do, but try the above first.
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!
Reply
#3
DDDamian Wrote:Can you try post a debug log? Also try increasing the timeout value (double it).

I have seen issues where AVI's with XVID don't stream but DIVX do, but try the above first.

I doubled that value and the video plays for longer but still stops at a random point within a few minutes. Just as the video starts to play a message appears "cache full cache filled before reaching required amount". I turned on debug log and here is the last part of it,

15:48:46 T:11089680 DEBUG: CGUIWindowManager:TonguereviousWindow: Deactivate
15:48:46 T:11089680 DEBUG: ------ Window Deinit (VideoFullScreen.xml) ------
15:48:46 T:11089680 DEBUG: OnLostDevice - notify display change event
15:48:46 T:11089680 DEBUG: Flush - flushing renderer
15:48:46 T:11089680 INFO: XRANDR: /usr/lib/xbmc/xbmc-xrandr --output default --mode 0x12b
15:48:47 T:2913942384 DEBUG: CVideoReferenceClock: Vblank counter has reset
15:48:47 T:2913942384 DEBUG: CVideoReferenceClock: Detaching glX context
15:48:47 T:2913942384 DEBUG: CVideoReferenceClock: Attaching glX context
15:48:47 T:11089680 ERROR: GLX: Same window as before, refreshing context
15:48:47 T:11089680 INFO: GL: Maximum texture width: 8192
15:48:47 T:11089680 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
15:48:47 T:11089680 DEBUG: CGUIWindowManager:TonguereviousWindow: Activate new
15:48:47 T:11089680 DEBUG: ------ Window Init (MyVideoNav.xml) ------
15:48:47 T:11089680 INFO: Loading skin file: MyVideoNav.xml
15:48:47 T:11089680 DEBUG: CGUIMediaWindow::GetDirectory (davs://#######:#######@dav.dumptruck.goldenfrog.com:443/r/giganews.com/)
15:48:47 T:11089680 DEBUG: ParentPath = [davs://#######:#######@dav.dumptruck.goldenfrog.com:443/r/giganews.com/]
15:48:47 T:11089680 DEBUG: Loading fileitems [davs://#######:#######@dav.dumptruck.goldenfrog.com:443/r/giganews.com/]
15:48:47 T:11089680 DEBUG: -- items: 2, directory: davs://#######:#######@dav.dumptruck.goldenfrog.com:443/r/giganews.com/ sort method: 0, ascending: false
15:48:47 T:11089680 DEBUG: RunQuery took 0 ms for 1 items query: select strFilename,playCount from files where idPath=293
15:48:47 T:3027217264 DEBUG: Thread Background Loader start, auto delete: 0
15:48:47 T:11089680 DEBUG: SECTION:UnloadDelayed(DLL: libnfs.so.0)
15:48:47 T:11089680 DEBUG: Unloading: libnfs.so.0
15:48:47 T:11089680 ERROR: XLCDproc::Connect - Unable to connect to host, LCDd not running?
15:48:47 T:11089680 ERROR: XLCDproc::Initialize - Connect failed. Giving up.
15:48:47 T:2939120496 DEBUG: Thread Jobworker start, auto delete: 1
15:48:47 T:3027217264 DEBUG: FileCurl::Open(0xb46f9860) https://dav.dumptruck.goldenfrog.com:443...anews.com/
15:48:47 T:11089680 DEBUG: CheckDisplayEvents: Received RandR event 123
15:48:47 T:11089680 DEBUG: CheckDisplayEvents - notify display reset event
15:48:47 T:2913942384 DEBUG: CVideoReferenceClock: Received RandR event 123
15:48:47 T:11089680 NOTICE: CDVDPlayer::CloseFile()
15:48:47 T:11089680 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
15:48:47 T:11089680 NOTICE: DVDPlayer: waiting for threads to exit
15:48:47 T:11089680 NOTICE: DVDPlayer: finished waiting
15:48:47 T:11089680 DEBUG: LinuxRendererGL: Cleaning up GL resources
15:48:47 T:2939120496 DEBUG: DoWork - took 267 ms to load special://skin/backgrounds/videos.jpg
15:48:47 T:2939120496 DEBUG: DoWork - Saving file state for video item davs://#######:#######@dav.dumptruck.goldenfrog.com:443/r/giganews.com/equi-xvid.avi
15:48:48 T:2913942384 DEBUG: CVideoReferenceClock: output of nvidia-settings -nt -q RefreshRate3: 50.000 Hz
15:48:48 T:2913942384 DEBUG: CVideoReferenceClock: Detected refreshrate by nvidia-settings: 50.000000 hertz, rounding to 50 hertz
15:48:48 T:2913942384 DEBUG: CVideoReferenceClock: Cleaning up GLX
15:48:48 T:2913942384 DEBUG: Thread CVideoReferenceClock 2913942384 terminating
15:48:48 T:11089680 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-i486-linux.so)
15:48:48 T:11089680 DEBUG: Unloading: ImageLib-i486-linux.so
15:48:50 T:3027217264 DEBUG: Thread Background Loader 3027217264 terminating

I've #'d out my username:pass and will post the rest of the log if required
Reply
#4
Pls do post the full debug. If it's too much of a pain to xxx out all the user / pass then you can PM me the link. If possible pls get a screenshot of the actual message which pops up as well. Thx.
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!
Reply
#5
New log,

http://freetexthost.com/6d4it0gmmy

Image

http://s8.postimage.org/3mmuxixsl/screenshot004.png

There was only one instance of username pass in this log for some reason (obviously because I didnt have debug on:rolleyes2:, see below). The message is scrolling so tried to get as much as I could.

woops debug log here http://textuploader.com/?p=6&id=DD676
Reply
#6
Sorry Ferry - this one slipped my mind. I have reviewed your log, and have some bad news. In tests video encoded using XVID would not stream correctly using webdav, whereas DIVX encoding streams just fine.

The content you are trying to play is XVID-encoded. I am unsure of the source of the problem (other than DIVX was designed with streaming in mind), but I suspect that it has to do with not finding a/v sync frames in XVIDs within the buffered space.

The error is being reported from an external library XBMC uses to read the stream, so I can't say an easy fix is coming. You may wish to open a Trac ticket to keep this issue alive.

Sorry I couldn't find a simple fix for you - the only workaround I can suggest is to use a dedicated WebDav client to directly download the files you wish to use.
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!
Reply
#7
Hi Damian

Thanks for clearing it up, I'll try this out with divx and a few other formats to see what works. The reason I'm particularly insterested in this is so that I can set up an apple tv with xbmc and send it to my mother in law, she can then just plug it in and I can distribute pictures and video via the 30GB webdav space that giganews provides.

Cheers
Reply
#8
ferry Wrote:Hi Damian

Thanks for clearing it up, I'll try this out with divx and a few other formats to see what works. The reason I'm particularly insterested in this is so that I can set up an apple tv with xbmc and send it to my mother in law, she can then just plug it in and I can distribute pictures and video via the 30GB webdav space that giganews provides.

Cheers

Hey - that's a nice gesture man. Cool You can also get a free 15gb at 4shared.com. I just helped another user with his webserver (for a similar idea) and we found that webdav + XVid was about the only format that didn't work from his Apache server. Another key would be to use "basic" authorization. I tried 4shared.com to simulate your issue with Giganew/dumptruck and noted they don't support Win7 x64's webDav implementation, but did for x86, so not all servers support all clients Sad

Keep us posted - there's other ways to skin the cat.
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!
Reply
#9
Quote:Keep us posted - there's other ways to skin the cat.

I will, those old fashioned 720p boxes might be getting pretty cheap nowBig Grin
Reply
#10
And if you're gonna try stream 1080p over any network good luck lol. WebDav ain't gonna get you there.
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!
Reply
#11
Update

I uploaded a few of the divx samples over at the divx.com website namely Sintel_DivXPlus_6500kbps.mkv and AmosOcean_DivXPlus_10Mbps.mkv to my webdav space and tried them, they played fine. Then for no sound reason other than try-it-and-see I changed the original .avi I was trying to play to .mkv and played it. The first thing I noticed was that there was no error message popping up on screen and then the file played fine without stopping. So this was originally an xvid within an avi wrapper which would play for a few minuted then stop, renaming to .mkv works fine.

Going to try the same thing with more .avi xvids and see what happens
Reply
#12
Good catch - confirms it'ss something to do with the AVI mime type and how it's handled.
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!
Reply

Logout Mark Read Team Forum Stats Members Help
WebDAV playing a movie stops after a few seconds0