This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ffmpeg [2020/07/08 11:20] sdbs [How?] |
ffmpeg [2021/12/11 23:21] sdbs improve commando |
||
---|---|---|---|
Line 16: | Line 16: | ||
==== Basic conversions ==== | ==== Basic conversions ==== | ||
- | '' | + | '' |
<code bash> | <code bash> | ||
Line 60: | Line 60: | ||
<code bash> | <code bash> | ||
- | ls *.jpg | xargs -I xyz echo "file ' | + | ls -1 | grep 'jpg$' |
</ | </ | ||
Line 67: | Line 67: | ||
</ | </ | ||
- | It's up to preference, all end up with a list of all JPGs in current directory, in '' | + | It's up to preference, all end up with a list of all JPGs in current directory, in '' |
== 2. list to video == | == 2. list to video == | ||
Line 129: | Line 129: | ||
ffmpeg -i choppy_video.mp4 -vf mpdecimate, | ffmpeg -i choppy_video.mp4 -vf mpdecimate, | ||
</ | </ | ||
+ | |||
+ | ffmpeg - skipping - remove duplicate frames after effects | ||
+ | |||
+ | === what is `N/ | ||
+ | |||
+ | * except the use of `FRAME_RATE` variable the `N/ | ||
+ | * | ||
+ | < | ||
+ | > Set fixed rate of 25 frames per second: | ||
+ | > `setpts=N/ | ||
+ | </ | ||
+ | |||
+ | * the math behind it perfectly explained in What is video timescale, timebase, or timestamp in ffmpeg? | ||
+ | | ||
==== mp4 compatibility ==== | ==== mp4 compatibility ==== | ||
Line 151: | Line 165: | ||
No silver bullet, you'll just have to try different things for different devices. A database of crappy players and appropriate '' | No silver bullet, you'll just have to try different things for different devices. A database of crappy players and appropriate '' | ||
+ | |||
+ | |||
+ | ==== random ==== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ===== Other cheatsheets ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// |