Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 1871
1 vote

Is it possible to encode MP4 video with VP9 codec?

FFmpeg, a command-line app, can write VP9 streams in MP4s. Get a static daily/snapshot binary from https://ffmpeg.zeranoe.com/builds/ Basic command is ffmpeg -i in.mov -c:v vp9 out.mov …
Gyan's user avatar
  • 33.8k
0 votes
Accepted

Is it possible to use 2-pass encoding to create vp9 / webm videos from an image sequence?

You would use ffmpeg -framerate 30 -f image2 -i frames/%04d.png -pass 1 -c:v libvpx-vp9 -pix_fmt yuva420p -b:v 0 -tile-columns 2 -crf 18 -r 30 -g 300 -y -f null - and then ffmpeg -framerate 30 -f image2 … -i frames/%04d.png -i my_audio.flac -pass 2 -c:v libvpx-vp9 -pix_fmt yuva420p -b:v 0 -tile-columns 2 -crf 18 -c:a libopus -b:a 128k -r 30 -g 300 -y my_video.webm In FFmpeg the container format or encoding …
Gyan's user avatar
  • 33.8k
0 votes
Accepted

Encoding: Insert keyframes at certain positions

Is there a simpler option using -force_key_frames? Unfortunately, this option only seems to allow inserting key_frames using an interval Not so. To force keyframes for frames 45, 99 and 154 where fir …
Gyan's user avatar
  • 33.8k
3 votes
Accepted

Create Alpha channel-Videos (obs stinger compatible) with ffmpeg and 2 files

The alphaextract/alphamerge filters are meant for this. Since your alpha reference is already greyscale, we only need the alphamerge filter ffmpeg -i main.mp4 -i alpha.mp4 -filter_complex [0][1]alph …
Gyan's user avatar
  • 33.8k
2 votes
Accepted

What are the WebM (VP9+opus) encoding settings compatible for YouTube import for a video wit...

Rather than framerate, the issue is there's only one frame. You'll have to loop the image. ffmpeg -i Audio.opus -loop 1 -i image.png -pix_fmt yuv420p -ac 2 -s 640x360 -strict strict -r pal -shortest …
Gyan's user avatar
  • 33.8k
4 votes
Accepted

Is it safe to use the yuva420 pix_format option with ffmpeg to encode webm videos?

YUV color encoding with 4:2:0 chroma subsampling is the only widely safe pixel format for web playback, although for certain codecs, other pixel formats may be supported. FFmpeg auto-selects the pixe …
Gyan's user avatar
  • 33.8k