######################################################### # # WebFeedEncoder encoder properties file # # You should generally only need to specify where SageTV # and VLC are installed. # # You may need to change the encoder port if it clashes # with another application. # # Linux and Mac users will definitely need to change the # transcode and video build commands. When you have got # this working please send me the solution and I will # place it in this file for the benefit of all. # ######################################################### # # The directory where SageTV is installed # # Note this is used only to get to the ChannelLogos directory. If your using # Vista you may find that channels logos is in the "Virtual Store" and you will # need a different path e.g. # # C:\\Users\\\\AppData\\Local\\VirtualStore\\Program Files\\SageTV # sagetv.dir=/opt/sagetv/server # # The directory where VLC is installed # vlc.dir=/usr/share/vlc # # The network encoder port that SageTV will communicate with # port=5000 # # The period after which the network encoder will assume that SageTV has gone # timeout=120000 # # Channel logo target size in video stream # icon.width=360 icon.height=288 # # The video size - reducing can improve performance # video.width=720 video.height=480 # # VLM config to convert a radio stream to include video # streamAsVideoCommand=\"streamAsVideoCommand\" \"_VLCDIR_/cvlc\" fake:// --fake-file=\"_CHANNEL_.jpg\" --fake-duration=9999999999 --input-slave=\"_SOURCE_\" --sout=\"#transcode{vcodec=mp2v,vb=4000,scale=1,acodec=mpga,ab=128,channels=2,sfilter=marq@nowplaying{marquee=' '}}:duplicate{dst=std{access=file,mux=ts,dst='_TARGET_'}}\" --sout-transcode-audio-sync -I rc --rc-host=localhost:_PORT_ --rc-quiet # # and if logging is needed: # --extraintf=logger --logfile=\"_LOGFILE_\" # # This is the port to send the quit message to. # streamAsVideoCommandPort=5001 # # With asx streams I cannot work out how to get input slave to merge the video and audio # The VLC forums says the two sources cannot be synced because of lack of timestamps # and we end up with just video. Seems to work though if I save as MP3 first. Shame # it cannot all be done in one command. # saveToMp3Command=\"saveToMp3Command\" \"_VLCDIR_\\vlc.exe\" -I rc --rc-host=localhost:_PORT_ --rc-quiet "_SOURCE_" --sout="#transcode{acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=raw,dst='_TARGET_'}}" # # and if logging is needed: # --extraintf=logger --logfile=\"_LOGFILE_\" # # This is the port to send the quit message to. # saveToMp3CommandPort=5002 # # How big should the mp3 file be before we start combining it with video # mp3BufferSize=3000 # # The commands to send to VLC to insert meta data text into the video # nowplaying.command.text=@nowplaying marq-marquee # For pos 0=center, 1=left, 2=right, 4=top, 8=bottom, you can also use combinations of these values, eg 6 = top-right. nowplaying.command.position=@nowplaying marq-position 8 # For color 0=black, 16777215=white nowplaying.command.color=@nowplaying marq-color 16777215 # For size -1 (default) nowplaying.command.size=@nowplaying marq-size 30 # Text to append before nowplaying.prefix= # Text to append after nowplaying.suffix=$_$_ # How often to check for the track now playing nowplaying.refreshRate=10000 # How long to keep a track now playing message for. This ensures if we cannot update that it does not stay forever nowplaying.displayFor=300000 # # End of encoder properties #