In-game video support for the WebM format?
Reasons why I'm requesting this is cause it has really good compression and quality.
720p ED of an anime, less than 10mb
720p OP of an anime (with a lot of action), only 13mb
It's also fairly easy to encode:
ffmpeg -i filename.mp4 -ss startingtime -to endingtime -an -vf scale 720:-1 -c:v libvpx -b:v bitrate -y outputname.webm
-i specifies input file
-ss specifies the starting time (where to start encoding, f.e. if it's an anime episode that's 20min long, and the ED starts afterwards, you can specify -ss 20:10.600 if it starts then)
-to same concept as -ss, but this one is for when to end it
-an makes it encode without audio, since we already have the .mp3 of the song
-vf scale specifies heightxwidth, we leave one of the two as -1 so it doesn't lose aspect ratio
-c:v libvpx specifies to encode it as vpx, or, webm
-b:v specifies bitrate (must append K to it)
-y specifies the new file's name
Reasons why I'm requesting this is cause it has really good compression and quality.
720p ED of an anime, less than 10mb
720p OP of an anime (with a lot of action), only 13mb
It's also fairly easy to encode:
ffmpeg -i filename.mp4 -ss startingtime -to endingtime -an -vf scale 720:-1 -c:v libvpx -b:v bitrate -y outputname.webm
-i specifies input file
-ss specifies the starting time (where to start encoding, f.e. if it's an anime episode that's 20min long, and the ED starts afterwards, you can specify -ss 20:10.600 if it starts then)
-to same concept as -ss, but this one is for when to end it
-an makes it encode without audio, since we already have the .mp3 of the song
-vf scale specifies heightxwidth, we leave one of the two as -1 so it doesn't lose aspect ratio
-c:v libvpx specifies to encode it as vpx, or, webm
-b:v specifies bitrate (must append K to it)
-y specifies the new file's name