emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Audio/video file playback in org mode


From: brian powell
Subject: Re: [O] Audio/video file playback in org mode
Date: Fri, 10 Jun 2011 12:10:39 -0400

* Something like this; respectively!?: 

[[shell:mplayer -ss 00:03:21 -endpos 00:06:54 ~/some_podcast.mp3 &]]

[[shell:mplayer -ss 00:03:21 ~/some_podcast.mp3 &]]

[[shell:mplayer ~/some_podcast.mp3 &]]

VLC works great for this too.

[[file:...] works too of course, but you have to make a "file association" (or like mentioned: 'org-file-apps') to mplayer or emacs OrgMode will just open the file in a buffer.

Unclear about statement about earlier posts: "I would like to explicitly not allow..."

P.S. Thanks for the link to BONGO--the EMACS "buffer media player".
I made my own "buffer media player" and have used it for many years; but, BONGO.el is wayly kuul too!


On Fri, Jun 10, 2011 at 4:28 AM, Michael Brand <address@hidden> wrote:
Hi Paul

Thank you very much for sharing this, I will benefit a lot and the
interactivity from within Emacs seems extremely useful. My recent
searches for how to play an Org link to an audio file didn't find any
result and I was about to work out something with mpg123. I planned to
define a new link type for this but your solution with "file:" looks
to me more like it should be and is also backwards compatible with
links already made with "file:".

And even better if "file:" could also cover my requirement to have an
optional link search part that lets the player start and stop at a
specified time. Let me define the format like this:
- start to play in file at 00:03:21, stop at 00:06:54:
 [[file:some_podcast.mp3::00:03:21-00:06:54]]
- start to play in file at 00:03:21, play until end of file:
 [[file:some_podcast.mp3::00:03:21]]
- play the whole file:
 [[file:some_podcast.mp3]]

I would like to explicitly not allow [[file:some_podcast.mp3::03:21]]
as a shorter option with MM:SS because I would like to see XX:XX being
reserved for HH:MM without exception in Org. There was a recent
discussion covering this in the context of time calculation:
http://thread.gmane.org/gmane.emacs.orgmode/39487/focus=39840

Michael

On Thu, Jun 9, 2011 at 23:55, Paul Sexton <address@hidden> wrote:
> I have spent a few hours figuring this out so I thought I would post it for
> the benefit of others.
>
> I am learning a language, and wanted to include hyperlinks to audio files
> within my org document, and be able to play each file by clicking on the
> link.
>
> I eventually discovered the variable 'org-file-apps' which allows you to
> associate particular applications with particular file types.
>
> I am using Bongo (https://github.com/dbrock/bongo) as the media player.
> EMMS is another actively developed media player, but setup looked too
> complicated at first glance.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]