Jump to content

What video format works for uploading to this site?


Jay1646

Recommended Posts

Posted

Tried to upload a blog video, but I guess the format won't allow for it to be shown on here (or maybe because it's 98 mbs??)

 

What is a good video format that allows for easy embedding?? Thanks

Posted

I use ffmpeg and vp9 encoding (works well on this site and most others). I'd typically use a command as below:

 

ffmpeg -i input.mp4 -c:v libvpx-vp9 -r 60 -s 1024x576 -crf 24 -b:v 800k -c:a libvorbis output.webm

 

-c:v libvpx-vp9 is vp9 format. It should play natively in chrome and firefox.
-r is framerate
-s is resolution
-crf is constant rate factor. I like 23-24 for nice quality. You can set a lower value (higher quality) but it will increase encode time quite a bit.
-b:v 800k is whatever you want your target bitrate to be. What you pick here will be determined mostly by resolution. Try it and see what looks ok.
-c:a libvorbis is the audio codec. Use this if using vp9. For no audio use -an.

 

Here's video I encoded this way. 150 seconds, 1024x576 resolution, 60 frames. Only 15mb. With tweaks it could be half that size or less with little noticeable quality loss.

 

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...