ffmpeg
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ffmpeg [2014/02/11 02:54] – javapimp | ffmpeg [2023/08/18 18:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 47: | Line 47: | ||
for /r %%a in (%src%) do (ffmpeg -i " | for /r %%a in (%src%) do (ffmpeg -i " | ||
+ | </ | ||
+ | |||
+ | ====== Concatenate two mp4 files ====== | ||
+ | |||
+ | The videos need to have the same aspects to be joined without re-encoding (same size, bitrate, etc.) | ||
+ | |||
+ | < | ||
+ | ffmpeg -i first.mp4 -c copy -bsf h264_mp4toannexb first.ts | ||
+ | ffmpeg -i second.mp4 -c copy -bsf h264_mp4toannexb second.ts | ||
+ | ffmpeg -i " | ||
+ | </ | ||
+ | |||
+ | ====== Decent Blu-Ray Compression ====== | ||
+ | |||
+ | * Determine the size of the black bars on top and bottom and crop them. | ||
+ | * Play with the compression '' | ||
+ | * Ranges from 0 (lossless) to 51 (terrible) | ||
+ | * 18-28 is usually pretty good. Default is 23. | ||
+ | * The smaller the number the better quality but bigger output file. | ||
+ | * Crop filter: '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * Handbrake can be used as an easy way to get these values | ||
+ | |||
+ | < | ||
+ | ffmpeg -i input.mkv -filter:v " | ||
</ | </ | ||
ffmpeg.1392087298.txt.gz · Last modified: 2023/08/18 18:15 (external edit)