cdgriffith / FastFlix

FastFlix is a free GUI for HEVC and AV1 encoding, GIF/WebP/AVIF creation, and more!
MIT License
1.08k stars 54 forks source link

Autocrop can break with index error #475

Closed cdgriffith closed 1 year ago

cdgriffith commented 1 year ago

Brought up by No Name on discord

Hi, i got error (cannot cropping video) when use FFmpeg with VVC(H266) codec support

Screenshots image

phanluchoaofficial1152 commented 1 year ago

Thanks for posting, as I mention before, this error is only occur when change ffmpeg have VVC (H266) only (no others codec) but with normal official ffmpeg is not get that error. It get auto-crop normally.

I have a ffmpeg with only have VVC (H266) for u to test after fix it:

https://drive.google.com/drive/folders/1Y-_hSP6omCZzOn9Swr2NgRm8Nz6LCK2y?usp=sharing

cdgriffith commented 1 year ago

Running the command itself I see this error:

[AVFilterGraph @ 00000291dc3e5480] No such filter: 'cropdetect'
Error reinitializing filters!
Failed to inject frame into filter network: Filter not found
Error while processing the decoded data for stream #0:0

So I am adding a case that it will just log a warning instead that it's not supported if the ffmpeg doesn't have that filter.

cdgriffith commented 1 year ago

Warning added in 5.5.4 https://github.com/cdgriffith/FastFlix/releases/tag/5.5.4

phanluchoaofficial1152 commented 1 year ago

thanks

Vào Th 5, 4 thg 5, 2023 lúc 07:17 Chris Griffith @.***> đã viết:

Warning added in 5.5.4 https://github.com/cdgriffith/FastFlix/releases/tag/5.5.4

— Reply to this email directly, view it on GitHub https://github.com/cdgriffith/FastFlix/issues/475#issuecomment-1533906201, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5WIWK3KTMJTMIYFUWRPZ4DXELYQLANCNFSM6AAAAAAXQI32KE . You are receiving this because you commented.Message ID: @.***>