Skip to content

dnlserrano/ffbindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ffbindings

compile C

cc -fPIC -I/usr/local/lib/erlang/erts-10.2.3/include -lavformat -dynamiclib -undefined dynamic_lookup -o ffbindings.so ffbindings.c

compile Elixir

$> iex
iex> c "ffbindings.ex"
[FFbindings]

run Elixir

iex> FFbindings.file_info("sample.mp4")
%{
  'format' => 'QuickTime / MOV',
  'streams' => [
    %{'duration' => 10, 'type' => 'video'},
    %{'duration' => 10, 'type' => 'audio'},
    %{'duration' => 10, 'type' => 'audio'},
    %{'duration' => 10, 'type' => 'data'}
  ]
}

link

dnlserrano.dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published