Cannot stream movie to VLC

Help
2013-07-05
2013-07-08
  • vonmatrices
    vonmatrices
    2013-07-05

    I'm sorry if this is a repost;

    I have MiniDLNA version 1.0.24 from the Debian repositories.

    I have set it up as best I could, and it provides playlists of all my music and movies with no issues.

    The music plays fine over the network.

    The issue is when I try to play an AVI file (xvid encoded). The video does not start at all. The player I am using is VLC 2.0.6 TwoFlower, and it is providing no error messages. The output from minidlna -d is below. In the VLC playlist player, I doubleclick on the movie AVI (I own the movie) to play it, and it does not provide an error, but simply will not play it. It plays audio files just fine. The file in question is over 2 GB.

    If there is anything else required, please let me know. I did try using the Minidlna on this site (v 1.1.0) and it seemed to give the same behavior.

    [2013/07/04 20:55:25] minidlna.c:1216: debug: HTTP connection from 192.168.2.5:51958
    [2013/07/04 20:55:25] upnphttp.c:282: debug: Range Start-End: 0 - -1
    [2013/07/04 20:55:25] upnphttp.c:899: debug: HTTP REQUEST: GET /MediaItems/911.avi HTTP/1.1
    Host: 192.168.2.10:8200
    User-Agent: VLC/2.0.6 LibVLC/2.0.6
    Range: bytes=0-
    Connection: close
    Icy-MetaData: 1

    [2013/07/04 20:55:25] upnphttp.c:1872: info: Serving DetailID: 911 [/data/video/Film/The-Blues-Brothers/The-Blues-Brothers-001.avi]
    [2013/07/04 20:55:25] upnphttp.c:1267: debug: sendfile error :: error no. 32 [Broken pipe]
    [2013/07/04 20:55:25] minidlna.c:1216: debug: HTTP connection from 192.168.2.5:51959
    [2013/07/04 20:55:25] upnphttp.c:282: debug: Range Start-End: 1982801484 - -1
    [2013/07/04 20:55:25] upnphttp.c:899: debug: HTTP REQUEST: GET /MediaItems/911.avi HTTP/1.1
    Host: 192.168.2.10:8200
    User-Agent: VLC/2.0.6 LibVLC/2.0.6
    Range: bytes=1982801484-
    Connection: close
    Icy-MetaData: 1

    [2013/07/04 20:55:25] upnphttp.c:1872: info: Serving DetailID: 911 [/data/video/Film/The-Blues-Brothers/The-Blues-Brothers-001.avi]
    [2013/07/04 20:55:25] minidlna.c:1216: debug: HTTP connection from 192.168.2.5:51960
    [2013/07/04 20:55:25] upnphttp.c:1267: debug: sendfile error :: error no. 32 [Broken pipe]
    [2013/07/04 20:55:25] upnphttp.c:282: debug: Range Start-End: 2186331542 - -1
    [2013/07/04 20:55:25] upnphttp.c:899: debug: HTTP REQUEST: GET /MediaItems/911.avi HTTP/1.1
    Host: 192.168.2.10:8200
    User-Agent: VLC/2.0.6 LibVLC/2.0.6
    Range: bytes=2186331542-
    Connection: close
    Icy-MetaData: 1

    [2013/07/04 20:55:25] upnphttp.c:1872: info: Serving DetailID: 911 [/data/video/Film/The-Blues-Brothers/The-Blues-Brothers-001.avi]
    [2013/07/04 20:55:25] upnphttp.c:1267: debug: sendfile error :: error no. 32 [Broken pipe]
    [2013/07/04 20:55:25] minidlna.c:1216: debug: HTTP connection from 192.168.2.5:51961
    [2013/07/04 20:55:25] upnphttp.c:282: debug: Range Start-End: 1984387988 - -1
    [2013/07/04 20:55:25] upnphttp.c:899: debug: HTTP REQUEST: GET /MediaItems/911.avi HTTP/1.1
    Host: 192.168.2.10:8200
    User-Agent: VLC/2.0.6 LibVLC/2.0.6
    Range: bytes=1984387988-
    Connection: close
    Icy-MetaData: 1

    [2013/07/04 20:55:25] upnphttp.c:1872: info: Serving DetailID: 911 [/data/video/Film/The-Blues-Brothers/The-Blues-Brothers-001.avi]
    [2013/07/04 20:55:25] minidlna.c:1216: debug: HTTP connection from 192.168.2.5:51962
    [2013/07/04 20:55:25] upnphttp.c:1267: debug: sendfile error :: error no. 32 [Broken pipe]
    [2013/07/04 20:55:25] upnphttp.c:282: debug: Range Start-End: 2186450874 - -1
    [2013/07/04 20:55:25] upnphttp.c:899: debug: HTTP REQUEST: GET /MediaItems/911.avi HTTP/1.1
    Host: 192.168.2.10:8200
    User-Agent: VLC/2.0.6 LibVLC/2.0.6
    Range: bytes=2186450874-
    Connection: close
    Icy-MetaData: 1

    [2013/07/04 20:55:25] upnphttp.c:1872: info: Serving DetailID: 911 [/data/video/Film/The-Blues-Brothers/The-Blues-Brothers-001.avi]
    [2013/07/04 20:55:26] minidlna.c:1216: debug: HTTP connection from 192.168.2.5:51964
    [2013/07/04 20:55:26] upnphttp.c:282: debug: Range Start-End: 0 - -1
    [2013/07/04 20:55:26] upnphttp.c:899: debug: HTTP REQUEST: GET /MediaItems/911.avi HTTP/1.1
    Host: 192.168.2.10:8200
    User-Agent: VLC/2.0.6 LibVLC/2.0.6
    Range: bytes=0-
    Connection: close
    Icy-MetaData: 1

    [2013/07/04 20:55:26] upnphttp.c:1872: info: Serving DetailID: 911 [/data/video/Film/The-Blues-Brothers/The-Blues-Brothers-001.avi]
    [2013/07/04 20:55:26] upnphttp.c:1267: debug: sendfile error :: error no. 32 [Broken pipe]
    [2013/07/04 20:55:26] minidlna.c:1216: debug: HTTP connection from 192.168.2.5:51965
    [2013/07/04 20:55:26] upnphttp.c:282: debug: Range Start-End: 1982801484 - -1
    [2013/07/04 20:55:26] upnphttp.c:899: debug: HTTP REQUEST: GET /MediaItems/911.avi HTTP/1.1
    Host: 192.168.2.10:8200
    User-Agent: VLC/2.0.6 LibVLC/2.0.6
    Range: bytes=1982801484-
    Connection: close
    Icy-MetaData: 1

    [2013/07/04 20:55:26] upnphttp.c:1872: info: Serving DetailID: 911 [/data/video/Film/The-Blues-Brothers/The-Blues-Brothers-001.avi]
    [2013/07/04 20:55:26] minidlna.c:1216: debug: HTTP connection from 192.168.2.5:51966
    [2013/07/04 20:55:26] upnphttp.c:1267: debug: sendfile error :: error no. 32 [Broken pipe]
    [2013/07/04 20:55:26] upnphttp.c:282: debug: Range Start-End: 2186331542 - -1
    [2013/07/04 20:55:26] upnphttp.c:899: debug: HTTP REQUEST: GET /MediaItems/911.avi HTTP/1.1
    Host: 192.168.2.10:8200
    User-Agent: VLC/2.0.6 LibVLC/2.0.6
    Range: bytes=2186331542-
    Connection: close
    Icy-MetaData: 1

    [2013/07/04 20:55:26] upnphttp.c:1872: info: Serving DetailID: 911 [/data/video/Film/The-Blues-Brothers/The-Blues-Brothers-001.avi]
    [2013/07/04 20:55:26] upnphttp.c:1267: debug: sendfile error :: error no. 32 [Broken pipe]
    [2013/07/04 20:55:26] minidlna.c:1216: debug: HTTP connection from 192.168.2.5:51967
    [2013/07/04 20:55:26] upnphttp.c:282: debug: Range Start-End: 1984387988 - -1
    [2013/07/04 20:55:26] upnphttp.c:899: debug: HTTP REQUEST: GET /MediaItems/911.avi HTTP/1.1
    Host: 192.168.2.10:8200
    User-Agent: VLC/2.0.6 LibVLC/2.0.6
    Range: bytes=1984387988-
    Connection: close
    Icy-MetaData: 1

    [2013/07/04 20:55:26] upnphttp.c:1872: info: Serving DetailID: 911 [/data/video/Film/The-Blues-Brothers/The-Blues-Brothers-001.avi]
    [2013/07/04 20:55:26] minidlna.c:1216: debug: HTTP connection from 192.168.2.5:51968
    [2013/07/04 20:55:26] upnphttp.c:1267: debug: sendfile error :: error no. 32 [Broken pipe]
    [2013/07/04 20:55:26] upnphttp.c:282: debug: Range Start-End: 2186450874 - -1
    [2013/07/04 20:55:26] upnphttp.c:899: debug: HTTP REQUEST: GET /MediaItems/911.avi HTTP/1.1
    Host: 192.168.2.10:8200
    User-Agent: VLC/2.0.6 LibVLC/2.0.6
    Range: bytes=2186450874-
    Connection: close
    Icy-MetaData: 1

    [2013/07/04 20:55:26] upnphttp.c:1872: info: Serving DetailID: 911 [/data/video/Film/The-Blues-Brothers/The-Blues-Brothers-001.avi]

     
  • vonmatrices
    vonmatrices
    2013-07-05

    Addition - I have gone ahead and attempted to compile by source Minidlna v1.1.0 from sourceforge - I got all the dependencies and properly ran ./configure, make, and make install. The minidlnad daemon ran fine, and the files.db file was created fine, but still the video file (AVI container, xvid format) will not play. If needed, I can put the output from the configure, make, and make install files here.

     
  • vonmatrices
    vonmatrices
    2013-07-05

    Second update - getting a different AVI file from the internet - http://cinelerra.org/footage/bars_100.avi

    Using this second test AVI now the miniDLNA server can stream that video. So, the issue seems to be with with the first AVI.

    NON-WORKING AVI HEADER
    [avifix] scanning AVI-file The-Blues-Brothers-001.avi for header information
    [avilib] V: 23.976 fps, codec=XVID, frames=212464, width=640, height=336
    [avilib] A: 48000 Hz, format=0x55, bits=16, channels=2, bitrate=128 kbps,
    [avilib] 212463 chunks, 141783936 bytes, CBR
    [avifix] offsets: ah=296 af=360 vh=112 vf=188
    [avifix] updated AVI file The-Blues-Brothers-001.avi
    [avilib] V: 23.976 fps, codec=XVID, frames=212464, width=640, height=336
    [avilib] A: 48000 Hz, format=0x55, bits=16, channels=2, bitrate=128 kbps,
    [avilib] 212463 chunks, 141783936 bytes, CBR

    WORKING AVI HEADER
    [avifix] scanning AVI-file bars_100.avi for header information
    [avilib] V: 25.000 fps, codec=dvsd, frames=101, width=720, height=576
    [avilib] A: 48000 Hz, format=0x01, bits=16, channels=2, bitrate=1536 kbps,
    [avilib] 5 chunks, 775680 bytes, CBR
    [avifix] offsets: ah=32264 af=32328 vh=112 vf=188
    [avifix] updated AVI file bars_100.avi
    [avilib] V: 25.000 fps, codec=dvsd, frames=101, width=720, height=576
    [avilib] A: 48000 Hz, format=0x01, bits=16, channels=2, bitrate=1536 kbps,
    [avilib] 5 chunks, 775680 bytes, CBR

    So.... I think that has to be almost everything I can give.

     
  • vonmatrices
    vonmatrices
    2013-07-05

    One quick additional bit of data - the large avi file with XVID codec can be played locally - it is only when trying to play it via the miniDLNA server when it doesn't play. So miniDLNA is the crucial bit - but I don't know why.

     
  • vonmatrices
    vonmatrices
    2013-07-08

    Solved this issue by using the minidlna w/ transcode available below.

    https://bitbucket.org/stativ/readymedia-transcode/overview

    One minor issue still stands, but I'll bring it up separately.

    Thank you for running this site and project.