Code Monkey home page Code Monkey logo

x264-rs's Introduction

x264 bindings

LICENSE Actions Status

It is a simple binding and safe abstraction over x264.

Building

The bindings are generated using the headers and libraries that ought to be present in the system.

TODO

  • Simple bindings
  • Safe abstraction
  • Examples

x264-rs's People

Contributors

dependabot-preview[bot] avatar lu-zero avatar lukehsiao avatar luni-4 avatar polymeilex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

x264-rs's Issues

x264 [error] Invalid Preset

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.

Consider adopting the `x264` crate.

I'm not very familiar with x264, but I needed it for a project I was working on, so I made a high-level wrapper of it over here (docs). If you think the crate is a decent enough safe abstraction, would you mind adopting it? Thanks for considering it!

Please update bindgen dependency version

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?

bindgen .31 issues

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.

Move to av-data

Leverage Frame and Packet instead of reinventing the wheel.

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.