[MPlayer-users] create thumbnail problems
Kevin DeKorte
kdekorte at gmail.com
Tue Nov 29 14:55:44 CET 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/28/2011 04:15 PM, Reimar Döffinger wrote:
> On Mon, Nov 28, 2011 at 08:08:00AM +0000, Shixinpeng wrote:
>> Hi, I have mplayer on my SUSE Linux Enterprise Server 10
>> (x86_64).I have a problem using a command line that uses mplayer
>> to create thumbnail of video. This is the command: ./mplayer -ss
>> 00:01:34 -noframedrop -nosound -vo jpeg -frames 1
>> /home/sxp/heikediguo2.ts But I got a snapshot with mosaics, which
>> is named mosaics.jpg in the attached file snapshot.rar. So I used
>> another command to solve the mosaic problem. ./mplayer -ss
>> 00:01:34 -demuxer lavf -vf screenshot -vo jpeg -lavdopts
>> skiploopfilter=all:skipframe=nonkey -nosound -frames 2
>> /home/sxp/heikediguo2.ts However the first snapshot is gray,
>> which is named gray.jpg in the attached file. Any ideas? I
>> appreciate any help. Thanks!
>
> Well, I would assume that will happen when the first frame is not
> a keyframe and you specify skipframe=nonkey. You want -lavdopts
> wait_keyframe If your MPlayer version doesn't support it best
> compile yourself.
You may want to look into an existing project like my
mplayer-video-thumbnailer aka nailer project.
http://code.google.com/p/mplayer-video-thumbnailer/
If you want to provide any patches to that project, I would be glad to
work with you.
Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7U5GAACgkQ6w2kMH0L1dFOlgCfeWIsozVPMuv7B4AtoNWR8yVL
EfIAnRX+/6MR/WULIXlHq9kA4jK7/aum
=MM/3
-----END PGP SIGNATURE-----
More information about the MPlayer-users
mailing list