SubtitleEdit / subtitleedit

the subtitle editor :)
http://www.nikse.dk/SubtitleEdit/Help
GNU General Public License v3.0
8.87k stars 916 forks source link

Fix Pass 2 Generate video with burned-in subtitle in if NUL exists #8941

Open jlievano opened 4 weeks ago

jlievano commented 4 weeks ago

I use a lot the option Generate video with burned-in subtitles, but I couldn't use the Pass 2 option. (There were no progress bar running after clicking on Generate)

After checking the code for this option, I checked the arguments and everything looked great. Like the example below: "-i \"What's Up Matador 1997.mp4\" -vf scale=712:484 -vf \"ass=aaccddbeebfdb.ass\" -g 30 -bf 2 -s 712x484 -c:v libx264 -b:v 1638k -pass 1 -b:a 128k -preset medium -c:a aac -ar 48000 -ac 2 -use_editlist 0 -movflags +faststart -f mp4 NUL"

After running ffmpeg in the command line using these arguments, I got this message: File 'NUL' already exists. Overwrite? So I added the -y flag and it worked.

Maybe my computer had this issue, but it can help others who may experience the same problem in Windows.

Captura de pantalla 2024-10-24 150020

Captura de pantalla 2024-10-24 150129

niksedk commented 3 weeks ago

What ffmpeg version are you using?

jlievano commented 3 weeks ago

I ran the command with ffmpeg version N-100449-g28aedc7f54 Copyright (c) 2000-2020 the FFmpeg developers.

I checked the ffmpeg folder ffmpeg version 5.0.1-essentials_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers