I wrote an streaming server with libVLC. Everything is working perfekt. I use this parameters for the streaming
#transcode{vcodec=h264}: rtp{mux=ts,dst=239.255.255.239,sdp=sap,name=test"
But I also want to reduze the filesize of the streamed audio file, let's say to 1/2 of the original file size. Is there any way I can solve this with an transcode parameter or with another way ?
One of the VLC examples includes these example transcode strings:
MP4 High:
#transcode{vcodec=h264,venc=x264{cfr=16},scale=1,acodec=mp4a,ab=160,channels=2,samplerate=44100}
MP4 Low:
#transcode{vcodec=h264,venc=x264{cfr=40},scale=1,acodec=mp4a,ab=96,channels=2,samplerate=44100}
OGG High:
#transcode{vcodec=theo,venc=theora{quality=9},scale=1,acodec=vorb,ab=160,channels=2,samplerate=44100}
OGG Low:
#transcode{vcodec=theo,venc=theora{quality=4},scale=1,acodec=vorb,ab=96,channels=2,samplerate=44100}
WEBM High
#transcode{vcodec=VP80,vb=2000,scale=1,acodec=vorb,ab=160,channels=2,samplerate=44100}
WEBM Low
#transcode{vcodec=VP80,vb=1000,scale=1,acodec=vorb,ab=96,channels=2,samplerate=44100}
Changing the various parameters, like reducing bit-rates, will reduce the size of your media.