importing captions
When importing SRT files for the last few days nothing shows up in kdenlive. I thought that my conversion from VTT to SRT was not working but on closer inspection it looks like something has changed with kdenlive. I tried regressing a few versions to one that I know worked (21.08.2). The captions still did not work. I tried opening up an old project and though the captions loaded in both versions I could not load my SRT files. Looking at the logs for both versions I determined that it was because the file was being loaded with \r seperators not with \n as I expected. This might not be the problem however I do think it is. I will attach a sample file. I would love to work on fixing this issue, I just need to be pointed in the right direction. I am working on building kdenlive as I assume I will have to do it that way.
Samples: output from Kdenlive version 21.12.2 ===== INVALID SUBTITLE ITEM FOUND: "02:24.974" - "02:28.186" , "I swung the flaming microwave \rin circles with" ===== INVALID SUBTITLE ITEM FOUND: "02:28.186" - "02:30.688" , "the power cord to keep \rit away from my body." ===== INVALID SUBTITLE ITEM FOUND: "02:33.983" - "02:38.613" , "And with another swinging motion flung \rthe microwave out onto the lawn." ===== INVALID SUBTITLE ITEM FOUND: "02:57.590" - "03:03.679" , "What had gone wrong? A microwave oven \rneeds something to absorb its energy." ===== INVALID SUBTITLE ITEM FOUND: "03:03.971" - "03:06.474" , "And when nothing is on the inside," ===== INVALID SUBTITLE ITEM FOUND: "03:06.515" - "03:12.563" , "the oven itself absorbs the energy, \rbecomes hot, and may catch on fire,"
output from Kdenlive version 21.08.2 Numeric mode unsupported in the posix collation implementation Only C and default locale supported with the posix collation implementation Only C and default locale supported with the posix collation implementation Case insensitive sorting unsupported in the posix collation implementation Numeric mode unsupported in the posix collation implementation Only C and default locale supported with the posix collation implementation Only C and default locale supported with the posix collation implementation Case insensitive sorting unsupported in the posix collation implementation Numeric mode unsupported in the posix collation implementation Only C and default locale supported with the posix collation implementation Only C and default locale supported with the posix collation implementation Case insensitive sorting unsupported in the posix collation implementation Numeric mode unsupported in the posix collation implementation
original SRT file converted.srt