| Summary: | Import of sequences of .ts files: cumbersome and audio gaps | ||
|---|---|---|---|
| Product: | [Applications] kdenlive | Reporter: | Uwe Dippel <udippel> |
| Component: | Project Bin & Import | Assignee: | Jean-Baptiste Mardelle <jb> |
| Status: | REPORTED --- | ||
| Severity: | minor | ||
| Priority: | NOR | ||
| Version First Reported In: | 25.08.0 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
kdenlive rendered output .ts added one by one to timeline
kdenlive rendered output .ts merged with cat before import |
||
|
Description
Uwe Dippel
2025-08-30 17:42:14 UTC
In the meantime, I had an exchange on this with the ffmpeg mailing list. It turns out, that the command given on https://trac.ffmpeg.org/wiki/Concatenate is incomplete/wrong. It should be ffmpeg -f data -i "concat:input1.ts|input2.ts|input3.ts" -map 0 -c copy -f data output.ts which serves the purpose, at least with respect to cover all streams. Funnily enough, though, the resulting file here is identical (md5sum) to the output of cat *.ts >> output.ts If this could be confirmed (it does astonish me), the import of .ts sequences (almost always found when recording satellite or cable) would be much simplified. Created attachment 184604 [details]
kdenlive rendered output .ts added one by one to timeline
Created attachment 184605 [details]
kdenlive rendered output .ts merged with cat before import
Had the time to render one set of .ts files in two trials. One - as always done in the past, one by one added one after the other onto the timeline -, and one with cat *.ts >> output.ts before importing the single output.ts. And the gap is gone! (Wished I had dived into this earlier, because over the years, all my rendered files tend to have short gaps at the merge points of the .ts files on the timeline.) Those gaps seem identical among the (wrongly) concatenated files by the command given on the ffmpeg wiki, and those that are found in the rendered output of kdenlive. (Does kdenlive use a similar concatenation method as given on the wiki?) Since I rendered some 80+ files with kdenlive during the last years, and all have these gaps, more or less audible/visible, it is a pity I deleted the originals, so that I can't redo those results. But I don't complain! I suggest to handle this as a bug, however, from here onwards, because dumping recording results of .ts sequences separately on the timeline is supposed to work without artefacts, especially since a proper concatenation in advance of the import can produce a properly rendered output. |