murrty / youtube-dl-gui

Download/Convert videos from websites without needing to learn command line
GNU General Public License v3.0
430 stars 44 forks source link

Merge: exception has occured #102

Closed Pheil closed 1 year ago

Pheil commented 2 years ago

When trying to merge an mp4 and m4a I get this error.

rtbExceptionDetails

Version: 2.262 An exception occured Message: The system cannot find the file specified Stacktrace: at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at youtube_dl_gui.Convert.mergeFiles(String input1, String input2, String output, Boolean mergeAudio, Boolean deleteAfterMerge) Source: System Target Site: Boolean StartWithShellExecuteEx(System.Diagnostics.ProcessStartInfo) Full report: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at youtube_dl_gui.Convert.mergeFiles(String input1, String input2, String output, Boolean mergeAudio, Boolean deleteAfterMerge)

murrty commented 2 years ago

Merging files require ffmpeg.

Pheil commented 2 years ago

Maybe different issue ? I set the ffmpeg directory then confirm that the setting is saved in the ini (ffmpegPath=C:\Program Files\ffmpeg\bin), but when I go back into settings the path field is blank.

Edit: C:\Program Files\ffmpeg\bin\ffmpeg.exe set directly in the INI doesn't work either.

murrty commented 2 years ago

are you using static ffmpeg?

Pheil commented 2 years ago

Yes, sorry. Setting static resolves the path going blank, but the exception still occurs when trying to merge.

murrty commented 1 year ago

I caught a bug where merging wouldn't work because it wasn't checking the verification path of ffmpeg, instead calling it straight-out like command line. Also, there's a dedicated merging form now which is preferred.

If it persists, re-open.