[MPlayer-dev-eng] video rate in client/server application

Daniel Sadoc Menasche sadoc at land.ufrj.br
Fri Jan 17 15:44:12 CET 2003


Hi,

Thanks a lot. In fact I´m using mpeg.  The camera which I´m using
generates mpeg data.  As soon as the server sends a video block to the
client, I´m also making a copy of the sent video on the server, in a file
called video_sent.mpg.

When I run

./client | (mplayer -)

the video plays slowly.

But when I run

mplayer video_sent.mpg

the video plays correctly.

How may I know where is the problem? How may I verify if the enconder I´m 
using is generating bad data?

Is it possible that the problem relies on the communication between the 
client program and mplayer?

Regards,
Daniel Sadoc


> Hi,
> 
> > I have a doubt: it seems that video rate is too slow. The seconds at 
> > the OSD seem to run slowly compared to real time.  
> > 
> > I would like to know how does mplayer sets the video rate. How may I
> > correct my the client program so that it tells to Mplayer to play in the
> > correct frame rate?  Why do the seconds in the OSD run slowly compared to
> > real time?
> 
> it depends on the file format you stream...
> if it's mpeg, then framerate is coded in GOP headers of stream, and
> time displayed by mplayer comes from PTS values coded in PS packet headers.
> ie. if something is wrong, it's the encoder you're using...
> 
> 
> A'rpi / Astral & ESP-team
> 
> --
> Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> 



More information about the MPlayer-dev-eng mailing list