[MPlayer-dev-eng] [PATCH] add a new command to mark a time position

compn tempn at twmi.rr.com
Mon May 19 14:26:07 CEST 2008


On Mon, 19 May 2008 09:55:04 +0200, Etienne Buira <etienne.buira at free.fr> wrote:
>On Sun, May 18, 2008 at 02:18:46PM +0800, Chaoji Li wrote:
>> Hi,
>> 
>> Recently I am doing some foreign language listening exercises. I find it
>> 
>> quite necessary to mark a position so that I can repeatly listen from
>> that position. In this way, I need a "mark" command to remember a
>> position, and another "goto_mark" command to start listening from the
>> marked position.
>> 
>> The attached patch is what I did. I just hope it might be useful. If
>> there is already such functionality in mplayer, please also let me know
>> how to use it.
>
>Hi. You might be interested in EDL features. Read
>http://www.mplayerhq.hu/DOCS/HTML/en/edl.html

edl could be used for this purpose, but it would be difficult as it requires reopening the file. edl is for skipping so you would have to skip everything out of the movie except what you want to watch. it would be easier just to do mplayer -ss 1:00 -endpos 2:30 ...

this is called a-b repeat. its been a feature request for a while.
http://lists.mplayerhq.hu/pipermail/mplayer-users/2007-June/067874.html

patch looks ok to me. you should also add it to DOCS/tech/slave.txt .

-compn



More information about the MPlayer-dev-eng mailing list