:dets allows us to persist items on disk quickly and natively in Elixir, however there is a chance we can loose data when using this method. In this article we discuss how to create a persistant cache module in Elixir with :dets, why we can lose data and what we can do about it
I would like to copy the file creation date of an mp4 file into the file's metadata. I'm pretty sure this can be done with ffmpeg and some nifty Linux commands.
I want to read the metadata in media files and then save that metadata in a text/xml file, so that I can later insert that data in my database. I would prefer to use ffmpeg.
Also is the same thing
Background version of uploaded video creation in Elixir with Arc and FFmpeg
I tried to make video uploading on Elixir phoenix project using Arc. I need to have different size versions of video. So I used FFmpeg to do this:
def transform(:large, {file, scope}) do
{:ffmpe...
I need to calculate the md5 sum of a file in Elixir, how can this be achieved?
I would expect that something like:
iex(15)> {:ok, f} = File.open "file"
{:ok, #PID<0.334.0>}
iex(16)> :c...
Creating a simple weather application with Phoenix LiveView - Erlang Solutions
we will discuss our experience building an online weather application in Elixir using Phoenix LiveView. We created a real-time weather application that allows users to see the past, current, and forecast temperature and precipitation data for any UK postcode.
Can’t Live `with` It, Can’t Live `with`out It - Erlang Solutions
'with' is a powerful tool in Elixir, but it's not without its quirks. This blog will help you understand how to use it best and how to manage unexpected behaviours.