-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script does not export gifs with subtitles. #5
Comments
Seems like an issue with escaping the backslash in paths in the |
Okay now Im even more not sure and having even more problems than before heh. After doing this I saved file and opened a .mkv file in mpv. Picked 2:30 as start and 2:50 as end. First i tried doing just gif as this function worked fine before soo i wanted to be sure that it still works. It opened cmd as always and after while closed displaying "GIF created" in mpv. Always created gif was in the same dir as the files, but it wasn't there soo i decided to check the default path in config, but it wasn't their neither.
Being a little dissapointed with it not working I though that atleast the subtitle burned one will work but it didnt neither the cmd closed faster than without burning and displayed the same message afterwards just like the one without burned subs. File wasn't present at all just like case before. I tried reverting those changes but they didnt fixed anything for some reason? I don't really know whats going on at this point. I thought that maybe i didnt installed needed prequisities soo i checked the mainpage, downloaded the whole script again. Used windows, used newest mpv and got sure that my ffmpeg has libass enabled. I tried to make gif out of 24minute anime video containting .ass subs in .mkv format. |
Similar problems here. It cannot export anything. To check the original script and find the the same issue. |
I had problems with generating gifs with subtitles as well, but I was finally able to get it working. Turns out the file I was playing had square brackets in the name like "[" and "]", and you have to escape those properly for ffmpeg to parse it as the subtitles argument. To fix it, I added the following after line 81:
Not sure if this is the best way to fix or if this is actually the same issue others have here, but maybe this will help someone else. I also put out a Pull Request if the maintainer wants to review and merge it: #11 |
Hi, i tried using script and it exports gifs without subtitles fine but when i want to export it with subtitles it dosent export them at all.
The text was updated successfully, but these errors were encountered: