Skip to content

[Bug] Windows AMD GPU direct MP4 recording hr=0x80070003 MFCreateSinkWriterFromURL failed #483

Description

@GXXlove

Search existing issues

  • I have searched the existing issues

Describe the bug

Describe the bug

Direct recording to MP4 fails on AMD GPU under Windows. Error hr=0x80070003 appears even when output folder exists, program run as administrator. This looks like a false‑positive path‑not‑found error from Media Foundation, not a real missing directory.

To Reproduce

  1. Launch OpenScreen 1.9.6 on Windows with AMD graphics hardware
  2. Set recording output to an existing local folder
  3. Add "preferSoftwareEncoder": true inside config.json
  4. Run OpenScreen as administrator
  5. Start direct‑to‑MP4 recording
  6. Recording fails immediately. Media‑helper prints many repeated AMD Radeon(TM) Graphics outputs=none adapter entries.

Expected behavior

Direct MP4 screen recording should start normally.

Actual behavior

Media Foundation encoder initialization fails.

  • Many duplicate AMD adapters logged with outputs=none
  • Registered AAC audio encoder MFTs:0
  • MFCreateFile(recording output) failed (hr=0x80070003)
  • MFCreateSinkWriterFromURL failed (hr=0x80070003)
  • Fallback to Microsoft software H.264 encoder still cannot complete recording.

Working workaround: Record to .openscreen project file first, then export MP4 from editor works perfectly. Only direct‑to‑MP4 recording is broken.

Environment

  • OpenScreen version: 1.9.6
  • OS: Windows 11
  • GPU: AMD Radeon(TM) Graphics
  • Windows N/KN edition: No
  • Already executed sfc /scannow and DISM image repair: Yes
  • preferSoftwareEncoder": true enabled in config.json: Yes

Full helper log

Expected behavior

Expected behavior

Direct‑to‑MP4 screen recording should start and save video file normally without Media Foundation errors, whether using hardware or software H.264 encoder.

To Reproduce

No response

Screenshots

No response

OS

None

OS Version

No response

Other OS

No response

Browser

None

Browser Version

No response

Other Browser

No response

Device Type

None

Other Device

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions