pixop / video-compare

Split screen video comparison tool using FFmpeg and SDL2
GNU General Public License v2.0
889 stars 41 forks source link

ffmpeg filter only applying to one video and not both #36

Closed Kidsnd274 closed 1 year ago

Kidsnd274 commented 1 year ago

I'm trying to compare two videos with different bit-depths, one is 8-bit and another is 10-bit. I noticed that when comparing both videos with different bit-depths, the 10-bit one has a colour shift in certain scenes. When using StaxRip to compare the videos, the colour shift is not there.

To combat this, I tried using -r format=yuv420p to convert all the videos to 8-bit when comparing. However, it only works in a certain order. For example, launching with video-compare -r format=yuv420p 8bit.mkv 10bit.mkv works but launching with video-compare -r format=yuv420p 10bit.mkv 8bit.mkv doesn't work.

Is there a way to make the filter apply to both videos or am I comparing videos with different bit-depths incorrectly?

jonfryd commented 1 year ago

Hey @Kidsnd274,

For the latter case to work you need to use -l instead of -r since you are switching the order of the videos.