Differenec between file input and http access playback

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
micml
Blank Cone
Blank Cone
Posts: 24
Joined: 29 Jan 2007 04:58
Contact:

Differenec between file input and http access playback

Postby micml » 14 Oct 2010 06:59

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

ivoire
Cone that earned his stripes
Cone that earned his stripes
Posts: 413
Joined: 20 Aug 2008 11:29
VLC version: trunk
Operating System: linux (debian sid)
Contact:

Re: Differenec between file input and http access playback

Postby ivoire » 14 Oct 2010 13:49

Which version of vlc are you using ?

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

micml
Blank Cone
Blank Cone
Posts: 24
Joined: 29 Jan 2007 04:58
Contact:

Re: Differenec between file input and http access playback

Postby micml » 18 Nov 2010 06:03

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.

ivoire
Cone that earned his stripes
Cone that earned his stripes
Posts: 413
Joined: 20 Aug 2008 11:29
VLC version: trunk
Operating System: linux (debian sid)
Contact:

Re: Differenec between file input and http access playback

Postby ivoire » 26 Nov 2010 19:25

Could you try the latest VLC version (1.1.5) ?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 76 guests