I have a really strange problem, where VLC is unable to play a file from HTTP server, on a particular machine, but works great on other machines.
I read the logs for both machines, and it seems as VLC unable to seek correctly in the problematic machine.
Here are the log snippets:
Working machine:
Non-working machine:mp4 debug: found Box: ftyp size 28
mp4 debug: found Box: free size 8
mp4 debug: skip box: "free"
mp4 debug: found Box: mdat size 786681
mp4 debug: skip box: "mdat"
access_http debug: trying to seek to 786717
main debug: net: connecting to 80.179.88.180 port 80
main debug: connection: Resource temporarily unavailable
main debug: connection succeeded (socket = 736)
access_http debug: protocol 'HTTP' answer code 206
access_http debug: Content-Type: application/octet-stream
access_http debug: this frame size=2589
access_http debug: stream size=789306,pos=786717,remaining=2589
mp4 debug: found Box: moov size 2589
mp4 debug: found Box: mvhd size 108
mp4 debug: read box: "mvhd" creation 719084d-36h:00m:00s modification 719084d-36h:00m:00s time scale 1000 duration 694977d-48h:00m:01s rate 1.000000 volume 1.000000 next track id 2
mp4 debug: found Box: trak size 2473
mp4 debug: found Box: tkhd size 92
mp4 debug: read box: "tkhd" creation 719084d-36h:00m:00s modification 719084d-36h:00m:00s duration 694977d-10h:13m:20s track ID 1 layer 0 volume 0.000000 width 352.000000 height 288.000000
mp4 debug: found Box: ftyp size 28
mp4 debug: found Box: free size 8
mp4 debug: skip box: "free"
mp4 debug: found Box: mdat size 786681
mp4 debug: skip box: "mdat"
access_http debug: trying to seek to 786717
main debug: net: connecting to 80.179.88.180 port 80
main debug: connection: Resource temporarily unavailable
main debug: connection succeeded (socket = 1680)
access_http debug: protocol 'HTTP' answer code 206
access_http debug: Content-Type: application/octet-stream
access_http debug: this frame size=789306
access_http debug: stream size=1576023,pos=786717,remaining=789306
mp4 debug: found Box: ftyp size 28
mp4 debug: found Box: free size 8
mp4 debug: skip box: "free"
mp4 debug: found Box: mdat size 786681
mp4 debug: skip box: "mdat"
mp4 debug: out of bound child
mp4 debug: dumping root Box "root"
mp4 debug: | + ftyp size 28
mp4 debug: | + free size 8
mp4 debug: | + mdat size 786681
mp4 debug: | + ftyp size 28
mp4 debug: | + free size 8
mp4 debug: | + mdat size 786681
mp4 debug: ISO Media file (isom) version 512.
mp4 error: MP4 plugin discarded (no moov box)
lua debug: Trying Lua scripts in C:\Documents and Settings\Ezrav\Application Data\vlc\lua\playlist
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\\lua\playlist
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\anevia_streams.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\appletrailers.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\bbc_co_uk.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\break.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\canalplus.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\cue.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\dailymotion.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\france2.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\googlevideo.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\joox.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\koreus.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\lelombrik.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\megavideo.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\metacafe.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\youtube.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\youtube_homepage.lua
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\\share\lua\playlist
avformat debug: detected format: mov,mp4,m4a,3gp,3g2,mj2
access_http debug: trying to seek to 786681
main debug: net: connecting to 80.179.88.180 port 80
main debug: connection: Resource temporarily unavailable
main debug: connection succeeded (socket = 1680)
access_http debug: protocol 'HTTP' answer code 206
access_http debug: Content-Type: application/octet-stream
access_http debug: this frame size=789306
access_http debug: stream size=1575987,pos=786681,remaining=789306
access_http debug: trying to seek to 1573398
main debug: net: connecting to 80.179.88.180 port 80
main debug: connection: Resource temporarily unavailable
main debug: connection succeeded (socket = 1716)
access_http debug: protocol 'HTTP' answer code 206
access_http debug: Content-Type: application/octet-stream
access_http debug: this frame size=789306
access_http debug: stream size=2362704,pos=1573398,remaining=789306
avformat error: av_open_input_stream failed
As you see, on non-working machine, entirely different size is read, which causes the reader to miss the "moov" box, and prevents the file playback.
Any idea why this happen, and how to re-solve it?
Thanks in advance!