Convert mov with Alpha to VP9 Webm with Alpha Using ffmpeg

后端 未结 4 409
一个人的身影
一个人的身影 2020-12-03 18:51

I am trying to convert a mov with alpha transparency to webm with alpha transparency, as seen here. I followed the steps explained here to

相关标签:
4条回答
  • 2020-12-03 18:59

    All of the other solutions resulted in a video of subpar quality. Please ensure that you define the bitrate to your liking. I changed mine from 1M to 2M and was satisfied.

    ffmpeg -i "Model 1 V1.mov" -f webm -c:v libvpx -b:v 2M -acodec libvorbis -auto-alt-ref 0 model1v3.webm -hide_banner

    If you're using After Effects or Premiere Pro, there's also this plugin, which can be used in Adobe Media Encoder.

    0 讨论(0)
  • 2020-12-03 19:14

    Try

    ffmpeg -i input.mov -c:v libvpx -pix_fmt yuva420p out.webm
    
    0 讨论(0)
  • 2020-12-03 19:18

    Since 2016-07-13, it's possible to encode VP9/webm videos with alpha channel (VP9a). However, the command you use here will create a VP8a video. Assuming you got a copy of ffmpeg compiled after that date, all you need is change the libvpx to libvpx-vp9. You don't need the yuva420p conversion either (is selected by default).

    0 讨论(0)
  • 2020-12-03 19:18

    WebM-alpha is only defined for VP8. It doesn't work at all for VP9 right now.

    0 讨论(0)
提交回复
热议问题