unanimated / luaegisub

Aegisub automation scripts
Other
78 stars 45 forks source link

Hi, how are you? How to use the ua.EncodeHardsub.lua ? I'm noob, thanks ! Wait you online #8

Closed Aegisub2019 closed 5 years ago

Aegisub2019 commented 5 years ago

Hi, how to use the ua.EncodeHardsub.lua ? I'm noob, thanks ! I try more times and it not work, i use it has errors. Can you make a video tutorial at Youtube? I use the Aegisub 3.2.2 . Thanks you so muck !

r

新建位图图像

unanimated commented 5 years ago

As for the script, everything necessary should be in the manual. http://unanimated.hostfree.pw/ts/scripts-manuals.htm#enchsub

But what I'm seeing in your cmd.exe is an error from x264.exe. It seems like your version of x264.exe doesn't support mp4 output. Try to get a different version: http://x264.nl/x264_main.php (Looks like only the "mirror 06" links work.)

Aegisub2019 commented 5 years ago

hi guy, I has use the x264.exe in the link you give me ! it doesn't work and error! (http://x264.nl/x264_main.php) it seem that is a old version 0.133.xx. and i study the tutorial from you link before, i have try it many times. but cann't work. So i contacted you. And i have use the x264.exe(0.157.xx) from Megui, but it also have error. I don't know what happenned. And i have read your manual more, but i cann't understanding anything, i do it as the manual in Aegisub. So i cntacted you. hope you can make a video tutorial at Youtube. 新建位图图像

Aegisub2019 commented 5 years ago

rt

Aegisub2019 commented 5 years ago

Hi guy, i found a bug in your script, it cann't select the Target folder ! Then i try to select the custom, it open a file select window.

unanimated commented 5 years ago
  1. I just tried encoding a hardsubbed mp4 video with the 32bit 8bit-depth x264 from the link I gave you. It worked fine. So the script works, and your settings look OK. The problem is not with the script.

  2. I really don't know why x264.exe is giving you that error. Like I said, I tested the x264 file from the website and encoded a hardsubbed clip just fine. If you put the file in the place you have selected in the script and it still doesn't work, then I don't know what the problem is. I'm not an expert on video encoding. You'd have to ask somebody who understands encoding and x264.

  3. "it cann't select the Target folder" When you open that dialog, it says "Target folder for encodes (Select any file in it)", so that's what you should do. I think the Aegisub options didn't include selecting a folder, so I had to do it this way. If you use "Custom" and select any file in the folder, the script will use the folder. Or you can type the path in the box next to the "Custom:" box.

Again, the problem is not with the script. The problem is with your x264.exe.

Aegisub2019 commented 5 years ago

Hi guy, it has a new error, do you know what happed? I have change the x264-32-8.exe from your link. (it seem that the error is with my x264) And i have another problem, how to select the mkvmerge.exe ?write the path in the box?

79787位图图像

unanimated commented 5 years ago

failed to load avisynth Looks like you don't have avisynth installed...

And i have another problem, how to select the mkvmerge.exe ?write the path in the box? Yes.

Aegisub2019 commented 5 years ago

Thanks for your reply, but i have install the avisynth. How i need to use it?

图像 a像

unanimated commented 5 years ago

OK, that looks correct. My installation looks the same, and I didn't do anything else with it, so I don't know why it's not loading. Again, you'd have to ask somebody who knows more about encoding. This is not exactly my area of expertise.

Aegisub2019 commented 5 years ago

Another. I open the Aegisub, and load the video and subtitle. I click the script encode hardsub, it said no video detected?

新建位图图像

unanimated commented 5 years ago

You should probably make sure avisynth.dll is in windows/system32 and/or windows/SysWOW64.

You can check some pages about avisynth not working, like http://www.dlldownloader.com/avisynth-dll/

You can also try reinstalling it.

unanimated commented 5 years ago

"I click the script encode hardsub, it said no video detected?" Probably because you didn't save the script (.ass) after loading the video.

Aegisub2019 commented 5 years ago

Thank you very much, although I still can't use this script. I have used another solution, the ffmpeg Command to hardsub.