ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Screen grabbing

Offen
#386 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C
Sterne
17.8k
Forks
1.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I'm new to this, so not sure if this is a bug or a feature request.
I'm trying to run the following command capture the desktop screen:
`ffmpeg.run('-f', 'avfoundation', '-framerate', '5', '-i', '"1"', '~/Desktop/ffmpeg-test-electron.mkv')`

I get an error saying **Unknown input format: 'avfoundation'**.
The command works fine when run with ffmpeg directly in the command line (without the wasm build).

I understand that for this to work, ffmpeg uses it's library called `libavdevice`. Is that not part of the wasm build?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.