EMMS to control vlc for *.avi movies?

View: New views
2 Messages — Rating Filter:   Alert me  

EMMS to control vlc for *.avi movies?

by Alan E. Davis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For making notes of av materials, I would like to try (with my weak elisp knowledge) to knit together emms with org-mode.  Most of these materials are available as *.avi files.  I am using GNU/Linux Ubuntu, and I have cloned the git repo for emms. 

I am not a developer, but I did notice that an interface for vlc has been devised.  I would like to be able to control the video, perhaps including a timer interface through org-mode, so I can pause, make a note with a time stamp, then resume. 

I am now only asking whether I am dreaming, or is it indeed a feature that would be possible?

WOuld it be possible to access a running vlc? 

I noticed a question on the mailing list about subtitles.  Vlc works very well with subtitles. 

I am not too good at elisp, but I notice there is a vlc api, and I am foolish enough to look at it.  Even better, if someone has already done part of the work.

Thank you,

Alan

--
Alan Davis

"It's never a matter of liking or disliking ..."
      ---Santa Ynez Chumash Medicine Man


_______________________________________________
Emms-help mailing list
Emms-help@...
http://lists.gnu.org/mailman/listinfo/emms-help

Re: EMMS to control vlc for *.avi movies?

by Yoni Rabkin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Alan E. Davis writes:

> For making notes of av materials, I would like to try (with my weak elisp
> knowledge) to knit together emms with org-mode.  Most of these materials are
> available as *.avi files.  I am using GNU/Linux Ubuntu, and I have cloned
> the git repo for emms.
>
> I am not a developer, but I did notice that an interface for vlc has been
> devised.  I would like to be able to control the video, perhaps including a
> timer interface through org-mode, so I can pause, make a note with a time
> stamp, then resume.

emms has emms-bookmarks.el to insert "temporal bookmarks" into media
files. You can already add and navigate around bookmarks in videos (just
tried it and it works with the VLC backend).

>
> I am now only asking whether I am dreaming, or is it indeed a feature that
> would be possible?

Doesn't sound too hard to do.

> WOuld it be possible to access a running vlc?

This is exactly how pausing and moving around works. We pass commands to
VLC's "rc" interface while the media is playing.

Note though that none of this should be VLC specific; Emms' "pause"
command will pause whichever backend is running equally as well.

If you want org integration you will probably want to learn some Emacs
lisp (Emms is a very friendly project to learn Emacs lisp), or get an
Emms developer who uses org to do it for you.

You could create a git branch with emms-org-mode.el and tie together
stuff from emms-bookmarks.el. I have no doubt that you will end up
unearthing, and needing to fix countless bugs along the way (which is a
good thing).

--
   "Cut your own wood and it will warm you twice"



_______________________________________________
Emms-help mailing list
Emms-help@...
http://lists.gnu.org/mailman/listinfo/emms-help