Giter Club home page Giter Club logo

ffmpeg-libav-luajit-ffi-demo's Introduction

FFmpeg libav + LuaJIT FFI demo

Contents

libavformat metadata extraction API usage example adopted from show_metadata.c.

Output Examples

FFmpeg 4.4
$ ffmpeg -version | head -1
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers

$ lua show_metadata.lua Big_Buck_Bunny_1080_10s_10MB.webm
lavu 56.70.100
lavc 58.134.100
lavf 58.76.100
lavu < 57.42.100, using av_dict_get
  title: Big Buck Bunny, Sunflower version
  GENRE: Animation
  MAJOR_BRAND: isom
  MINOR_VERSION: 1
  COMPATIBLE_BRANDS: isomavc1
  COMPOSER: Sacha Goedegebure
  ARTIST: Blender Foundation 2008, Janus Bager Kristensen 2013
  COMMENT: Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
  ENCODER: Lavf58.14.100
FFmpeg 5.1
$ ffmpeg -version | head -1
ffmpeg version 5.1.4-0+deb12u1 Copyright (c) 2000-2023 the FFmpeg developers

$ lua show_metadata.lua UHD_HDR_test_v11.mkv
lavu 57.28.100
lavc 59.37.100
lavf 59.27.100
lavu < 57.42.100, using av_dict_get
  encoder: libebml v1.3.3 + libmatroska v1.4.4
  creation_time: 2015-10-28T20:07:20.000000Z
FFmpeg 6.1
$ ffmpeg -version | head -1
ffmpeg version 6.1.1-3ubuntu5 Copyright (c) 2000-2023 the FFmpeg developers

$ lua show_metadata.lua ChID-BLITS-EBU-Narration.mp4
lavu 58.29.100
lavc 60.31.102
lavf 60.16.100
lavu >= 57.42.100, using av_dict_iterate
  major_brand: mp42
  minor_version: 0
  compatible_brands: mp42isom
  creation_time: 2012-07-22T17:48:25.000000Z
  encoder: Fraunhofer IIS MPEG-4 Audio Encoder 03.02.11.01_MPEGScbr_SXPro
FFmpeg 7.0
$ ffmpeg -version | head -1
ffmpeg version n7.0 Copyright (c) 2000-2024 the FFmpeg developers

$ lua show_metadata.lua Sample_BeeMoved_96kHz24bit.flac
lavu 59.8.100
lavc 61.3.100
lavf 61.1.100
lavu >= 57.42.100, using av_dict_iterate
  ALBUM: Bee Moved
  TITLE: Bee Moved
  album_artist: Blue Monday FM
  MRAT: 0
  ARTIST: Blue Monday FM

ffmpeg-libav-luajit-ffi-demo's People

Contributors

un-def avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.