Skip to content

Commit

Permalink
Added audio bitrate parameter unit.
Browse files Browse the repository at this point in the history
  • Loading branch information
hirve authored Dec 10, 2024
1 parent 11628d0 commit 87edcaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-am-radio/bin/stream-radio
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ffmpeg -v 0 -i $1 -f wav -ar 8000 -ac 1 -acodec pcm_u8 - | pv -q > $DIR/pipes/ma
ffmpeg -v 0 -i $2 -f wav -ar 8000 -ac 1 -acodec pcm_u8 - | pv -q > $DIR/pipes/bg-${3}am &

$DIR/filter-radio $DIR/pipes/main-${3}am $DIR/pipes/bg-${3}am $3 $4 \
| ffmpeg -v 0 -f u8 -ar 8000 -ac 1 -i - -f ogg -b:a 32 -q:a 3 -content_type "audio/ogg" \
| ffmpeg -v 0 -f u8 -ar 8000 -ac 1 -i - -f ogg -b:a 32k -q:a 3 -content_type "audio/ogg" \
-ice_name "$3 AM" -ice_description "$5" -ice_url "/${3}am.ogg" -ice_genre "AM Radio" \
icecast://source:[email protected]:8092/"$3"am.ogg

0 comments on commit 87edcaa

Please sign in to comment.