Bionus/imgbrd-grabber

Expanding the "Video conversion" feature by adding selectors for "Container", "Video Codec" & "Audio Codec".

Opened this issue · 0 comments

Nice ffmpeg to have later:

ffmpeg -i input.mp4 -c:v libx265 -c:a aac -y output.mp4
ffmpeg -i input.mp4 -c:v libvpx-vp9 -c:a libvorbis -y output.mp4
ffmpeg -i input.mp4 -c:v libaom-av1 -c:a libopus -y output.mp4

NVIDIA:

ffmpeg -i input.mp4 -c:v h264_nvenc -c:a copy -y output.mp4
ffmpeg -i input.mp4 -c:v hevc_nvenc -c:a copy -y output.mp4
ffmpeg -i input.mp4 -c:v av1_nvenc -c:a copy -y output.mp4

AMD:

ffmpeg -i input.mp4 -c:v h264_amf -c:a copy -y output.mp4
ffmpeg -i input.mp4 -c:v hevc_amf -c:a copy -y output.mp4
ffmpeg -i input.mp4 -c:v av1_amf -c:a copy -y output.mp4

Useful resources:
https://alfg.dev/ffmpeg-commander/
https://trac.ffmpeg.org/wiki#Encoding
https://trac.ffmpeg.org/wiki/HWAccelIntro#NVENC
https://trac.ffmpeg.org/wiki/Hardware/AMF#a3HardwareEncode
https://docs.nvidia.com/video-technologies/video-codec-sdk/12.0/ffmpeg-with-nvidia-gpu/index.html#basic-testing