It is a simple binding and safe abstraction over x264.
The bindings are generated using the headers and libraries that ought to be present in the system.
- Simple bindings
- Safe abstraction
- Examples
x264 bindings
License: MIT License
I am trying to make a Param as in the example, using
let mut par = x264::Param::default_preset("medium", None).unwrap();
This leads to a thread panic with x264 printing out
x264 [error]: invalid preset '8졶U'
.
The string is different every time the program runs.
I'm currently trying to use vl4 to get the video from a camera and x264 to encode it, but x264-sys's bindgen dependency is older the v4l, so it conflicts. Could you please update the version of bindgen dependency to 0.65?
It misgenerates code like this:
#[derive(Copy, Clone)]; 16usize ] , }#[test]
fn bindgen_test_layout___mbstate_t() {
assert_eq!(
::std::mem::size_of::<__mbstate_t>(),
128usize,
concat!("Size of: ", stringify!(__mbstate_t))
);
See this issue.
error: failed to run custom build command for 'x264-sys v0.1.0
panicked on an Err value Error(PkgConfig(MSVC))
new proper link should be:
https://code.videolan.org/videolan/x264
Leverage Frame
and Packet
instead of reinventing the wheel.
From version 153 8+10bits is supported.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.