All Projects → vansante → go-ffprobe

vansante / go-ffprobe

Licence: MIT license
Library to easily get the ffprobe output of a given file

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to go-ffprobe

ffmpeg4java
FFmpeg4Java provides a JNI wrapper of FFmpeg library
Stars: ✭ 21 (-81.58%)
Mutual labels:  ffmpeg-wrapper
ffmpeg-progressbar-cli
A colored progress bar for FFmpeg.
Stars: ✭ 140 (+22.81%)
Mutual labels:  ffmpeg-wrapper
BAT FFMPEG
Batch script files for FFMPEG (Microsoft Windows and DOS, OS/2 🦄)
Stars: ✭ 104 (-8.77%)
Mutual labels:  ffmpeg-wrapper
content-transcoder
Transcodes HTTP-stream to HLS
Stars: ✭ 19 (-83.33%)
Mutual labels:  ffmpeg-wrapper
screencast
Interface to record a X11 desktop
Stars: ✭ 91 (-20.18%)
Mutual labels:  ffmpeg-wrapper
Ffmpeg Android Java
FFmpeg Android java is a java library that simplifies your task of using ffmpeg in Android project which I've compiled using FFmpeg-Android
Stars: ✭ 3,098 (+2617.54%)
Mutual labels:  ffmpeg-wrapper
bitrate-plotter
Plots a graph showing the bitrate every second or the bitrate of every GOP, for a video or audio file.
Stars: ✭ 15 (-86.84%)
Mutual labels:  ffprobe
Nephos
Project Nephos [GSoC '18]: Automated recording, processing, and uploading of TV streams for Universities.
Stars: ✭ 20 (-82.46%)
Mutual labels:  ffprobe
reisen
A simple library to extract video and audio frames from media containers (based on libav).
Stars: ✭ 41 (-64.04%)
Mutual labels:  ffmpeg-wrapper
VideoProcessingLibrary
The easiest library for video processing
Stars: ✭ 52 (-54.39%)
Mutual labels:  ffmpeg-wrapper
RTSP-Client-iOS
A basic RTSP Client in SWIFT using FFMpeg wrapper for iOS.
Stars: ✭ 33 (-71.05%)
Mutual labels:  ffmpeg-wrapper
PhpScreenRecorder
A slim PHP wrapper around ffmpeg to record screen,best for recording your acceptance test using selenium, easy to use and clean OOP interface
Stars: ✭ 44 (-61.4%)
Mutual labels:  ffmpeg-wrapper
Ffscreencast
ffscreencast - ffmpeg screencast/desktop-recording with video overlay and multi monitor support
Stars: ✭ 1,625 (+1325.44%)
Mutual labels:  ffmpeg-wrapper
ffclj
Clojure ffmpeg wrapper
Stars: ✭ 42 (-63.16%)
Mutual labels:  ffmpeg-wrapper
Anime4K
Makes it easy to encode a Anime using Anime4K with predefined encoding profiles!
Stars: ✭ 61 (-46.49%)
Mutual labels:  ffmpeg-wrapper
Ffmpegandroid
android端基于FFmpeg实现音频剪切、拼接、转码、编解码;视频剪切、水印、截图、转码、编解码、转Gif动图;音视频合成与分离,配音;音视频解码、同步与播放;FFmpeg本地推流、H264与RTMP实时推流直播;FFmpeg滤镜:素描、色彩平衡、hue、lut、模糊、九宫格等;歌词解析与显示
Stars: ✭ 2,858 (+2407.02%)
Mutual labels:  ffprobe
eloquent-ffmpeg
High-level API for FFmpeg's Command Line Tools
Stars: ✭ 71 (-37.72%)
Mutual labels:  ffmpeg-wrapper
get-audio-duration
Returns duration of an audio via ffprobe
Stars: ✭ 54 (-52.63%)
Mutual labels:  ffprobe
ffmpeg-dev-rs
Rust - Self Contained FFmpeg Bindings
Stars: ✭ 51 (-55.26%)
Mutual labels:  ffmpeg-wrapper
conv2mp4-py
Python script that recursively searches through a user-defined file path and converts all videos of user-specified file types to MP4 with H264 video and AAC audio using ffmpeg. If a conversion failure is detected, the script re-encodes the file with HandbrakeCLI. Upon successful encoding, Plex libraries are refreshed and source file is deleted. …
Stars: ✭ 37 (-67.54%)
Mutual labels:  ffprobe

go-ffprobe

Small library for executing an ffprobe process on a given file and getting an easy to use struct representing the returned ffprobe data.

Installation

go get gopkg.in/vansante/go-ffprobe.v2

Documentation

Take a look at the autogenerated documentation:

https://pkg.go.dev/gopkg.in/vansante/go-ffprobe.v2

Basic usage

To get a quick the quick data on a video file:

ctx, cancelFn := context.WithTimeout(context.Background(), 5*time.Second)
defer cancelFn()

data, err := ffprobe.ProbeURL(ctx, "/path/to/file.mp4")
if err != nil {
    log.Panicf("Error getting data: %v", err)
}

To get the ffprobe data for a video file that is accessible via HTTP, you can use the same command, but with an HTTP URL.

To get the data of a file you have an io.Reader for, use:

ctx, cancelFn := context.WithTimeout(context.Background(), 5*time.Second)
defer cancelFn()

fileReader, err := os.Open("/path/to/file.mp4")
if err != nil {
    log.Panicf("Error opening test file: %v", err)
}

data, err := ffprobe.ProbeReader(ctx, fileReader)
if err != nil {
    log.Panicf("Error getting data: %v", err)
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].