bindestriche / srt_fix

yt-autosub-srt-fix a yt-dlp plugin to fix double lines of youtube subtitles converted to srt via ffmpeg
The Unlicense
32 stars 5 forks source link

[srt_fix] post-processed 'xxx.mp4' with {} #5

Closed snoolee closed 10 months ago

snoolee commented 1 year ago

image

Hi, I'm using the latest version of yt-dlp, and my options are (through .conf file): -P "%DOWNLOADS%" -o "%(title)s.%(ext)s" -S ext --write-auto-sub --sub-lang en --convert-subs=srt --use-postprocessor srt_fix But no fixed.srt file generated after run. Could you help find the problem? Thanks.

snoolee commented 1 year ago

Also I found the gui version is broken somehow. After fix, all timecode in the .srt are reversed:

1
00:00:05,360 --> 00:00:03,020
<sub text 1>

2
00:00:07,849 --> 00:00:05,370
<sub text 2>
...

The original srt is:

1
00:00:00,030 --> 00:00:03,020

<sub text 1>

2
00:00:03,020 --> 00:00:03,030
<sub text 1>

3
00:00:03,030 --> 00:00:05,360
<sub text 1>
<sub text 2>

4
00:00:05,360 --> 00:00:05,370
<sub text 2>

So basically if you play the "fixed" sub, nothing will show. Does the project even work?

bindestriche commented 1 year ago

Does the project even work? It works for me, I would ask you to consider that I am not an experience developer. If you could please provide me with a link to a video that causes the issues, that would be great.

Also please redownload the latest merge does include a fix for the -o option, maybe that is all you need.

the gui py indeed had a silly error, that should also be fixed now