FastFlix icon indicating copy to clipboard operation
FastFlix copied to clipboard

Wrong equalizer settings with not US locales

Open mpissarello opened this issue 2 years ago • 2 comments

Hi, this is my setup

  • FastFlix 5.1.0 or 5.2.0b1
  • Windows 10 22H2 or Ubuntu 22.10
  • Italian locales

In Advanced Tab, Equalizer fields (Brightness, Contrast, Saturation), I'm trying to change the values (e.g. Saturation = 1.1)

image

Leaving, the field change to a strange value:

image

Obviously, ffmpeg does not recognize this value and throw an error.

2023-02-20 08:53:42 UTENTE-PC fastflix[11064] DEBUG Generating thumbnail: ['C:\\Users\\Utente\\Desktop\\FastFlix\\ffmpeg.exe', '-ss', '2693.4996', '-loglevel', 'warning', '-i', 'V:\\Test.mkv', '-filter_complex', "[0:0]zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p,eq=eval=frame:saturation=1,1E+01,scale='min(440\\,iw):-8'[v]", '-map', '[v]', '-an', '-y', '-map_metadata', '-1', '-frames:v', '1', 'C:\\Users\\Utente\\AppData\\Roaming\\FastFlix\\thumbnail_preview.jpg']

2023-02-20 08:53:43 UTENTE-PC fastflix[11064] ERROR Could not generate thumbnail: b"[AVFilterGraph @ 000002085a5b3c40] No such filter: '1E+01'\r\nError initializing complex filters.\r\nInvalid argument\r\n"

WORKAROUND

On Linux I can get away of this prepending the LC_ALL=C parameter:

LC_ALL=C ./FastFlix

On Windows I need to use a locale emulator, or create a user with US locales.

mpissarello avatar Feb 20 '23 08:02 mpissarello

Fixed in 5.2.0!

cdgriffith avatar Mar 09 '23 03:03 cdgriffith

Regression in version 5.10.0

mpissarello avatar Mar 27 '25 06:03 mpissarello