[MPlayer-users] slave interface command requests

Kevin DeKorte kdekorte at gmail.com
Sat Oct 13 14:57:17 CEST 2007


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

All,

How difficult would it be to add a 'get_byte_pos' command to the slave
interface? I'm having some issues with knowing where mplayer is playing
some VBR FLV files and even though I'm trying to keep a gap using
'get_percent_pos' I keep having mplayer run off the end of the file.
Knowing the exact bit position or even to the nearest block would be
helpful.

Also, with the slave interface it would be extreamly useful to have a
command in -idle mode that I could use to ask mplayer if it has
completed the file. For example if I load a file in mplayer and then it
plays and completes and then I ask for 'get_percent_pos' it gives no
output back (when you are using threads to manage the write/read to the
slave interface, having a one request/one result type of interface is
very useful) even a result where it says -1 or even another command that
I could ask mplayer how many items are in the playlist and it would
return 0 would be very useful.

Thanks,

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 Fedora - http://enigmail.mozdev.org

iD8DBQFHEMCt6w2kMH0L1dERAnzzAJ9VNn2bjd61UVNtLXU8etRw84elTwCfXCjC
RchsQjlOGv/xlaS/NWeylug=
=0aqP
-----END PGP SIGNATURE-----



More information about the MPlayer-users mailing list