Super 8 Filmscanner


First pass uses the vidstabdetect filter to generate relative-translation and rotation-transform information

ffmpeg -i VID_20180208_142855.mp4 -vf vidstabdetect=stepsize=5:shakiness=8:accuracy=15:result=transform_vectors.trf -f null -

Second pass uses the generated transform information and encodes the stabilized movie

ffmpeg -i input.mp4 -vf vidstabtransform=input=transform_vectors.trf:zoom=2:smoothing=12,unsharp=5:5:0.8:3:3:0.4 -c:v libx265  -preset slow -crf 23 -acodec copy smooth_output.mp4

Stacking two videos next to each other

ffmpeg -i input1.mp4 -i output2.mp4 -filter_complex vstack merged.mp4 #vertical stacking
ffmpeg -i input1.mp4 -i output2.mp4 -filter_complex hstack merged.mp4 #horizontal stacking

Split-screen video (left side from first, right side from second video

ffmpeg -i input1.mp4 -i input2.mp4 -filter_complex "[0:v]crop=iw/2:ih:0:0[left];  [1:v]crop=iw/2:ih:ow:0[right]; [left][right]hstack" merged.mp4

Rotate videos without re-encoding

ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate=90 output.mp4

whatsapp: video format not supported

ffmpeg -i broken.mp4 -c:v libx264 -profile:v baseline -level 3.0 -pix_fmt yuv420p working.mp4

ffmpeg -> swf

public_v6/super8.txt · Zuletzt geändert: 2018/05/03 16:21 von admin