Page 1 of 1

Differenec between file input and http access playback

Posted: 14 Oct 2010 06:59
by micml
Hi , I have a project using VLC to remotely view video clips from internet.
The video clips are recorded from a network cameras and save as avi format.
When playing the file with http access, the screen will freeze at around 8 sec. However, if I just play the file as local file input, the video clips are playing back normally. The environment setting is a local LAN and the bandwidth of the network should not be a problem. The web server is linux apache server.

Does anyone know why? Does anyone experience such problem before and have solution for it?

Here is some information about the video,
The file contain two streams:
stream 0: video, codec: H264 - MPEG-4 AVC (part 10) , resolution ,1280 X 720 , fps : 30
stream 1: audio , codec: PCM S16 LE (araw), channel : single, sample rate: 8000 Hz, Bits per sample: 16

Re: Differenec between file input and http access playback

Posted: 14 Oct 2010 13:49
by ivoire
Which version of vlc are you using ?

Do you have vlc logs and maybe apache logs too (when playing using http).

Re: Differenec between file input and http access playback

Posted: 18 Nov 2010 06:03
by micml
Hi ivoire,
I am using vlc 0.9.8a.
I find out that the frame rate of video is variable and it didn't sync with audio frame rate.
it failed to play in http stream as the frame rate of video is different from audio and it can't decode the video.
Then play with file mode. the video ended early and the audio continue to play.
so I just try to insert the frame in video and try to match with audio frame rate and then it can play in the http stream.
Thanks for your attention.

Re: Differenec between file input and http access playback

Posted: 26 Nov 2010 19:25
by ivoire
Could you try the latest VLC version (1.1.5) ?