Repository navigation
Add Webm medium quality preset and fix MP4/Webm presets - #385
Conversation
d3e4af2 to
5567ebd
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #385 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 42 42
Lines 2947 2952 +5
Branches 452 452
=========================================
+ Hits 2947 2952 +5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@pawank925 did you tested that against some real videos? We used to have some test videos but I don't find them anymore ... |
|
@benoit74 Yes — and the videos are still in the repo, I think you're remembering the other set.
The two new
Three things worth noting from that:
The honest limitation: this is one 2.6-second clip of one kind of content, so it is nowhere near the "significantly tested on multiple kinds of videos" bar you set in #271. The parameters themselves come from @DasDunkel's 15-video YouTube set and the comparison script in #271, not from my own testing — my runs only confirm they behave as described, they don't re-validate them across content types. If you want that before merge, I can re-run @DasDunkel's script over the 15 IDs (low/med/high, webm + mp4) and report the full per-video numbers. And if you'd like the repo to stop losing its test set, adding a couple of varied fixtures to |
db8e16e to
9c7c2c4
Compare
Fixes #271.
Changes
VideoWebmMedium(VP9, v1): 240k target bitrate,-qmin 32 -qmax 58,-speed 3, height capped at 720 (scale='-2:min(720,ih)':force_original_aspect_ratio=increase), Vorbis 48k/44.1kHz stereo — a middle ground betweenVideoWebmLowandVideoWebmHigh.VideoMp4High(v2): changed CRF from 20 to 28 (CRF 20 often produced files larger than the input) and added-movflags +faststartfor progressive playback.VideoWebmLow,VideoWebmMedium,VideoWebmHigh) now pass-row-mt 1for faster VP9 encoding (as recommended in Add Webm medium quality + fix MP4 high quality presets #271).VideoWebmLowto v4 andVideoWebmHighto v3 to reflect the-row-mtoption change.CHANGELOG.md.Notes
-row-mt 1/-movflags +faststartrecommendations follow the testing and discussion in Add Webm medium quality + fix MP4 high quality presets #271 (thanks @DasDunkel and reviewers).