Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg -i 1.mp4 -an -c:v libvpx -ss 00:00:00.000 -t 00:00:00.000 -sn -vf scale=900:-1 -lag-in-frames 0 -auto-alt-ref 1 -quality best -qcomp .5 -slices 8 -crf 10 -b:v 00k -bufsize 00 -f webm -pass 1 NULL &&
- ffmpeg -i 1.mp4 -an -c:v libvpx -ss 00:00:00.000 -t 00:00:00.000 -sn -vf scale=900:-1 -lag-in-frames 0 -auto-alt-ref 1 -quality best -qcomp .5 -slices 8 -crf 10 -b:v 00k -bufsize 00 -pass 2 output.webm
- ffmpeg -y -ss 0 -t 6.5 -i cut.mp4 -vf fps=24,scale=500:-1:flags=lanczos,palettegen palette.png &&
- ffmpeg -ss 0 -t 6.5 -i cut.mp4 -i palette.png -filter_complex "fps=24,scale=500:-1:flags=lanczos[x];[x][1:v]paletteuse" output1.gif
- ffmpeg -i 1.mp4 -ss 00:00:00.0000 -t 00:00:00.000 -async 1 -c copy cut1.mp4
- remove audio\\\\ -an
- specify codec vp8\\\\\\ -c:v libvpx
- start time and duration\\\\\ -ss 00:00:00.000 -t 00:00:30.000
- use 2pass frame ahead check, unlimited\\\\ -auto-alt-ref 1 -lag-in-frames
- slices\\\\\ -slices 8
- disable subtitles\\\\\ -sn
- scale width height\\\\\ -vf scale=-1:-1
- insert metadata\\\\\ -metadata title="test"
- 2 lines at once
- VBR\\\\ -b:v 765k -bufsize 1000 -crf 10
- max size 3
- bitrate = total MB * 8192 \ seconds
- maxrate/bufsize = frequency of checks. Keep this frequency between 1 and 2 seconds as a rule of thumb
- CROPPING ////// -filter:v "crop=A:B:C:D"
- A = width
- B = height
- C = starting pixels from left
- D = starting pixels from top
- SPEED
- ffmpeg -i input.webm -c:v libvpx -filter:v "setpts=0.5*PTS" newoutput.webm
- setpts = fractions for faster, whole and above for slower (0.5 is twice as fast)
- Screenscapture
- ffmpeg -video_size 1366x768 -framerate 25 -f x11grab -i :0.0+00,00 output.mp4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement