Sciter FFmpeg is a Sciter behavior component. It can be used to playback local/remote media files in your sciter app's UI.
  • C++ 71.7%
  • C 27.1%
  • Makefile 0.9%
  • Objective-C++ 0.3%
Find a file
2023-11-09 00:18:56 +08:00
build fix: macOS build issue 2022-07-29 11:05:22 +08:00
demo feat: add 'timeupdate' event 2023-09-03 10:54:57 +08:00
include fixed: macOS build issue; feat: sciter 5.0.3.0 2023-11-09 00:18:56 +08:00
source fixed: macOS build issue; feat: sciter 5.0.3.0 2023-11-09 00:18:56 +08:00
vendors add: universal dylib for macOS 2022-07-29 10:46:34 +08:00
.gitignore add files 2022-06-26 23:46:39 +08:00
LICENSE add files 2022-06-26 23:46:39 +08:00
README.md add files 2022-06-26 23:46:39 +08:00

Sciter FFmpeg

A Sciter FFmpeg is a sciter behavior component. It can be used to playback local/remote media files in your sciter app's UI.

The goal is to improve <video>、<audio> controller (as Sciter's behavior) so Sciter will be able to playback media files for almost all platforms.

Features

  • Windows / macOS / Linux - using alternative media-playback and FFmpeg files (compiled by avbuild or your own)
  • Supports playback local/remote media files
  • Supports methods: load, play, pause, stop
  • Supports attributes: duration, currentTime, playbackRate, volume

Platforms

  • Windows - i32, i64
  • macOS - i64, arm64
  • Linux - i64

Usage

External Behavior:

  1. Build dll/dylib/so file with projects in folder 'build';
  2. Put dll/dylib/so file into sciter application running folder;
  3. Put FFmpeg files into sciter application running folder;
  4. Use <video> and define in css: video {behavior: ffmpeg library(sciter-ffmpeg) video;} Use <audio> and define in css: audio {behavior: ffmpeg library(sciter-ffmpeg);}

Internal Behavior:

  1. Copy all files in folder source into sciter-js-sdk include/behaviors
  2. Compile application project with 'vendors' libraries;
  3. Put FFmpeg files into sciter application running folder;
  4. Use <video> and define in css: video {behavior: ffmpeg video;} Use <audio> and define in css: audio {behavior: ffmpeg;}

Reference & Acknowledgment

Sciter - Build cross platform desktop applications with HTML, CSS and javascript.

FFmpeg - A complete, cross-platform solution to record, convert and stream audio and video.

media-playback - It's a dependency core used by OBS Studio

avbuild - It's a tool to build ffmpeg for almost all platforms.