Ben Feather

Results 25 comments of Ben Feather

Here's the command: ffmpeg -i Input.mp4 -c:v libvpx -c:a libvorbis -quality good -cpu-used 0 Output.webm

Here's the command that gets logged: /usr/bin/ffmpeg -i '/var/www/html/web/uploads/videos/Racewell-Sheep-Handler/Dagging.mp4' -vcodec libvpx -quality good -cpu-used 0 -bufsize 1000k -threads 0 -vf "scale=300:240,unsharp=5:5:1.0:5:5:0.0" -c:a copy -f webm -y '/var/www/html/web/transcoder/video/Racewell-Sheep-Handler/Dagging_300w_240h.webm' If I run...

If you remove `-bufsize 1000k`, the command throws a different error: `Only VP8 or VP9 or AV1 video and Vorbis or Opus audio and WebVTT subtitles are supported for WebM....

I tried the command with `-bufsize 1000k` and `-b:v 2M`, and it worked. Looks like you have to set the target average bitrate for the bufsize flag to work. I...

It looks like the `-bufsize` flag is hardcoded into the FFmpeg command: Transcode.php, line 131 ![CleanShot 2024-02-27 at 09 09 36@2x](https://github.com/nystudio107/craft-transcoder/assets/43571410/e44e310b-863e-4f4d-acac-e5e67b007197) Is that something you could remove? Or is there...