Skip to content

Commit

Permalink
bumb libavjs and suppress ffmpeg warming messages in console
Browse files Browse the repository at this point in the history
  • Loading branch information
reinhrst committed Dec 1, 2023
1 parent 7ff03d6 commit 2dd2453
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libav.js/commit.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
83ceadd53f92cbdb6048bc0ca4d29591eacdd158
6bc8b57f704ec77ce5b34cd3b156369658977b08
1 change: 1 addition & 0 deletions src/lib/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export async function* getFrames(
}
let scale_ctx: null | number = null
const libav = await window.LibAV.LibAV({noworker: false, nothreads: true});
await libav.av_log_set_level(libav.AV_LOG_ERROR)
await libav.mkreadaheadfile(input.name, input)
try {
const [fmt_ctx, streams] = await libav.ff_init_demuxer_file(input.name);
Expand Down

0 comments on commit 2dd2453

Please sign in to comment.