all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Viewing animated gif as inline video
@ 2019-04-13 18:21 Marvin Doyley
  2019-04-13 19:52 ` briangpowell
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Marvin Doyley @ 2019-04-13 18:21 UTC (permalink / raw)
  To: emacs-orgmode

Hi there,

Does anybody know how to view an animated gif as an inline video? I can see the first frame as an inline image, but I am unable to view the video.

Thanks
M

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Viewing animated gif as inline video
  2019-04-13 18:21 Viewing animated gif as inline video Marvin Doyley
@ 2019-04-13 19:52 ` briangpowell
  2019-04-13 20:13   ` briangpowell
  2019-04-13 20:06 ` Marco Wahl
  2019-04-15  4:38 ` stardiviner
  2 siblings, 1 reply; 6+ messages in thread
From: briangpowell @ 2019-04-13 19:52 UTC (permalink / raw)
  To: Marvin Doyley; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 867 bytes --]

I have done it before in OrgMode

Its very compute intensive; and, more annoying than useful mostly--but I
did it many years ago, it would be interesting what percentage of computer
resources are now used

But for a very small amount of computer screen real estate you can put a
very long scrolling message, for example--which can be very useful if you
are trying to deliver an OrgMode buffer as some sort of kiosk interface to
yourself or other operators

I'll try to dig up how I did it

Just want you to know that it can be done in OrgMode--what version of
Emacs, etc. is required (and why), I'm not sure

On Sat, Apr 13, 2019 at 2:22 PM Marvin Doyley <marvinpas@gmail.com> wrote:

> Hi there,
>
> Does anybody know how to view an animated gif as an inline video? I can
> see the first frame as an inline image, but I am unable to view the video.
>
> Thanks
> M
>

[-- Attachment #2: Type: text/html, Size: 1289 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Viewing animated gif as inline video
  2019-04-13 18:21 Viewing animated gif as inline video Marvin Doyley
  2019-04-13 19:52 ` briangpowell
@ 2019-04-13 20:06 ` Marco Wahl
  2019-04-15  4:38 ` stardiviner
  2 siblings, 0 replies; 6+ messages in thread
From: Marco Wahl @ 2019-04-13 20:06 UTC (permalink / raw)
  To: emacs-orgmode

Hi Marvin,

> Does anybody know how to view an animated gif as an inline video? I
> can see the first frame as an inline image, but I am unable to view
> the video.

{ M-x customize-variable RET org-file-apps RET }

opens my customization of variable org-file-apps which has the entry:

Hide Org File Apps:
INS DEL Cons-cell:
            Choice: Value Menu Extension: \.gif\'
            Choice: Value Menu Function: (lambda (file link) (let ((my-image (create-image file)) (tmpbuf (get-buffer-create "*gif"))) (switch-to-buffer tmpbuf) (erase-buffer) (insert-image my-image) (image-animate my-image nil t)))

AFAICS with this setting a press of RET on a gif with animation in an
Org file opens an extra buffer that shows the animation.


HTH

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Viewing animated gif as inline video
  2019-04-13 19:52 ` briangpowell
@ 2019-04-13 20:13   ` briangpowell
  2019-04-14  0:09     ` Marvin Doyley
  0 siblings, 1 reply; 6+ messages in thread
From: briangpowell @ 2019-04-13 20:13 UTC (permalink / raw)
  To: Marvin Doyley; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1575 bytes --]

https://github.com/Fuco1/org-inline-image

--on GitHub:

"This package adds functionality to inline images into an org-mode buffer.
The images can be present locally on the filesystem (not implemented yet)
or downloaded from the internet automatically."

"Use

Call org-inline-image when the point is on the link to inline it there. The
link text will be overlayed with the image. To hide the image, hit h (or
call org-inline-image-hide) while the point is on the image. Gif images are
animated automatically when inlined. To animate it again, hit a (or call
org-inline-image-animate)."

On Sat, Apr 13, 2019 at 3:52 PM briangpowell <briangpowellms@gmail.com>
wrote:

> I have done it before in OrgMode
>
> Its very compute intensive; and, more annoying than useful mostly--but I
> did it many years ago, it would be interesting what percentage of computer
> resources are now used
>
> But for a very small amount of computer screen real estate you can put a
> very long scrolling message, for example--which can be very useful if you
> are trying to deliver an OrgMode buffer as some sort of kiosk interface to
> yourself or other operators
>
> I'll try to dig up how I did it
>
> Just want you to know that it can be done in OrgMode--what version of
> Emacs, etc. is required (and why), I'm not sure
>
> On Sat, Apr 13, 2019 at 2:22 PM Marvin Doyley <marvinpas@gmail.com> wrote:
>
>> Hi there,
>>
>> Does anybody know how to view an animated gif as an inline video? I can
>> see the first frame as an inline image, but I am unable to view the video.
>>
>> Thanks
>> M
>>
>

[-- Attachment #2: Type: text/html, Size: 2533 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Viewing animated gif as inline video
  2019-04-13 20:13   ` briangpowell
