Linux Tools

Shortcuts 🐧

Ubuntu

Gifs

Redimensionar Gifs:

-convert input.gif -coalesce temp.gif ; convert -size 1200x1200 temp.gif -resize 640x480 resized.gif

Comprimir Gifs

Audio πŸ”Š

Converte midi to mp3

Video πŸŽ₯

Split videos:

avconv -i input.avi -vcodec copy -acodec copy -ss 00:00:00 -t 00:30:00 output1.avi (NAOTESTADO)
  ffmpeg -ss 0 -t 100 -i source.m4v -vcodec copy -acodec copy part1.m4v (DEU PAU)
  ffmpeg -i input.avi -vcodec copy -acodec copy -ss 00:00:00 -t 00:30:00 output1.avi (NAO TESTADO)
  ffmpeg -ss 720 -i Filmes\ Caseiros\ 4-2.m4v -t 18 -vcodec copy -acodec copy output.mkv
  avconv -ss seginicio -i source.mpg -t segduracao -vcodec copy -acodec copy part1.mpg
  

Join videos:

avconv -i "concat:part1.mpg|part1.2.mpg" -c copy full.mpg
  

PDFs πŸ“

Compactar \ Comprimir \ Compress PDFs

  1. ps2pdf arquivo.pdf - horrivel e nao compacta muito
  2. gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf - fica bem ruim as imagens, mas diminui em atΓ© 100x o tamanho
  3. gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.6 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf "input.pdf" (not tested)
  4. qpdf --linearize input.pdf output.pdf
  5. cpdf ebook test.pdf compressed.pdf cpdf Site
  6. gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dDownsampleColorImages=true -dColorImageResolution=150 -dNOPAUSE -dBATCH -sOutputFile=output.pdf input.pdf (not tested)
  7. ps2pdf -dPDFSETTINGS=/ebook BiggerPdf SmallerPDF (not tested)

    Remove pages from pdf

  8. pdftk
  9. pdfmod]

    Converte PDFs

  10. convert input.pdf output.jpg

All credits to: ME

Comment Form is loading comments...