Example of the filename
CODE
モンスター 괴물 怪物 ☀️.MOV
Example of my ffmpeg command
CODE
ffmpeg -i "モンスター 괴물 怪物 ☀️ 01.MOV" -vf scale=1280:720 -c:v libx265 -c:a copy "モンスター 괴물 怪物 ☀️ 01.mkv"
Now you might ask, if it works by pasting the command directly in terminal, why not just do so? Why must use .bat file? Well I have many commands like following (I only show example 3 but actually it's like 100) so no way I'm gonna do it 1 by 1, better put it in a .bat file to run.
Example of my .bat file content
CODE
ffmpeg -i "モンスター 괴물 怪物 ☀️ 01.MOV" -vf scale=1280:720 -c:v libx265 -c:a copy "モンスター 괴물 怪物 ☀️ 01.mkv"
ffmpeg -i "モンスター 괴물 怪物 ☀️ 02.MOV" -vf scale=1280:720 -c:v libx265 -c:a copy "モンスター 괴물 怪物 ☀️ 02.mkv"
ffmpeg -i "モンスター 괴물 怪物 ☀️ 03.MOV" -vf scale=1280:720 -c:v libx265 -c:a copy "モンスター 괴물 怪物 ☀️ 03.mkv"
ffmpeg -i "モンスター 괴물 怪物 ☀️ 02.MOV" -vf scale=1280:720 -c:v libx265 -c:a copy "モンスター 괴물 怪物 ☀️ 02.mkv"
ffmpeg -i "モンスター 괴물 怪物 ☀️ 03.MOV" -vf scale=1280:720 -c:v libx265 -c:a copy "モンスター 괴물 怪物 ☀️ 03.mkv"
YES, even when viewed in notepad, those characters appear fine. Screenshot as attached.
To run the .bat file I either double-click on it and it'll run or I use the terminal and browse to it and run it. But in this case it just failed due to those characters. So my question is is there any way to make it work? Renaming those files to proper readable character is a no-no since there's like 100 files to work with. Because if it works if I paste the command, why won't it if it's in the .bat file?
If the content of .bat file is like following, 100% no issue
CODE
ffmpeg -i "input 01.MOV" -vf scale=1280:720 -c:v libx265 -c:a copy "output 01.mkv"
ffmpeg -i "input 02.MOV" -vf scale=1280:720 -c:v libx265 -c:a copy "output 02.mkv"
ffmpeg -i "input 03.MOV" -vf scale=1280:720 -c:v libx265 -c:a copy "output 03.mkv"
ffmpeg -i "input 02.MOV" -vf scale=1280:720 -c:v libx265 -c:a copy "output 02.mkv"
ffmpeg -i "input 03.MOV" -vf scale=1280:720 -c:v libx265 -c:a copy "output 03.mkv"
But no way I'm gonna rename. Ain't nobody got time for that.
Btw, I've tried powershell. Both method (copy-paste command or via .bat file) doesn't work too.
This post has been edited by c2lia: May 28 2024, 01:34 PM
May 28 2024, 01:30 PM, updated 2y ago
Quote
0.0175sec
2.15
6 queries
GZIP Disabled