[vlc] http streaming problem with big files (over 1GB)
Fabien
fabien.ubuntu at gmail.com
Wed Nov 5 16:48:58 CET 2008
Hello,
I have a JVC everio camcorder which produces MPEG2 files (in .mod
format). I convert the videos with ffmpeg, eg :
1) test1
ffmpeg -i talk_martin_lange_2008-10-09.mod -b 1800k -s 640x512 -ab
128000 -acodec mp3 talk_martin_lange_2008-10-09_mid.avi
This produces a 1057503590 bytes file :
<http://tresor.epfl.ch/videos_vlc/talk_martin_lange_2008-10-09_mid.avi>
2) test 2
ffmpeg -i talk_martin_lange_2008-10-09.mod -b 1800k -s 660x528 -ab
128000 -acodec mp3 talk_martin_lange_2008-10-09_mid2.avi
This produces a 1139005998 bytes file :
<http://tresor.epfl.ch/videos_vlc/talk_martin_lange_2008-10-09_mid2.avi>
If I try to play them in streaming with vlc, it works perfectly with the
1st one, but not with the second one, where I get "HTTP/1.1 416
Requested Range Not Satisfiable".
I got the same problem under linux (v0.8.4) and windows (v0.9.4).
It seems vlc tries to access beyond the end of file :
access_http access debug: stream size=1139005998
access_http access debug: trying to seek to 1073741928
[00000278] main access debug: net: connecting to tresor.epfl.ch port 80
[00000278] main access debug: connection in progress
[00000278] access_http access debug: protocol 'HTTP' answer code 206
access_http access debug: stream size=1139005998
[00000278] access_http access debug: trying to seek to 1139006010
[00000278] main access debug: net: connecting to tresor.epfl.ch port 80
[00000278] main access debug: connection in progress
[00000278] access_http access debug: protocol 'HTTP' answer code 416
[00000278] access_http access error: error: HTTP/1.1 416 Requested Range
Not Satisfiable
[00000278] access_http access error: seek failed
Any idea ?
Note that mplayer can read both files in streaming without problem.
Thanks for your help.
--
Fabien
More information about the vlc
mailing list