ffmpeg -i muxed.mp4 -ss <start> -to <end> -c copy id-<hd>-orig.mp4
, where <start>
and <end>
are timestamps and <id> is the talk's id in the tracker. Check the final length (ffmpeg output or run ffprobe). Note that this method can only split at keyfames, so the final result might be a bit off. If that's not tolerable, you will have to do a reencode (instead of -c copy
, use -c:a copy -c:v libx264 -bufsize:0 8192k -minrate:0 100k -maxrate:0 2000k -crf:0 18 -profile:0 main
).<id>-hd-tl.m4a
. (This can also be done with pure ffmpeg if you feel confident enough)ffmpeg -i <hd>-orig.mp4 -i <id>-hd-tl.m4a -c copy -map 0:v -map 0:a -map 1:a -shortest <id>-hd.mp4
releasing.c3voc.de:/video/tmp/divoc_ptt/repair
Record.SourceReplacement
property to <id>-hd.mp4
Do not apply any leveling or ducking by yourself. The encoding process will take care of that and apply leveling for both languages as well as ducking for the translation.