Skip to content

ZRGB32 not working #279

Description

@miyabi-no1-fan

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

Pixel::RGB24,

To:

Pixel::ZRGB32, 

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions