Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create README.md #152

Closed
wants to merge 2 commits into from
Closed

Create README.md #152

wants to merge 2 commits into from

Conversation

klesun
Copy link

@klesun klesun commented Apr 9, 2021

Resolves #127

README.md Outdated
fn main() {
ffmpeg::init().unwrap();
let file = File::open("path/to/your/video/file.mkv").unwrap();
match ffmpeg::format::io::input(file) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should rather use ffmpeg::format::input instead of ffmpeg::format::io::input.

@klesun
Copy link
Author

klesun commented Apr 9, 2021

Oh, sorry for the noise, wanted to update the MR after I finally make it run, but after solving missing dependencies problem I got more issues related to conflicting constants or something. So I gave up, and used the ffmpeg-next instead.

@klesun klesun closed this Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document code
2 participants