Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
c3tracker:repair [2019/07/03 17:21] – [Cur the last second off a recording] bjoern | c3tracker:repair [2019/10/26 12:11] – andi | ||
---|---|---|---|
Line 21: | Line 21: | ||
Zum Reparieren der Timestamps wird das vorhandene, aber " | Zum Reparieren der Timestamps wird das vorhandene, aber " | ||
- | ffmpeg -i / | + | ffmpeg -i /video/fuse/ |
Anschließend mit dem Reparaturprozess (nächster Abschnitt) fortfahren. | Anschließend mit dem Reparaturprozess (nächster Abschnitt) fortfahren. | ||
Line 34: | Line 34: | ||
Ab hier läuft dann die Pipeline ganz normal weiter. | Ab hier läuft dann die Pipeline ganz normal weiter. | ||
+ | |||
+ | === Camera backup Audio stereo to 2x stereo | ||
+ | |||
+ | Soll der Kameraton benutzt werden liegt dieser meist als L: original R: translation vor. Das muss im repair.ts auf 2 stereo streams geaendert werden das sollte mit dieser zeile funktionieren: | ||
+ | < | ||
+ | ffmpeg -i repair_rl.ts -filter_complex " | ||
+ | </ | ||
== Hints for repairing / manual cutting with KDEnlive | == Hints for repairing / manual cutting with KDEnlive | ||
Line 90: | Line 97: | ||
</ | </ | ||
+ | Weitere Audiospuren als nicht default markieren: | ||
+ | < | ||
+ | ffmpeg -i 10223-hd.mp4.orig -i / | ||
+ | </ | ||
+ | |||
+ | Manuelles AV/Delay mit ffmpeg von 200ms korrigieren: | ||
+ | < | ||
+ | ffmpeg -i 10397-hd-async.mp4 -itsoffset 0.200 -i 10397-hd-async.mp4 -c copy -map 0:v:0 -map 0:v:1 -map 1:a:0 -map_metadata 0 10397-hd.mp4 | ||
+ | </ | ||
== Copyright aus audio mit hilfe von YouTube entfernen | == Copyright aus audio mit hilfe von YouTube entfernen | ||
Line 134: | Line 150: | ||
Now place a '' | Now place a '' | ||
- | == Cur the last second off a recording | + | == Cut the last second off a recording |
When the outro has additional frames (bacause of a non empty output folder after a --debug run) the files can be shortened by downloading them from media and using the fowllowing script. | When the outro has additional frames (bacause of a non empty output folder after a --debug run) the files can be shortened by downloading them from media and using the fowllowing script. | ||
Line 141: | Line 157: | ||
#!/bin/bash | #!/bin/bash | ||
- | for video in *.mp4; do | + | EXT=" |
+ | |||
+ | for video in *${EXT}; do | ||
echo " | echo " | ||
DURATION=$(ffprobe -v quiet -print_format json -show_format $video | jq ' | DURATION=$(ffprobe -v quiet -print_format json -show_format $video | jq ' | ||
- | DURATIONX2=$(ffprobe -v quiet -print_format json -show_format $video | jq ' | + | DURATIONX2=$(ffprobe -v quiet -print_format json -show_format $video | jq ' |
- | VIDEONAME=$(basename $video | + | VIDEONAME=$(basename $video |
- | REPAIRNAME=repair/ | + | REPAIRNAME=repair/ |
echo "OLD: $DURATION" | echo "OLD: $DURATION" | ||
echo "NEW: ${DURATIONX2}" | echo "NEW: ${DURATIONX2}" | ||
- | echo ffmpeg -hide_banner -t $DURATIONX2 -i ${VIDEONAME}.mp4 -map 0 -c copy ${REPAIRNAME} | + | echo ffmpeg -hide_banner -t $DURATIONX2 -i ${VIDEONAME}${EXT} |
- | ffmpeg -hide_banner -t $DURATIONX2 -i ${VIDEONAME}.mp4 -map 0 -c copy ${REPAIRNAME} | + | ffmpeg -hide_banner -t $DURATIONX2 -i ${VIDEONAME}${EXT} |
done | done | ||
</ | </ |