TianZerL / Anime4KCPP

A high performance anime upscaler
GNU General Public License v3.0
1.82k stars 139 forks source link

No audio in the output video. #76

Open JiaChen-Zeng opened 3 years ago

JiaChen-Zeng commented 3 years ago

Anime4KCPP: ACNet, GPU acceleration (CUDA). Other settings remain default.

The output video is MP4 format instead of MKV. Can it be the cause?

Original image

Output image

TianZerL commented 3 years ago

Make sure you have installed ffmpeg correctly.Mp4 is an intermediate product. Finally, ffmpeg will be used to merge tracks and modify the format.

Correct means that you can call ffmpeg directly from the command line or specify the path to the ffmpeg binary for GUI.

JiaChen-Zeng commented 3 years ago

I didn't add ffmpeg into system PATH. At first the GUI told me FFmpeg check failed. Then I set the ffmpeg path manually and it did show FFmpeg check OK. I'm going to try to use PATH to see if it has any difference.

TianZerL commented 3 years ago

The simplest way is to put the ffmpeg binary in the same directory as the GUI binary, and delete old settings.ini.

JiaChen-Zeng commented 3 years ago

Thanks. Putting ffmpeg in the same directory fixes the problem.