Jakubikovi
  • Domů
  • Emoncms App
  • Emoncms App2
  • Arduino
  • Linux
  • Debian
  • Ubuntu
  • OpenBSD
  • Home Assistant
  • MySensors
  • Raspberry Pi
  • Synology
  • Windows
  • Různé
  • Libreelec

Úpravy PDF v linuxu

Základní údaje
Zveřejněno: 17. listopad 2024

PDFTK - rozdělování a slučování pdf souborů

pdftk input_file.pdf cat 25-26 output_file_output.pdf

jak stáhnout soukromá videa z Vimeo

Základní údaje
Zveřejněno: 24. kvě 2024

Návod, jak stáhnout soukromá videa Vimeo:

  1. Klepněte pravým tlačítkem myši kamkoli na stránku a vyberte „Prozkoumat“
  2. Vyberte kartu „Zdroje“
  3. Znovu načtěte stránku
  4. Vyhledejte 9 místný očíslovaný soubor
  5. Rozbalte „player.vimeo.com“
  6. Rozbalte složku „video“
  7. Klikněte pravým tlačítkem na odkaz a vyberte „Uložit jako…“
  8. Uložte soubor jako soubor „txt“
  9. Stisknutím Ctrl+F (Win) otevřete vyhledávací pole
  10. Vyhledejte požadovanou kvalitu videa (např. 1080p)
  11. Zkopírujte adresu URL končící „mp4“ nebo „m3u8“
  12. Vložte jej do youtube-dl-gui.exe
  13. Dejte stáhnout

Insiporávno: https://viddownmadness.com/download-private-vimeo-videos/

FFmpeg convert audios

Základní údaje
Zveřejněno: 17. kvě 2024

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
 

Insert ID3 Tag metadata with cover image to MP3:

for f in *.mp3; do ffmpeg -y -i "$f" -i cover.jpg -map 0:0 -map 1:0 -c copy -id3v2_version 3 -metadata:s:v title="Album cover" -metadata:s:v comment="Cover (front)" -metadata title="${f%.*}" -metadata album="Albumi" -metadata artist="Artists" -metadata genre="Audiobook" -metadata date="2008" -metadata publisher="Publisher" "output/${f%.*}.mp3"; done
 

Read all metadata from MP3 file:

 ffmpeg -i file.mp3 -f ffmetadata

FFmpeg create a silence audio track

Základní údaje
Zveřejněno: 17. kvě 2024

Create silence audio track, 44.1 kHz, stere, 60 sec:

ffmpeg -f lavfi -i anullsrc=r=44100:cl=stereo -t 60 -q:a 9 -acodec libmp3lame silence.mp3

FFmpeg convert videos without quality loss

Základní údaje
Zveřejněno: 4. prosinec 2021

Merge video + audio and convert to 8-bit H.264 with deinterlace

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.

10-bit/12-bit HEVC to 8-bit H.264

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.

10-bit/12-bit HEVC to 10-bit H.264

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.

10-bit/12-bit HEVC to 8-bit HEVC

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.

12-bit HEVC to 10-bit HEVC

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.

GoPro 4K MPEG4 to FullHD 50p MPEG4 cca 1600-2000 kbps

ffmpeg -i GX010183.MP4 -vf scale=1920:1080 -crf 35 -c:a copy GX010183_fullHD.MP4

Firefox Chrome unsafe port

Základní údaje
Zveřejněno: 3. prosinec 2021

Mozilla Firefox:

  • In the address bar, type about:config and press Enter to access the configuration page.
  • Use the search bar above to look for the following configuration parameter: network.security.ports.banned.override
    • If the parameter already exist: double-click it, then add a comma to the end of its value followed by the port number you need to allow (no spaces) and click OK. If you need to override multiple ports, separate each number with a comma (no spaces).
    • If the parameter does not exist: create it by right-clicking anywhere on the page, choosing New > String and typing (or copy-pasting) the above name, then type in the port number you need to allow (no spaces) and click OK. If you need to override multiple ports, separate each number with a comma (no spaces).

network.security.ports.banned.override    1-65535

 

Chrome:

Right click on your chrome icon that you use to launch chrome, and click properties.

To allow ports 81,84 and 87, change it to:

C:\Users\dougt\AppData\Local\Google\Chrome\Application\chrome.exe --explicitly-allowed-ports=81,84,87

  1. ExifTool

Strana 1 z 2

  • 1
  • 2