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

Build on Windows #1151

Open
rinon opened this issue May 29, 2024 · 1 comment
Open

Build on Windows #1151

rinon opened this issue May 29, 2024 · 1 comment
Assignees
Labels

Comments

@rinon
Copy link
Collaborator

rinon commented May 29, 2024

We need to make sure that rav1d builds for windows, ideally with cargo to make things easy. We currently require nasm, but pass ELF-specific arguments which fails to build on Windows.

@thedataking thedataking self-assigned this May 29, 2024
@thedataking
Copy link
Collaborator

thedataking commented Jul 3, 2024

Task breakdown

  • use fseek instead of fseeko
  • stdin and stderr as functions
  • clock_gettime
  • update build.rs for assembly support
  • figure out how to reliably link against oldnames.lib
  • cleanup
  • Build in CI
  • Run tests in CI

Status: successfully ran .\target\release\dav1d.exe -i Chimera-AV1-8bit-1920x1080-6736kbps.ivf -o /dev/null --threads 8 PR has some rough edges and decoding speed seems wrong:

dav1d 966d63c1 - by VideoLAN
Decoded 8929/8929 frames (100.0%) - 104.11/1784.02 fps (0.06x)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants