snobu / destreamer

Save Microsoft Stream videos for offline enjoyment.
MIT License
2.36k stars 440 forks source link

CRF / more options for ffmpeg? #269

Open mngyuan opened 3 years ago

mngyuan commented 3 years ago

I'm downloading the lectures from my courses, but I'd like to be able to control the filesize more granularly. I've been using h265 with a crf value of 35 -crf 35 with good results with ffmpeg, but I noticed destreamer doesn't allow you to control this from the command line.

would you be open to adding this as an option? I could submit a PR as well if I get time over the next couple weeks.

lukaarma commented 3 years ago

There are a couple of FFmpeg option that we already provide to use as an example if you wanted to create a PR (that would be really appreciated since I have little time to work on this, sorry)