Transcoding icecast streams with vlc from stereo mp3 to stereo ogg or mono mp3


cvlc -d "http://ADDRESS/radio.mp3" ':sout=#transcode{acodec=vorbis,ab=128,channels=2,samplerate=41000}:duplicate{dst=std{access=shout,mux=ogg,dst=source:PASSWORD@ADDRESS:PORT/radio.ogg}}' --no-sout-shout-mp3 --sout-shout-quality=100 --sout-shout-channels=2 --sout-shout-name="restream" --sout-shout-description="restreaming" --sout-shout-url="http://YOURSITE" --sout-shout-genre="GENRE" --loop


cvlc -d "http://ADDRESS/radio.mp3" ':sout=#transcode{acodec=mp3,ab=64,channels=1}:duplicate{dst=std{access=shout,mux=raw,dst=source:PASSWORD@ADDRESS:PORT/radio-mono.mp3}}' --sout-shout-mp3 --sout-shout-name="restream" --sout-shout-description="restreaming" --sout-shout-url="http://YOURSITE" --sout-shout-genre="GENRE" --loop

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s