Skip to content

Instantly share code, notes, and snippets.

@jadsongmatos
Created June 10, 2025 00:49
Show Gist options
  • Save jadsongmatos/10bdbbda2fbcf09592a9b991605d349f to your computer and use it in GitHub Desktop.
Save jadsongmatos/10bdbbda2fbcf09592a9b991605d349f to your computer and use it in GitHub Desktop.
version: '3'
services:
stream-recorder:
image: linuxserver/ffmpeg
container_name: icecast_recorder
volumes:
- ./recordings:/config
entrypoint: /bin/sh -c "ionice -c 3 nice -n 19 ffmpeg \
-reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 5 \
-i https://stm01.virtualcast.com.br:8332/ararangua \
-c copy -f segment -segment_time 3600 -strftime 1 /config/output_%Y-%m-%d_%H-%M-%S.aac"
restart: unless-stopped
@jadsongmatos
Copy link
Author

jadsongmatos commented Jun 10, 2025

version: '3'
services:
  stream-recorder:
    image: linuxserver/ffmpeg
    container_name: icecast_recorder
    volumes:
      - ./recordings:/config
    entrypoint: /bin/sh -c "ionice -c 3 nice -n 19 ffmpeg \
      -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 5 \
      -i https://stm01.virtualcast.com.br:8332/ararangua  \
      -af \"aresample=16000\" \
      -c flac -compression_level 12 \
      -f segment -segment_time 3600 -strftime 1 /config/output_%Y-%m-%d_%H-%M-%S.flac"
    restart: unless-stopped

FLAC deixa a gravação maiores que somente copiar AAC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment