https://bugs.kde.org/show_bug.cgi?id=508947

            Bug ID: 508947
           Summary: Import of sequences of .ts files: cumbersome and audio
                    gaps
    Classification: Applications
           Product: kdenlive
      Version First 25.08.0
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Project Bin & Import
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
Importing a file cut up to sequences of .ts clips is cumbersome, and not error
free. It is possible to import a sequence of images, though I haven't found an
import of a sequence of video clips.
Therefore I do it one by one, dragging them one by one to the timeline. Already
there, most often some audio gap is audible, in the project monitor as well as
in the final product.
This is not principally a problem of kdenlive, but a concatenation problem,
observed by several sources; well before kdenlive comes into perspective, e.g.
https://superuser.com/questions/692990/use-ffmpeg-copy-codec-to-combine-ts-files-into-a-single-mp4
The reference given there states something wrong:
https://trac.ffmpeg.org/wiki/Concatenate
, that's also what Google (AI) suggested. Firstly, the gaps remain, and mostly,
the output is just a 48 kHz stereo of the first channel, with `ffmpeg -i
"concat:input1.ts|input2.ts|input3.ts" -c copy output.ts`

STEPS TO REPRODUCE
1. "Add Clip" for multiple .ts sequences
2. Drag one after the other to the timeline
3. Listen to audio at transition points, in the timeline as well as final
rendered product

OBSERVED RESULT
Import is cumbersome
At transitions of .ts clips, some more or less audible audio gaps appear

EXPECTED RESULT
Simple import of multiple, subsequent .ts clips
Handling audio transitions properly

ADDITIONAL INFORMATION
There are sources stating that - instead of ffmpeg - a simple `cat` would do
the trick. But then, the audio could fall out of sync. 
https://www.linuxquestions.org/questions/linux-software-2/media-newbie-how-do-i-stitch-together-multiple-ts-files-into-a-single-video-4175491445/
and
https://stackoverflow.com/questions/33599831/concatenate-ts-files-with-correct-timestamps

(I was wondering if I should split this into two items; the major one for me is
the audio gaps, of course, for which I didn't find ANY solution. However, I
decided to put both into this posting, since the gaps only appear at merge
points of imported .ts files in time, on the timeline.)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to