Jose Hidalgo
Member
- Local time
- 12:02 AM
- Posts
- 81
- OS
- Windows 11
Hi everybody. I should mention that I'm based in France, so I have a French Win 11 (I guess, lol).
I have a .bat file that used to work perfectly under Win 7, and still does under Win 11, except when umlauts are involved.
For the record (but it's not relevant), the file uses ffmpeg's
Here's a working example of the .bat file.
Here's a non-working example of the .bat file. Only one character differs.
CMD clearly points to an umlaut problem, due to the "é" in "Céline". You can try it yourself with any accented local file.
I've tried several things without success:
Thanks in advance!
I have a .bat file that used to work perfectly under Win 7, and still does under Win 11, except when umlauts are involved.
For the record (but it's not relevant), the file uses ffmpeg's
ffprobe
binary to get the target video's width and height, and write them to a text file.Here's a working example of the .bat file.
Code:
"C:\Program Files\FFmpeg\bin\ffprobe.exe" -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 "D:\VIDEO\Clive Griffin & Celine Dion - When I Fall in Love.mkv" >"C:\Users\Jose\DOCUMENTS_D\Video\TAGGING\width & height\result.txt"
Here's a non-working example of the .bat file. Only one character differs.
Code:
"C:\Program Files\FFmpeg\bin\ffprobe.exe" -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 "D:\VIDEO\Clive Griffin & Céline Dion - When I Fall in Love.mkv" >"C:\Users\Jose\DOCUMENTS_D\Video\TAGGING\width & height\result.txt"
CMD clearly points to an umlaut problem, due to the "é" in "Céline". You can try it yourself with any accented local file.
I've tried several things without success:
- Several ffmpeg versions from 2023 and 2024
- Several encodings of the .bat file (UTF-8, ANSI, and others), using Notepad and Notepad++.
Thanks in advance!
Last edited:
My Computer
System One
-
- OS
- Windows 11
- Computer type
- PC/Desktop
- Manufacturer/Model
- Personal build
- CPU
- AMD Ryzen 7700
- Motherboard
- Asus TUF Gaming B650M-Plus WiFi
- Memory
- 32 GB (2x16) Corsair Dominator DDR5 RGB 6000 MT/s
- Graphics Card(s)
- Not yet
- Sound Card
- No
- Monitor(s) Displays
- Philips BDM3270QP2
- Screen Resolution
- 2560x1440
- Hard Drives
- 2 TB Samsung 990 Pro
12 TB Western Digital Red (WD120EFAX, SATA, 5400 rpm)
- PSU
- 850W Corsair RM850e (2023, ATX 3.0)
- Case
- Corsair Crystal 280X RGB White
- Cooling
- Aerocool Mirage L240 AIO
- Keyboard
- Corsair K55
- Mouse
- Vertical mouse from AliExpress
- Internet Speed
- Fiber
- Browser
- Firefox, Brave, Tor
- Antivirus
- Windows Defender
- Other Info
- 1000VA UPS (Nitram PB1000 LCD) for PC + Screen + Speakers