Conference Proceedings
- Home
- Modeling the conceptual structure of FFmpeg in JavaScript
Modeling the conceptual structure of FFmpeg in JavaScript
Description
A core tool in many video developers’ workflows, FFmpeg has a frustratingly steep learning curve and a difficult syntax to master and remember. Many of us write code to automate FFmpeg runs, and Node.js is a popular way to do that.
However, current JavaScript interfaces to FFmpeg do nothing to ease the underlying difficulty of the tool. Instead, they mostly provide a one-to-one mapping of command line options in FFmpeg to method calls in JavaScript.
In this talk, I will introduce a new JavaScript library for working with ffmpeg. With this new library, I’ve tried to model the conceptual structure of an FFmpeg CLI command, focusing on IO mappings and filtergraphs to enable better understanding and readability out of the box and allow for easier construction of the correct FFmpeg command the first time, with more readable code as an end product as well.
During the talk, I’ll explain the motivation behind the library and show the mapping of conceptual structure in FFmpeg to library structure, then walk through a few examples of real FFmpeg commands and how they can be written using the library.
Presented at Demuxed 2019 in San Francisco.
Conference
Speakers
Other Proceedings
Here are some other proceedings that you might find interesting.
What Codec Should I Use?
Alan Resnick
Doing Server-Side Ad Insertion on Live Sports for 25.3M Concurrent Users
Ashutosh Agrawal
Is now the time to solve the deepfake threat?
Roderick Hodgson
Super Resolution: The scaler of tomorrow, here today!
Nick Chadwick
The do's and don'ts about Streaming security
Javier Brines Garcia
Modeling the conceptual structure of FFmpeg in JavaScript
Ryan Harvey
Objectionable Uses of Objective Quality Metrics
Richard Fliam
RTMP: web video innovation or Web 1.0 hack… how did we get to now?
Sarah Allen
Large-Scale Media Archive Migration to the Cloud
Konstantin Wilms
HEVC Upload Experiments
Chris Ellsworth
Related Courses
Below are some courses that might interest you based on the learning categories and topic tags of this conference proceeding.
What Codec Should I Use?
Alan Resnick
Doing Server-Side Ad Insertion on Live Sports for 25.3M Concurrent Users
Ashutosh Agrawal
Is now the time to solve the deepfake threat?
Roderick Hodgson
Super Resolution: The scaler of tomorrow, here today!
Nick Chadwick
The do's and don'ts about Streaming security
Javier Brines Garcia
Modeling the conceptual structure of FFmpeg in JavaScript
Ryan Harvey
Objectionable Uses of Objective Quality Metrics
Richard Fliam
RTMP: web video innovation or Web 1.0 hack… how did we get to now?