[FFmpeg-devel] [PATCH 0/1] Output .lrc with correct end time

2024-10-23 Thread Lu Renjia
Fix "Generate .lrc from .sbv or .srt have end time error on some lines" https://trac.ffmpeg.org/ticket/11253 gusong (1): Output .lrc with correct end time libavformat/lrcenc.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) -- 2.47.0 __

[FFmpeg-devel] [PATCH 1/1] Output .lrc with correct end time

2024-10-23 Thread Lu Renjia
When input .sbv or .srt and output .lrc, line end time is incorrect as condition below: $ cat > input.sbv << EOF 0:00:00.000,0:00:03.000 Title 0:00:10.000,0:00:15.000 Line 1 EOF $ ffmpeg -i input.sbv out.lrc $ cat out.lrc [re:Lavf61.7.100] [ve:61.7.100] [00:00.00]Title [00:10.00]Line 1 'Title'