[MPlayer-users] Slave mode: set_property time_pos syntax?
Kevin DeKorte
kdekorte at gmail.com
Fri Jul 27 17:41:52 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Phil Rhodes wrote:
> As part of my use of slave commands, most of which work fine, I'm attempting
> to give my users the option to skip part of the file by sending a
> "set_property time_position x" command to mplayer just after I "load
> filename.avi". Although I'm sending a lot of get_time_position updates at
> the time, all of which work fine, when I send the set_property command,
> absolutely nothing appears to happen. Here's a snippet of logging produced
> by my frontend, where "sent" is what I'm sending to mplayer, and "read" is
> what I'm getting back:
>
> Fri Jul 27 13:03:57 UTC+0100 2007 : Sent: get_time_pos
> Fri Jul 27 13:03:57 UTC+0100 2007 : Read: ANS_TIME_POSITION=6.1
> Fri Jul 27 13:03:58 UTC+0100 2007 : Sent: set_property time_pos 30
> Fri Jul 27 13:03:58 UTC+0100 2007 : Sent: get_time_pos
> Fri Jul 27 13:03:58 UTC+0100 2007 : Read: ANS_TIME_POSITION=6.3
>
> ...no joy. I'd expect to see the reported time position leap to 30 (and the
> playback as well, of course). I suspected that this might be due to my using
> compressed files with large gaps between keyframes, on the assumption that
> mplayer might not be able to seek to a keyframe that's nearer thirty seconds
> than I am already. So, I tried it with an uncompressed AVI, every frame
> therefore being a keyframe, but the behaviour didn't change.
Have you tried the seek slave command. It is documented in
DOCS/tech/slave.txt. I find that it works.
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.7 (GNU/Linux)
Comment: Using GnuPG with Remi - http://enigmail.mozdev.org
iD8DBQFGqhJA6w2kMH0L1dERAj7IAKCIDCIqfj67mQt+dn8+gaetPHJj9wCeL2ZP
QiQuXB/hG7/8FduBrcrktC4=
=m1hC
-----END PGP SIGNATURE-----
More information about the MPlayer-users
mailing list