[MPlayer-users] -sb broken?

Kevin DeKorte kdekorte at yahoo.com
Wed Aug 23 19:24:37 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marco Trudel wrote:
>
> Sorry, my question was unspecific. It should have been "Is there a way
> to load a movie withhout playing it directly".
> I need this because I wish to make a screenshot from the middle of a
> video. Because I don't know the length, I've to jump relativly to the
> middle. As far as I see, the only way to do that is the "seek 50 1"
> command in slave mode...
> 
> Looks like I have to start mplayer to get the length of the video in
> seconds and start it again with "-ss length/2".
> 
> thanks anyway
> Marco


Marco,

A command like this works well to get the media info

echo quit | mplayer -slave -identify -vo null -ao null Movies/TheHunt.divx


It spits out a bunch of stuff including..

ID_FILENAME=Movies/TheHunt.divx
ID_DEMUXER=avi
ID_VIDEO_FORMAT=DIVX
ID_VIDEO_BITRATE=755608
ID_VIDEO_WIDTH=512
ID_VIDEO_HEIGHT=384
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=80000
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=460.32


Kevin



- --
Get my public GnuPG key from
http://keyserver.veridis.com:11371/export?id=7574690260641978351
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFE7I9UaR60qN0tF+8RAt21AJ4ov4qDreG60uGalSraorZufsACsQCeJjd3
lF8WkA+jOyp9FrXFylnIxsQ=
=MGHA
-----END PGP SIGNATURE-----



More information about the MPlayer-users mailing list