@ 2019-04-14  0:09     ` Marvin Doyley
  0 siblings, 0 replies; 6+ messages in thread
From: Marvin Doyley @ 2019-04-14  0:09 UTC (permalink / raw)
  To: briangpowell; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1843 bytes --]

Thanks Brian,

I will try this.
Thanks
M

> On Apr 13, 2019, at 4:13 PM, briangpowell <briangpowellms@gmail.com> wrote:
> 
> https://github.com/Fuco1/org-inline-image <https://github.com/Fuco1/org-inline-image>
> 
> --on GitHub:
> 
> "This package adds functionality to inline images into an org-mode buffer. The images can be present locally on the filesystem (not implemented yet) or downloaded from the internet automatically."
> 
> "Use
> Call org-inline-image when the point is on the link to inline it there. The link text will be overlayed with the image. To hide the image, hit h (or call org-inline-image-hide) while the point is on the image. Gif images are animated automatically when inlined. To animate it again, hit a (or call org-inline-image-animate)."
> 
> 
> On Sat, Apr 13, 2019 at 3:52 PM briangpowell <briangpowellms@gmail.com <mailto:briangpowellms@gmail.com>> wrote:
> I have done it before in OrgMode
> 
> Its very compute intensive; and, more annoying than useful mostly--but I did it many years ago, it would be interesting what percentage of computer resources are now used
> 
> But for a very small amount of computer screen real estate you can put a very long scrolling message, for example--which can be very useful if you are trying to deliver an OrgMode buffer as some sort of kiosk interface to yourself or other operators
> 
> I'll try to dig up how I did it
> 
> Just want you to know that it can be done in OrgMode--what version of Emacs, etc. is required (and why), I'm not sure
> 
> On Sat, Apr 13, 2019 at 2:22 PM Marvin Doyley <marvinpas@gmail.com <mailto:marvinpas@gmail.com>> wrote:
> Hi there,
> 
> Does anybody know how to view an animated gif as an inline video? I can see the first frame as an inline image, but I am unable to view the video.
> 
> Thanks
> M


[-- Attachment #2: Type: text/html, Size: 3582 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Viewing animated gif as inline video
  2019-04-13 18:21 Viewing animated gif as inline video Marvin Doyley
  2019-04-13 19:52 ` briangpowell
  2019-04-13 20:06 ` Marco Wahl
@ 2019-04-15  4:38 ` stardiviner
  2 siblings, 0 replies; 6+ messages in thread
From: stardiviner @ 2019-04-15  4:38 UTC (permalink / raw)
  To: emacs-orgmode


Marvin Doyley <marvinpas@gmail.com> writes:

> Hi there,
>
> Does anybody know how to view an animated gif as an inline video? I can see the first frame as an inline image, but I am unable to view the video.
>

Actually, Emacs can view .gif image in Emacs buffer with iimage-mode or
something else. I don't know whether Emacs can support display .gif animated
image file inline in Org Mode buffer. But I think if Emacs can display .gif in
single buffer, should be able to display inline with some hacks.

-- 
[ stardiviner ]
       I try to make every word tell the meaning what I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
      

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-04-15  4:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-13 18:21 Viewing animated gif as inline video Marvin Doyley
2019-04-13 19:52 ` briangpowell
2019-04-13 20:13   ` briangpowell
2019-04-14  0:09     ` Marvin Doyley
2019-04-13 20:06 ` Marco Wahl
2019-04-15  4:38 ` stardiviner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.