I have a problem when I open an avi file from an http server (eg: http//my_ip/test.avi)
It says that the file is broken and ask if I would like to repair it.
If I answer yes, the video open but there is no progress bar.
If I download the file and then play it, I haven't this problem.
And if I try to play it (with the first method) with kplayer I don't have this problem.
Here is the message:
It seems that he can't find the index.avi debug: stream[1] rate:16001 scale:1 samplesize:1
avi debug: stream[1] audio(0x55) 2 channels 44100Hz 0bits
avi warning: cannot find idx1 chunk, no index defined
avi warning: cannot find indx (misdetect/broken OpenDML file?)
avi warning: cannot find indx (misdetect/broken OpenDML file?)
avi debug: stream[0] created 0 index entries
avi debug: stream[1] created 0 index entries
avi warning: broken or missing index, 'seek' will be axproximative or will have strange behaviour
avi debug: Fixing AVI index
avi warning: cannot create index (unseekable stream)
avi warning: cannot find idx1 chunk, no index defined
avi warning: cannot find indx (misdetect/broken OpenDML file?)
avi warning: cannot find indx (misdetect/broken OpenDML file?)
avi debug: stream[0] created 0 index entries
avi debug: stream[1] created 0 index entries
avi warning: broken or missing index, 'seek' will be axproximative or will have strange behaviour
main debug: using demux2 module "avi"
main debug: looking for decoder module: 27 candidates
ffmpeg debug: libavcodec initialized (interface 3353856 )
ffmpeg debug: postprocessing disabled
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "ffmpeg"
main debug: thread 1147169104 (decoder) created at priority 0 (input/decoder.c:159)
main debug: looking for decoder module: 27 candidates
main debug: using decoder module "mpeg_audio"
main debug: thread 1157658960 (decoder) created at priority 0 (input/decoder.c:159)
access_ftp warning: unimplemented query in control
main debug: meta information:
main debug: - 'Paramètre' = ' HAS_INDEX IS_INTERLEAVED'
main debug: `ftp://*******/test2.avi' successfully opened
main debug: no usable vout present, spawning one
mpeg_audio debug: MPGA channels:2 samplerate:44100 bitrate:128
main debug: no aout present, spawning one
main debug: looking for audio output module: 8 candidates
main debug: window size: 640x272
main debug: looking for video output module: 10 candidates
xvideo debug: adaptor 0, port 280, format 0x32315659 (YV12) planar
pulse debug: Pulse mainloop started
pulse debug: Pulse stream connected
pulse debug: Pulse initialized successfully
pulse debug: Buffer metrics: maxlength=44100, tlength=39688, prebuf=19844, minreq=3968
pulse debug: Using sample spec 's16le 2ch 44100Hz', channel map 'front-left,front-right'.
pulse debug: Connected to device alsa_output.pci_8086_284b_alsa_playback_0 (0, not suspended).
main debug: using audio output module "pulse"
main debug: output 's16l' 44100 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: filter(s) 'fl32'->'s16l' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: Registering subpicture channel, ID: 2
main debug: Registering subpicture channel, ID: 3
main debug: Registering subpicture channel, ID: 4
main debug: Registering subpicture channel, ID: 5
main debug: using audio filter module "float32tos16"
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "trivial_mixer"
main debug: input 'mpga' 44100 Hz Stereo frame=1152 samples/1053 bytes
main debug: filter(s) 'mpga'->'fl32' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "mpgatofixed32"
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion
xvideo debug: XShm video extension v1.1 (with pixmaps, opcode: 147)
xvideo debug: Window manager supports NetWM
xvideo debug: Window manager supports _NET_WM_STATE_FULLSCREEN
xvideo debug: Window manager supports _NET_WM_STATE_ABOVE
xvideo debug: Window manager supports _NET_WM_STATE_BELOW
xvideo debug: Window manager supports _NET_WM_STATE_STAYS_ON_TOP
main debug: using video output module "xvideo"
main debug: waiting for thread completion
main debug: got 8 direct buffer(s)
main debug: picture in 640x272 (0,0,640x272), chroma I420, ar 101647:43200, sar 1:1
main debug: picture user 640x272 (0,0,640x272), chroma I420, ar 101647:43200, sar 1:1
main debug: picture out 640x272 (0,0,640x272), chroma I420, ar 101647:43200, sar 1:1
main debug: direct render, mapping render pictures 0-6 to system pictures 1-7
main debug: thread 1178638672 (video output) created at priority 0 (video_output/video_output.c:421)
mpgatofixed32 debug: libmad error: bad main_data_begin pointer
pulse debug: Pulse stream started
mpgatofixed32 debug: libmad error: bad main_data_begin pointer
Can you help me please?