Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
c3tracker:repair [2023/03/15 17:01] – [Manually repairing a Recording (TS)] jwacalex | c3tracker:repair [2025/09/14 12:38] (current) – v0tti | ||
---|---|---|---|
Line 43: | Line 43: | ||
ffmpeg -i repair_rl.ts -filter_complex " | ffmpeg -i repair_rl.ts -filter_complex " | ||
</ | </ | ||
+ | |||
+ | === Hints for simple .ts repairs with ffmpeg | ||
+ | |||
+ | For basic repairs (for example, removing sections from the middle of a recording), you can use '' | ||
+ | |||
+ | First, determine the start and end timestamps of the sections you want to keep, relative to '' | ||
+ | |||
+ | < | ||
+ | ffmpeg -i uncut.ts -ss 00:02:46.20 -to 00:17:25.18 -map 0 -c copy part1.ts | ||
+ | ffmpeg -i uncut.ts -ss 00:19:12.12 -to 00:52:27.23 -map 0 -c copy part2.ts | ||
+ | </ | ||
+ | |||
+ | After that, you can easily combine the parts with '' | ||
+ | |||
+ | < | ||
+ | cat part1.ts part2.ts > combined.ts | ||
+ | </ | ||
+ | |||
+ | Finally, repair the timestamps with '' | ||
+ | |||
+ | < | ||
+ | ffmpeg -i combined.ts -c copy -map 0 repair.ts | ||
+ | </ | ||
+ | |||
+ | Place this file in the repair directory of your current event and follow the steps as described above. With this method, there is no need to use KDEnlive or Shotcut for cutting anymore. | ||
+ | |||
== Hints for repairing / manual cutting with KDEnlive | == Hints for repairing / manual cutting with KDEnlive | ||
Line 77: | Line 103: | ||
-map 0:a -c:a mp2 -b:a 192k -ac:a 1 -ar:a 48000 \ | -map 0:a -c:a mp2 -b:a 192k -ac:a 1 -ar:a 48000 \ | ||
-f mpegts output.ts | -f mpegts output.ts | ||
+ | </ | ||
+ | |||
+ | === Convert intro without audio to ts | ||
+ | Input can be any file that can be read by ffmpeg. The intro needs a audio track in order to be compatible with the tracker pipeline. | ||
+ | |||
+ | < | ||
+ | ffmpeg -loop 1 -i 123.mp4 -ar 48000 -ac 1 -f s16le -i /dev/zero -ar 48000 -ac 1 -f s16le -i /dev/zero -ar 48000 -ac 1 -f s16le -i /dev/zero -ar 48000 -ac 1 -f s16le -i / | ||
</ | </ | ||
Line 86: | Line 119: | ||
-f mpegts / | -f mpegts / | ||
</ | </ | ||
+ | |||
+ | === source replacement with remapped audio streams + av-delay | ||
+ | |||
+ | < | ||
+ | ffmpeg -i / | ||
+ | </ | ||
+ | |||
+ | ==Audio Stream Reihenfolge reparieren via Jobfile.xml | ||
+ | Issue: Audio Spuren vertauscht, Translation + Main in falscher Reihenfolge | ||
+ | Ausgangslagen: | ||
+ | - Sich selbst als encoding worker zuweisen | ||
+ | - Track nach Wiki Anleitung schneiden | ||
+ | - Warten bis Recording auf finalized steht | ||
+ | - TS- HD master mp4 aufrufen | ||
+ | - Job file runterladen | ||
+ | - Audio spuren in encoding teil vom Jobfile richtig einsortieren | ||
+ | - z.B. Audiospuren 1 und 2 sind vertauscht < | ||
+ | -map ' | ||
+ | -map ' | ||
+ | - Schnittmarken + AV delay macht der Tracker automatisch | ||
+ | - auf ein einem worker anmelden und auf voc user wechseln | ||
+ | - Angepasste encoding ffmpeg Zeile aus dem Jobfile ausführen | ||
+ | - | ||
+ | |||
+ | |||
== Audiospur bearbeiten | == Audiospur bearbeiten |