reproducible example:
OS = Linux
cargo new --bin x
Add ffmpeg-next = "9.0.0" to Cargo.toml
Copy https://github.com/zmwangx/rust-ffmpeg/blob/master/examples/dump-frames.rs, and paste to src/main.rs
Then, modify
To:
When I cargo run -- test.mp4
I get an error message:
Error: ffmpeg::Error(1668179714: Output changed)
The same error still happen even if I modify line 66, 3 to 4 (the size of 1 pixel of RGB24 = 3 but ZRGB32 = 4)
reproducible example:
OS = Linux
cargo new --bin xAdd
ffmpeg-next = "9.0.0"toCargo.tomlCopy https://github.com/zmwangx/rust-ffmpeg/blob/master/examples/dump-frames.rs, and paste to
src/main.rsThen, modify
rust-ffmpeg/examples/dump-frames.rs
Line 28 in 3751e28
To:
When I
cargo run -- test.mp4I get an error message:
Error: ffmpeg::Error(1668179714: Output changed)The same error still happen even if I modify line 66,
3to4(the size of 1 pixel of RGB24 = 3 but ZRGB32 = 4)