Convert all wav in directory to MP3 VBR 190-250 kbps:
for f in *.wav; do ffmpeg -i "$f" -acodec libmp3lame -vn -ar 44100 -ac 2 -q:a 1 "${f%.*}.mp3"; done
Convert wav to FLAC:
ffmpeg -i $SOURCE -q:a flac -compression_level 2 $OUT.flac
PDFTK - rozdělování a slučování pdf souborů
pdftk input_file.pdf cat 25-26 output_file_output.pdf
Návod, jak stáhnout soukromá videa Vimeo:
Insiporávno: https://viddownmadness.com/download-private-vimeo-videos/
find . -name "*.flac" -exec bash -c 'D=$(dirname "{}"); B=$(basename "{}"); mkdir -p "/volume1/Download/MP3/$D/"; ffmpeg7 -hide_banner -n -i "{}" -sample_fmt s16p -ar 44100 -c:v copy -q:a 0 -map_metadata 0 -id3v2_version 3 "/volume1/Download/MP3/$D/${B%.*}.mp3" 2>> /volume1/Download/flac2mp3.txt' \;
LAME Bitrate Overview | |||
---|---|---|---|
lame option |
Average kbit/s | Bitrate range kbit/s | ffmpeg option |
-b 320 |
320 | 320 CBR (non VBR) example | -b:a 320k (NB this is 32KB/s, or its max) |
-V 0 |
245 | 220-260 | -q:a 0 (NB this is VBR from 220 to 260 KB/s) |
-V 1 |
225 | 190-250 | -q:a 1 |
-V 2 |
190 | 170-210 | -q:a 2 |
-V 3 |
175 | 150-195 | -q:a 3 |
-V 4 |
165 | 140-185 | -q:a 4 |
-V 5 |
130 | 120-150 | -q:a 5 |
-V 6 |
115 | 100-130 | -q:a 6 |
-V 7 |
100 | 80-120 | -q:a 7 |
-V 8 |
85 | 70-105 | -q:a 8 |
-V 9 |
65 | 45-85 | -q:a 9 |
for f in *.wav; do ffmpeg -i "$f" -acodec libmp3lame -vn -ar 44100 -ac 2 -q:a 1 "${f%.*}.mp3"; done
ffmpeg -i $SOURCE -q:a flac -compression_level 2 $OUT.flac
ffmpeg -i file.mp3 -f ffmetadata
ffmpeg -f lavfi -i anullsrc=r=44100:cl=stereo -t 60 -q:a 9 -acodec libmp3lame silence.mp3
ffmpeg -i Svatba_Petr_1.m2v -i Svatba_Petr_1.wav -c:v libx264 -crf 18 -vf "bwdif,format=yuv420p" -c:a aac D:\output3.mp4
Adjust the -crf
value to provide the desired level of quality. Add the -preset
option if you want to adjust encoding speed. See FFmpeg Wiki: H.264 for more info on -crf
and -preset
.
Uses the format filter to choose the yuv420p
pixel format to create 8-bit output.
bwdif
- deinterlace.ffmpeg -i input -map 0 -c:v libx264 -crf 18 -vf format=yuv420p -c:a copy output.mkv
-map 0
will include all streams (default stream selection only selects 1 stream per type). See FFmpeg Wiki: Map.
Adjust the -crf
value to provide the desired level of quality. Add the -preset
option if you want to adjust encoding speed. See FFmpeg Wiki: H.264 for more info on -crf
and -preset
.
Uses the format filter to choose the yuv420p
pixel format to create 8-bit output.
ffmpeg -i input -map 0 -c:v libx264 -crf 18 -c:a copy output.mkv
-map 0
will include all streams (default stream selection only selects 1 stream per type). See FFmpeg Wiki: Map.
Adjust the -crf
value to provide the desired level of quality. Add the -preset
option if you want to adjust encoding speed. See FFmpeg Wiki: H.264 for more info on -crf
and -preset
.
No need for the format filter in this case.
ffmpeg -i input -map 0 -c:v libx265 -crf 20 -vf format=yuv420p -c:a copy output.mkv
-map 0
will include all streams (default stream selection only selects 1 stream per type). See FFmpeg Wiki: Map.
Adjust the -crf
value to provide the desired level of quality. Add the -preset
option if you want to adjust encoding speed. See FFmpeg Wiki: HEVC / H.265 for more info on -crf
and -preset
.
Uses the format filter to choose the yuv420p
pixel format to create 8-bit output.
ffmpeg -i input -map 0 -c:v libx265 -crf 20 -vf format=yuv420p10le -c:a copy output.mkv
-map 0
will include all streams (default stream selection only selects 1 stream per type). See FFmpeg Wiki: Map.
Adjust the -crf
value to provide the desired level of quality. Add the -preset
option if you want to adjust encoding speed. See FFmpeg Wiki: HEVC / H.265 for more info on -crf
and -preset
.
Uses the format filter to choose the yuv420p10le
pixel format to create 10-bit output. Other 10-bit pixel formats supported by libx265 are yuv422p10le
& yuv444p10le
, but your player may not like these. See ffmpeg -h encoder=libx265
for additional supported pixel formats.
ffmpeg -i GX010183.MP4 -vf scale=1920:1080 -crf 35 -c:a copy GX010183_fullHD.MP4
Mozilla Firefox:
network.security.ports.banned.override 1-65535
Chrome:
Right click on your chrome icon that you use to launch chrome, and click properties.
C:\Users\dougt\AppData\Local\Google\Chrome\Application\chrome.exe --explicitly-allowed-ports=81,84,87