farmadupe / ffmpeg_cmdline_utils Goto Github PK
View Code? Open in Web Editor NEWRust wrapper around ffmpeg commandline interface. For reading frames of videos with rust.
License: Apache License 2.0
Rust wrapper around ffmpeg commandline interface. For reading frames of videos with rust.
License: Apache License 2.0
Getting the following trying to build:
error[E0277]: `[&OsStr; 7]` is not an iterator
--> /home/jose/.cargo/registry/src/github.com-1ecc6299db9ec823/ffmpeg_cmdline_utils-0.1.0/src/ffmpeg_ops.rs:134:21
|
134 | args.extend([
| _____________________^
135 | | OsStr::new("-pix_fmt"), OsStr::new("rgb24"),
136 | | OsStr::new("-c:v"), OsStr::new("rawvideo"),
137 | | OsStr::new("-f"), OsStr::new("image2pipe"),
138 | | OsStr::new("-")
139 | | ]);
| |_________^ expected an implementor of trait `IntoIterator`
|
= note: the trait bound `[&OsStr; 7]: IntoIterator` is not satisfied
= note: required because of the requirements on the impl of `IntoIterator` for `[&OsStr; 7]`
help: consider borrowing here
|
134 | args.extend(&[
135 | OsStr::new("-pix_fmt"), OsStr::new("rgb24"),
136 | OsStr::new("-c:v"), OsStr::new("rawvideo"),
137 | OsStr::new("-f"), OsStr::new("image2pipe"),
138 | OsStr::new("-")
139 | ]);
|
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
error: could not compile `ffmpeg_cmdline_utils`
Looks that currently some files cause freeze at ffmpeg side - qarmin/czkawka#775 so good solution would be to add timeout command to be able to close ffmpeg after a while to prevent such situations
On Linux there is no issue.
Maybe something like this should work - https://www.robvanderwoude.com/battech_hideconsole.php?
Currently both
https://github.com/Farmadupe/ffmpeg_cmdline_utils
and
https://github.com/Farmadupe/vid_dup_finder_lib
use image-rs 0.23, so app that use image-rs 0.24, must contains code for both versions of this library which increase compilation times and binary size
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.