[MPlayer-users] new feature possible?

Andrew nospam at flight.us
Fri Jun 1 17:07:11 CEST 2007


First, a "preemptive" apology for posting this here: I posted to Mplayer-devel but got no reply (perhaps because my post was not in Hungarian, but i didn't see a developers' list in English)

What i'd like to do with mplayer is to be able to log the current playing time and/or frame into a simple text file, with a key combination such as "Ctrl+J" or whatever keys are still available.

The practical application of this is to be able to create a simple data file with time markers, which could in turn be used by a script to split and manipulate video/audio files.

As it is, one can already PAUSE, then copy & paste the time shown, but I would like something even more efficient - something like:

	mplayer -timemarkerfile ./my_segment_times.txt my_clip.mpg

Then press Ctrl+J (either during active playing or while paused), and have a new line bearing the timestamp appended to "my_segment_times.txt".

If I were to brave the coding myself, where in the source code would I begin to look?

Is there anyone out there who could produce this feature in a jiffy? (seems like it's not too demanding, but I really don't know how the mplayer code is structured to be able to assess this)

thanks!

Andrew

-- 




More information about the MPlayer-users mailing list