[MPlayer-dev-eng] filenames vo_jpeg by playtime

D Richard Felker III dalias at aerifal.cx
Thu Jan 15 19:18:50 CET 2004


On Thu, Jan 15, 2004 at 07:10:46PM +0100, Michael Hess wrote:
> Hi there,
> 
> I am receiving a rtsp-stream from an live.com testOnDemandServer and
> storing the pictures as jpeg on the hard disk (jpeg because I can not
> store 1.5MB * 30frames/s) on my hard disk. I have modified the vo_jpeg.c
> in libvo so that in mplayer.c a varable is set with sh_video->timer and
> this variable is used in vo_jpeg.c to generate the filenames (because I am
> getting out of sznc when I loose some packets (what I want to do in the
> end). My problem is now, that sh_video->timer is also getting out of sync
> when I drop packets. Is ther in sh_video or anywhere else a possibility to
> get the rtp timestamp, or any other relaiable timesource, so that I can
> create filenames which are the same, with and without loss ?
> 
> Thanks in advance !
> 
> Michael Hess
> 
> PS: I can try to create a diff for the filenaming I have done, but I have
> never made a diff before...

Why on earth are you saving them as jpegs for this? It sounds like you
want to reencode them into some other format later (if you need exact
timestamps) in which case you should just save the original stream
rather than converting to jpeg. See -dumpstream.

Rich




More information about the MPlayer-dev-eng mailing list