Command-line utility for converting directories of audio/video format to run on a raspberry pi.
bash
transcode ~/Videos/Family ~/Videos/Vacation
* Creates directory: ~/Videos - Converted/
* Converts video/audio files in ~/Videos/Family
to ~/Videos - Converted/Family
* Converts video/audio files in ~/Videos/Vacation
to ~/Videos - Converted/Vacation
Currently the only target format is hardcoded and is:
| Container | Audio | Video | |-----------|-----------|-----------| |MKV | Opus 192k | h.264 4.1 |
I ran into the problem of having many video files of various formats that needed to run on a raspberry pi. So i needed a script to convert all of them for playback in a format that raspberry pi can run.
You could of course just loop through all the files. Though i found the following issues:
Problems: * There is no ETA on when the script will finish. * Files would be scattered in the file system.
So i decided i wanted to write a more specific program for the job.