master-of-zen / Av1an

Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding
GNU General Public License v3.0
1.51k stars 155 forks source link

[feature request] Image sequence as input #221

Closed lastrosade closed 3 years ago

lastrosade commented 3 years ago

Allow specifying a directory with images as input to av1an

for example --imagedir "/path/to/images%03d.png"

lastrosade commented 3 years ago

Oh this is still opened. It works with vapoursynth.

NicTanghe commented 7 months ago

I dont want to be a necromancer but when i try to use it with exrs it doesnt seem to work.

mardini_2024/render/sandyMcSand ❯ av1an -x 300 -i ./SandyMcSand.%04d.EXR -w 4 -e aom -c mkvmerge --resume -m lsmash --photon-noise=10 --set-thread-affinity=2 --verbose -a " -an " -f " -an " -v " --bit-depth=10 --cpu-used=16 --end-usage=q --cq-level=24 --threads=2 --tile-columns=0 --tile-rows=0 --lag-in-frames=64 --tune-content=psy --tune=ssim --enable-keyframe-filtering=1 --disable-kf --kf-max-dist=9999 --enable-qm=1 --deltaq-mode=0 --aq-mode=0 --quant-b-adapt=1 --enable-fwd-kf=0 --arnr-strength=1 --sb-size=dynamic --enable-dnl-denoising=0 " -o output.mkv

Error: Input path "./SandyMcSand.%04d.EXR" does not exist. Please ensure you typed it properly and it has not been moved.

am i doing something wrong ?

ps. a discutions tab might be a great aditio to the github.

master-of-zen commented 7 months ago

I have never seen .EXR file. I'm pretty sure it's not supported, and i recommend by any means convert to something that av1an can use as input 👍🏽

NicTanghe commented 7 months ago

I can understand you as a programmer have not seen the industry standard fileFormat.

Do you know of an image formate that is lossles or losslesly compressed that has higher then 8bpc encoding and is supported ?

I'd like to be able to feed it images that are better then 8bpc. so that there isn`t anny banding and i dont have to render out intermediates in video format with another program. As my storage server is yet to arrive.

Where do you think is best to submit a request for supporting this file format ? (doesnt need to support multilayer rgb should be fine)


please dont use a thumbsup at the end of your sentances it can be read as you being passivly agressive. generally thumbsup only if you agree with someone else. As GH is not a place for emotions.

master-of-zen commented 7 months ago

The original issue got fixed by using av1an vapoursynth input.

Where vapoursynth script create video output, and takes images as input.

NicTanghe commented 7 months ago

I have tried messing around with it a little, it wasn`t immediatly clear. i might dig a little deeper into it.

That said i stil think being able to directly feed it images without learning an entire python library could be a great adition.Like with FFmpeg