Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


HPR Comments


Whiskeyjack says: Reply to candycanearter07 on HPR4659

RE: hpr4659::2026-06-11 Command Line Fun - Recording a show by Keviefrom the series Podcasting HowTo.
00:13:19 Listen in ogg, opus, or mp3 format.
When concatenating audio files using FFMPEG, you can create the text file listing the audio files with the following command.

printf "file '%s'\n" *.flac > podseglist.txt
ffmpeg -f concat -safe 0 -i podseglist.txt fullpod.flac

If you are using Sox, you can concatenate the files using the following:

sox *.flac fullpod.flac

I covered concatenating audio files using FFMPEG in HPR4608 in my series on Simple Podcasting and these examples are in the show notes as reference for anyone who is interested.

The FFMPEG list file is probably useful for cases where you want to order the files manually rather than using shell globbing order.

(If there turns out to be a double post from me on this subject, the electric power went out just as I was attempting to send it the first time so I didn't think the first one went through.)

candycanearter07 says: ffmpeg concatenation

RE: hpr4659::2026-06-11 Command Line Fun - Recording a show by Keviefrom the series Podcasting HowTo.
00:13:19 Listen in ogg, opus, or mp3 format.
Concatenation is frustratingly confusing in ffmpeg, but according to the wiki https://trac.ffmpeg.org/wiki/Concatenate you can just use

ffmpeg -f concat -i listoffilenames.txt output.flac

for some reason it forces you to use a file thats a list of filenames instead of being able to use a glob, but it works pretty ok

Mastodon Comments



More Information...


Copyright Information

Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.

The HPR Website Design is released to the Public Domain.