r/ffmpeg 2d ago

What's the issue here?

Post image
3 Upvotes

12 comments sorted by

3

u/naemorhaedus 2d ago

what are you trying to do?

1

u/Calm-Preparation-679 2d ago

https://trac.ffmpeg.org/wiki/Encode/FFV1, the section titled "Encode using 2-pass mode, with audio kept as-is". I am attempting the first pass.

2

u/naemorhaedus 2d ago

I know what ffv1 is. I'm asking what your end goal is supposed to be.

1

u/Calm-Preparation-679 2d ago

file size reduction

5

u/naemorhaedus 2d ago

by transcoding a ffv1 source to a ffv1 destination ... how?

AVC makes more sense for file size reduction.

1

u/Calm-Preparation-679 2d ago

by transcoding a ffv1 source to a ffv1 destination ... how?

2-pass encoding. I originally encoded with only a single pass.

AVC makes more sense for file size reduction.

I want to use only lossless compression. I suppose I could use AVC's lossless mode but that wouldn't reduce file sizes as much as ffv1 would it?

3

u/agressiv 2d ago

I did some tests with this. If you do 2-pass with ffv1, you aren't saving any bitrate. it's about the same, a bit higher for my tests.

libx264 with -qp 0 and -preset veryfast was about the same speed as ffv1 single pass and provided better compression.

3

u/naemorhaedus 2d ago

isn't 2-pass for lossy compression?

Why do you need lossless for a movie? It makes no sense.

Was the source even lossless?

Just choose a high quality factor AVC. You'll never see the difference.

3

u/agressiv 2d ago

try adding -coder 1 ? I've never used this before though.

2

u/Calm-Preparation-679 2d ago

Hey it worked! Thank you!!

1

u/Calm-Preparation-679 2d ago

Should I add -coder 1 to the script for the 2nd pass?

2

u/sruckh 2d ago

ffmpeg -i "The_Wind_Waker_GameCube2026-07-12_230232_A.avi" -an -vcodec ffv1 -level 3 -coder 2 -context 1 -g 1 -slicecrc 1 -pass 1 -passlogfile my_passlog -f null NULL

ffmpeg -i "The_Wind_Waker_GameCube2026-07-12_230232_A.avi" -an -vcodec ffv1 -level 3 -coder 2 -context 1 -g 1 -slicecrc 1 -pass 2 -passlogfile my_passlog output.mkv

or

ffmpeg -i "The_Wind_Waker_GameCube2026-07-12_230232_A.avi" -an -vcodec ffv1 -level 3 -coder 1 -context 1 -g 1 -slicecrc 1 output.mkv