[MPlayer-users] Filenames in jpeg output when combined with framestep filter

Alexander Roalter alex at roalter.it
Tue May 9 16:22:31 CEST 2006


Ernesto Ferrari wrote:
> Hello to everyone,
> I have a question about the filenames given to the jpeg images obtained
> from the '-vo jpeg' video output driver.
> According to the manual,
> 
> 'Each file takes the frame number padded with leading zeros as name'
I suspect real movie frames are not meant with this sentence, rather the 
processed/output frames, so there's not bug per se in the vo jpeg, but 
only a simple incrementer, which gives every file it produces an 
increasing number:

while ()
{
   d = read_frame();
   store_file(d, "%09d", i++);
}

hth,
Alex




More information about the MPlayer-users mailing list