Closed tahajahangir closed 11 years ago
Looks good in theory, I hate that voodoo thing. I'm concerned about two potential problems:
Suggestions or other feedback welcome, if more people are happy with this change, I'll be easily convinced. @Kami?
Removing those options doesn't break anything. Many of them are default options (like -flags +loop
, -rc_eq 'blurCplx^(1-qComp)'
, ...) and remaining options only affect speed and quality of encoding (not saving format).
I do think that moving towards presets is the right thing to do for the x264 codec.
As far as the backward incompatibility goes - it should be fine as long as we bump the major version and document this change in the changelog
@tahajahangir I noticed your commit c92071c841d20e2ad8f124dcdc764bb3e6197c22 fixed the codec name, but the tests didn't fail in the previous commit which contained a wrong codec name.
We need to add a test case to catch failures like this.
@tahajahangir I've based a pull request on your branch and added a test for vp8
codec there - https://github.com/tahajahangir/python-video-converter/pull/1
Never mind, I see you already merged my branch.
:D
I haven't used these options before so I'll defer to your expertise :)
Thanks guys for the patches, there were some conflicts in test.py with the previous pull req so I resolved & merged manually.
Added
quality
option for x264, vorbis and theroa codecs andpreset
option for x264.Also removed confusing unnecessary x264 options. (It's better to use presets) From http://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide: