Re: [Mplayerplug-in-devel] mplayerplug-in leaving zombies
Brought to you by:
kdekorte
From: Kevin D. <kde...@gm...> - 2007-10-03 14:38:08
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Forest Bond wrote: >> The main reason is this. When a media file is over in mplayer "-idle" >> mode. Mplayer doesn't say that the file is over. It just quits sending >> output. I've asked them to add this feature or even to add a property >> that can be queried to see if the file is complete. But so far no good. > > There is such a property: > > -------------------------------------------------------------------------------- > get_property filename > ANS_filename=test.mpg > -------------------------------------------------------------------------------- > > But after the file has finished playing: > > -------------------------------------------------------------------------------- > get_property filename > > -------------------------------------------------------------------------------- Hum, I'll have to look into that... However going with that method will require a massive reorganization of the code to make it work. >> Have you tried "quit()" instead of "Stop()"? They actually do different >> things. > > Yes, I believe I tried it. Both require a delay that is much too long for my > application. Using the loadfile command to mplayer reduces that delay > significantly (a power of ten or more, rough estimate). > > What do quit and Stop do differently? It depends, for streaming media they do the same thing, the tell mplayer to 'quit'. I think tv:// is considered streaming in your case. And this should be immediate, mplayer should not hang or become a zombie. If it is you may want to try compiling the SVN version of mplayer. For non-streaming media quit tells mplayer to quit, stop tells mplayer to seek to position 0 and pause. 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 iD8DBQFHA6ky6w2kMH0L1dERAu0lAKCAJjMdtP0OTc1lqJ0mTjiMacgmBACfWnZK Pt8TaLVCiRUXLX+18TuLsA8= =Y+8i -----END PGP SIGNATURE----- |