Video encoding format documentation #9

Open
opened 2021-01-24 03:32:08 +10:30 by birdulon · 1 comment
Owner

Need to record encoding settings somewhere, I can never find them when I need to do new ones. Godot is rather impoverished on format support (VP8/VP9/Theora) and chokes hard on good (slow) profiles. The GDNative ffmpeg plugin isn't a silver bullet either, at least the old version wasn't.

  • Videos must have an audio track. Hopefully one day they won't need one. We don't use it since we need an audio file (like most rhythm games) for preview and reliable (no lag) playback anyway.
  • VP8 is the only viable codec. VP9 is far too slow and Theora has absolutely terrible filesizes for our target quality.
  • Slower VP8 profiles and settings are not viable. I need to find what I settled on before as there was a lot of testing involved.
Need to record encoding settings somewhere, I can never find them when I need to do new ones. Godot is rather impoverished on format support (VP8/VP9/Theora) and chokes hard on good (slow) profiles. The GDNative ffmpeg plugin isn't a silver bullet either, at least the old version wasn't. - Videos **must** have an audio track. Hopefully one day they won't need one. We don't use it since we need an audio file (like most rhythm games) for preview and reliable (no lag) playback anyway. - VP8 is the only viable codec. VP9 is far too slow and Theora has absolutely terrible filesizes for our target quality. - Slower VP8 profiles and settings are not viable. I need to find what I settled on before as there was a lot of testing involved.
birdulon added the
question
label 2021-01-24 03:32:08 +10:30
birdulon self-assigned this 2021-01-24 03:32:08 +10:30
Author
Owner

Found my old script, unfortunately it passed bitrate as an argument so that will need to be determined still.
ffmpeg -i "$i" -c:v libvpx -b:v ${bitrate} -deadline realtime -cpu-used 1 "${i%.*}.webm"

Found my old script, unfortunately it passed bitrate as an argument so that will need to be determined still. `ffmpeg -i "$i" -c:v libvpx -b:v ${bitrate} -deadline realtime -cpu-used 1 "${i%.*}.webm"`
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: birdulon/RhythmGame#9
No description provided.