title: Video Processing breadcrumbs:
For general notes and streaming video notes, see the Video Streaming page.
Useful e.g. to recombine video files for recorders which automatically splits the recording.
ffmpeg -f concat -safe 0 -i <(for f in ./*.MP4; do echo "file '$PWD/$f'"; done) -c copy output.MP4
.MP4
.Useful e.g. to change the framerate of a video-only timelapse video.
See: Speeding up/slowing down video (FFmpeg)
ffmpeg -i input.mp4 -map 0:v -c:v copy -bsf:v h264_mp4toannexb raw.h264
ffmpeg -i input.mp4 -map 0:v -c:v copy -bsf:v hevc_mp4toannexb raw.h265
ffmpeg -fflags +genpts -r <fps> -i raw.h264 -c:v copy output.mp4
(for desired frame rate fps
){% include footer.md %}