This is the repository related to this article: http://blog.michaelperrin.fr/2018/08/14/create-a-podcast-with-symfony-and-vlc/
Use of VLC
Dockerfile was made to run VLC in command line (automatically avoids to be run as root, a thing that VLC doesn't like, at all).
Example (save stream of KCRW for 10 seconds, and save it to KCRW.mp3 file in the audio directory):
docker-compose run --rm vlc "http://media.kcrw.com/pls/kcrwsimulcast.pls" --sout file/mp3:/audio/KCRW.mp3 --run-time=10 --stop-time=10 vlc://quit