[MPlayer-users] Problems seeking during jpeg output

Mustafa Abbasi lordverminard at gmail.com
Sun Jan 1 00:34:51 CET 2006


On 1/1/06, John Mahar <tireshateme at gmail.com> wrote:
>
> Thanks, I am using command line, not the actual player, and it does it to
> every video file I throw at no matter the extension or anything. It always
> captures the first frame.
>
> On 12/28/05, peter kostov <mplayer at light-bg.com> wrote:
> >
> > On Tue, 2005-12-27 at 17:07 -0600, John Mahar wrote:
> > > First id like to say this is wonderful software. I have had seemless
> > install
> > > and no problems. The only issue I have is generating a frame. Ive
> tried
> > a
> > > bunch of commands, and they all pull the first few, id like to grab
> one
> > from
> > > a random spot.
> > > First thing I do is use and identify and extract the length, then
> > generate a
> > > number inbetween 0 and the length. The number is then passed to the
> > command
> > > line, I have debuged and the command is running with the right
> numbers:
> > > $cmd = "mplayer -nosound -vo jpeg:smooth=90:outdir=".$output." -frames
> 1
> > > ".$video;
> > > $cmd = "mplayer -ss ".$randoml." -ao null -vo
> > > jpeg:smooth=90:outdir=".$output." -frames 4 ".$video;
> > > $cmd = "mplayer $video -ao null -vo jpeg:smooth=90:outdir=".$output."
> > -ss 7
> > > -frames 4";
> > >
> > > Any ideas? The variables are all fine, (im using php), the images are
> > > generated, jsut the seek doesnt seem to be working. Thanks,
> > > John
> > May be the video is broken? I have played some home made DVDs (weddings
> > etc.) in which I cannot seek. Mplayer gives me negative number as
> > remaining time and is coming back to 00:00:00 (time elapsed) from time
> > to time, while the video is running smoothly.
> > So can you play normally this video and seek in it?



actually thats what your command line is asking. to o utput the first few
frames.
to get frames at a large interval try settingthe fps. i think theres an
option in -vo jpeg
but you may also try -ofps 1 or -ofps 0.1

> > > _______________________________________________
> > > MPlayer-users mailing list
> > > MPlayer-users at mplayerhq.hu
> > > http://mplayerhq.hu/mailman/listinfo/mplayer-users
> > >
> >
> > _______________________________________________
> > MPlayer-users mailing list
> > MPlayer-users at mplayerhq.hu
> > http://mplayerhq.hu/mailman/listinfo/mplayer-users
> >
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>



More information about the MPlayer-users mailing list