---
title: "Discussion on \"Using CLI tools to manage audio, video, images and PDF files\" | Hashnode"
description: "Discussion on \"Using CLI tools to manage audio, video, images and PDF files\". a collection of useful commands using FFmpeg, Gifsicle, GhostScript, mozjpeg, pngquant, Imagemagick, PDFtk, OCRmyPDF and svgo for the win!"
url: "https://hashnode.com/posts/multimedia-cli-tools/63a0ab944a4f7c1536b52262"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using CLI tools to manage audio, video, images and PDF files](https://blog.victor.co.zm/multimedia-cli-tools?utm_source=hashnode&utm_medium=feed)

a collection of useful commands using FFmpeg, Gifsicle, GhostScript, mozjpeg, pngquant, Imagemagick, PDFtk, OCRmyPDF and svgo for the win!

Dec 19, 2022 · 12 min read · blog.victor.co.zm  
Read the article

-   [#cli](https://hashnode.com/tag/cli)
-   [#terminal](https://hashnode.com/tag/terminal)
-   [#productivity](https://hashnode.com/tag/productivity)
-   [#multimedia](https://hashnode.com/tag/multimedia)
-   [#opensource](https://hashnode.com/tag/opensource)

## Written by

[Victor Miti](https://hashnode.com/@vix)

@vix · Oxfordshire, UK

  
[View profile](https://hashnode.com/@vix)

an engineer and avid pythonista who is passionate about technology and automation

Building, breaking and fixing things. Learning something new everyday.

## Responses 1

Markdown supported · ⌘↵ to post

[kimtai ferragamo](https://hashnode.com/@iatmik)

[Sep 7, 2023](https://hashnode.com/posts/multimedia-cli-tools/63a0ab944a4f7c1536b52262/comment/64f98a15c035cd988c324521)

Hi, do you have a script to convert a pdf or long news article to audio?

[Victor Miti](https://hashnode.com/@vix)

[Oct 9, 2023](https://hashnode.com/posts/multimedia-cli-tools/63a0ab944a4f7c1536b52262/comment/64f98a15c035cd988c324521#reply-652474e926120dd7075b08b3)

Hi [kimtai ferragamo](https://hashnode.com/@iatmik), you could use [pdftotext](https://www.xpdfreader.com/pdftotext-man.html) to get text from a pdf, then use a text-to-speech tool such as [e-speak](https://itsfoss.com/espeak-text-speech-linux/) (though the results from e-speak aren't very good. I'd recommend using professional tools such as [AWS Polly](https://aws.amazon.com/polly/), which is scriptable. I used it in [this project](https://github.com/engineervix/zed-news), which I wrote about [here](https://importthis.tech/building-zed-news-an-automated-news-podcast)).
