alexheretic / ab-av1

AV1 re-encoding using ffmpeg, svt-av1 & vmaf.
MIT License
483 stars 30 forks source link

Custom path for FFMPEG and FFPROBE #172

Closed devedse closed 10 months ago

devedse commented 10 months ago

Hi, I'm currently working on integrating ab-av1 as a plugin for fileflows. However it seems the version of FFMPEG/FFPROBE that fileflows use doesn't seem to have support for VMAF.

Would it be possible to specify a custom path for FFMPEG/FFPROBE so that I can point the ab-av1 binary to a different ffmpeg then the one in the .env?

Devedse

alexheretic commented 10 months ago

It should be possible to setup a custom PATH env var for the ab-av1 process pointing to another ffmpeg.

devedse commented 10 months ago

I'm trying this command now:

sh -c "PATH=/app/Data/tools/ffmpegbtbn/:$PATH /app/Data/tools/ab-av1/ab-av1 crf-search --svt enable-qm=1:qm-min=4:qm-max=9 --pix-format yuv420p10le -i '/media/Fraps/AutoCompressor/League of Legends 2023.12.16 - 00.39.25.02.mp4' --preset 4"

I'll let you know if it works :)

alexheretic commented 10 months ago

Yep this works fine for me, did you face any issues?

devedse commented 10 months ago

It worked for me too :). The thing I'm mainly struggling with is that apparently a lot of my videos result in a determined VMAF value of way below 70. So I'm still debating a bit on how I want to integrate either VMAF or SSIMU in my workflow.

This issue can be closed though.