Stream: helpdesk (published)

Topic: Record animation to avi


view this post on Zulip Max Köhler (Feb 22 2021 at 12:22):

What is the recommended way to record an .avi from a Plots.jl animation?
Currently I'm recording a gif and convert it with ffmpeg to avi. Is there a built in way?

view this post on Zulip Michael Alexander (Feb 22 2021 at 14:54):

When I wanted to make a movie, I basically did what you did and saved out a series of .png images, then used ffmpeg to convert them into an .mp4.

view this post on Zulip Max Köhler (Feb 22 2021 at 14:59):

Turns out that my latex beamer presentation don't want to include my video. I tried mp4, avi, mov and gif. Why is LaTeX sometimes so annoying

view this post on Zulip Expanding Man (Feb 22 2021 at 15:00):

don't you normally just output a pdf from beamer? it never would have occurred to me that it was even possible to include video in it

view this post on Zulip Expanding Man (Feb 22 2021 at 15:01):

I suppose you could include a link and then just open it in your browser

view this post on Zulip Max Köhler (Feb 22 2021 at 15:02):

It is a pdf, but the video is included, you can do it with the multimedia package which is loaded anyways by Beamer. I don't get why an old avi works but my new created ones fail. This must be related to codecs, but I have no idea about codecs :derp:

view this post on Zulip Max Köhler (Feb 22 2021 at 15:03):

even all of my installed media players can play it, doesn't make sense at all

view this post on Zulip Expanding Man (Feb 22 2021 at 15:04):

hm... yeah, video in pdf sounds like it's bound to be a nightmare monstrosity to me :laughing:

view this post on Zulip Max Köhler (Feb 22 2021 at 15:04):

it is, but imho theres no way to explain it without a video given the time constraints of the presentation :frown:

view this post on Zulip Expanding Man (Feb 22 2021 at 15:05):

maybe just include a link to the video in the pdf? I'm pretty sure it's possible to include file system links

view this post on Zulip Max Köhler (Feb 22 2021 at 15:06):

ye, using the external media player option works, just opens the default video player. But idk, I can already see zoom failing on this while I share my screen

view this post on Zulip Max Köhler (Feb 22 2021 at 15:07):

it just bothers me that the old avi works flawless but the new one doesn't

view this post on Zulip Max Köhler (Feb 22 2021 at 15:43):

ok -vcodec libvpx fixed it. Wow, just wasted solid 3h on this

view this post on Zulip Frederik Banning (Feb 22 2021 at 15:44):

did you try sudo pacman -Syubtw? :nerd:

view this post on Zulip Max Köhler (Feb 22 2021 at 15:45):

no admin permissions on the workstation :crying_cat:

view this post on Zulip mbaz (Feb 22 2021 at 16:33):

In my limited experience, videos not playing in a pdf is the fault of the pdf viewer, not latex. Videos tend to play fine when seen using Acrobat on Windows.

view this post on Zulip Max Köhler (Feb 22 2021 at 16:34):

you are probably right, but there are good reasons to it why linux pdf viewers are so restrictive. Lately, I had to include javascript forms into a pdf and linux pdf viewers block the javascript by default, which is actually good (considering that our university was hacked based on excel macros)

view this post on Zulip mbaz (Feb 22 2021 at 16:41):

Oh yeah, I agree with you and I don't want evince to start running javascript.
My point was just that it's not Latex's fault :smile:

view this post on Zulip Max Köhler (Feb 22 2021 at 16:54):

ye that's correct, sorry if my desperation made the impression that LaTeX is the reason of this issue. Luckily fixed now :tada:


Last updated: Oct 02 2023 at 04:34 UTC