Stig Sørensen wrote:
> Kunne jeg få dig til at poste din freevo conf filer?
> Hvilken kerne bruger du? Precompilet eller?
neden for er min local_conf.py. Jeg bruger Mandrake 10.2, og precompiled
freevo 1.5.3, og har kun lavet ændringer for at kunne se streamtv
(ændringer i mplayer.py til håndtering af rtsp). Jeg bruger ikke længere
tvkort, hvorfor sektionen omkring IVTV måske ikke viker.
/A
------------
DEBUG=1
CHILDAPP_DEBUG = 1
CONFIG_VERSION = 5.15
MAX_VOLUME = 60
DEFAULT_VOLUME = 40
START_FULLSCREEN_X = 0
HIDE_UNUSABLE_DISCS = 1
OVERLAY_DIR = os.path.join(FREEVO_CACHEDIR, 'vfs')
PLAYLIST_SUFFIX = [ 'm3u' , 'pls']
TV_SETTINGS = 'pal television europe-west /dev/video0'
TV_DRIVER = 'ivtv'
TV_DEVICE = '/dev/video0'
TV_INPUT = 4
plugin.activate('idlebar')
plugin.activate('idlebar.tv', level=20)
plugin.activate('idlebar.weather', level=30, args=('LFPG',))
plugin.activate('idlebar.clock', level=50)
plugin.activate('idlebar.cdstatus', level=20)
plugin.activate('idlebar.holidays', level=20)
plugin.activate('idlebar.volume', level=0)
plugin.activate('tv.timeshift');
plugin.activate('audio.coversearch')
plugin.activate('audio.cdbackup')
plugin.remove('mixer')
plugin.activate('ossmixer')
plugin.activate('video.details')
plugin.activate('video.imdb')
plugin.activate('usb')
plugin.activate('image.usbstorage', args=('USB','/mnt/removable'))
plugin.activate('audio.usbstorage', args=('USB','/mnt/removable'))
plugin.activate('video.usbstorage', args=('USB','/mnt/removable'))
plugin.remove('tiny_osd')
plugin.activate('tiny_xosd')
DIRECTORY_SORT_BY_DATE = 2
TV_RECORD_DIR = '/local/recordings'
DIRECTORY_REVERSE_SORT = 0
DIRECTORY_USE_MEDIAID_TAG_NAMES = 1
VIDEO_ITEMS = [ ('Film', '/local/recordings') ]
VIDEO_MPLAYER_SUFFIX = [ 'avi', 'mpg', 'mpeg', 'wmv', 'bin', 'rm',
'divx', 'ogm', 'vob', 'asf', 'm2v', 'm2p',
'mp4', 'viv', 'nuv', 'mov', 'iso',
'nsv', 'mkv' ]
VIDEO_PREFERED_PLAYER = 'mplayer'
VIDEO_ONLY_SCAN_DATADIR = 1
AUDIO_ITEMS = [ ('Audio', 'Documents/Audio'), '/local/webradio.fxd' ]
AUDIO_SUFFIX = [ 'mp3', 'ogg', 'wav','m4a', 'wma', 'aac', 'flac',
'mka' ]
AUDIO_PREFERED_PLAYER = 'mplayer'
AUDIO_BACKUP_DIR = 'Documents/Audio'
CD_RIP_PN_PREF= '%(genre)s/%(artist)s/%(album)s/%(song)s'
CDPAR_CMD = 'cdparanoia'
OGGENC_CMD ='oggenc'
CD_RIP_OGG_OPTS = ' '
IMAGE_ITEMS = [ ('Images', 'Documents/Images') ]
IMAGE_SUFFIX = [ 'jpg','gif','png', 'jpeg','bmp','tiff','psd' ]
IMAGEVIEWER_BLEND_MODE = -1
GAMES_NICE = -20
GAMES_MAME_CACHE = '%s/romlist-%s.pickled' % (FREEVO_CACHEDIR, os.getuid())
OSD_EXTRA_FONT_PATH = [ '/usr/X11R6/lib/X11/fonts/TTF/' ]
LIRCRC = '/etc/freevo/lircrc'
MPLAYER_VO_DEV = 'fbdev'
MPLAYER_NICE = -20
MPLAYER_ARGS = { 'dvd' : '-cache 8192',
'vcd' : '-cache 4096',
'cd' : '-cache 1024 -cdda speed=2',
'tv' : '-nocache',
'ivtv' : '-cache 8192',
'rm' : '-cache 5000 -forceidx',
'rmvb' : '-cache 5000 -forceidx',
'avi' : '-cache 5000 -idx',
'rtsp' : '-autosync 30 -mc 10 -nobps -fps 25 -zoom -X 800 ',
'webcam' : 'tv:// -tv
driver=v4l2:width=352:height=288:outfmt=yuy2:device=/dev/video2',
'default': '-cache 5000'
}
TIMESHIFT_BUFFER_SIZE = 1024
TIMESHIFT_ENCODE_CMD = 'mp1e -m3 -r14,100'
TIMESHIFT_BUFFER = '/local/timeshift.mpeg'
TV_DATEFORMAT = '%e-%b' # Day-Month: 11-Jun
TV_TIMEFORMAT = '%H:%M' # Hour-Minute 14:05
TV_DATETIMEFORMAT = '%A %d. %b %H:%M' # Thursday September 24 8:54 am
TV_RECORD_SERVER_IP = 'localhost'
TV_RECORD_SERVER_PORT = 18001
VCR_CMD = (CONF.mencoder + ' ' +
'rtsp://%(channel)s ' + # Filled in by Freevo
'-ovc lavc -oac lavc -of mpeg -vf pp=6,scale=800 -noskip -fps
25' +
'-endpos %(seconds)s ' + # only mencoder uses this so do
it here.
'-o %(filename)s') # Filled in by Freevo
TV_RECORDFILE_SUFFIX = '.mpeg'
TV_CHANNELS = [
( '003.tv.tv2.dk', 'DR 1', '
www.optimalstream.net/video/dr1'),
( '004.tv.tv2.dk', 'DR 2', '
www.optimalstream.net/video/dr2'),
# ( '001.tv.tv2.dk', 'TV 2', '
www.optimalstream.net/video/tv2'),
( '008.tv.tv2.dk', 'TVDk', '
www.optimalstream.net/video/tvdk2'),
( '007.tv.tv2.dk', 'Kanal 5', '
www.optimalstream.net/video/tvdk2'),
( '109.tv.tv2.dk', 'Kanal Kbh', '
www.optimalstream.net/video/kkbh'),
( '038.tv.tv2.dk', 'BBC World', '
www.optimalstream.net/video/bbcw'),
( '031.tv.tv2.dk', 'NRK 1', '
www.optimalstream.net/video/nrk1'),
( '001.tv.tv2.dk', 'NRK 2', '
www.optimalstream.net/video/nrk2'),
( '033.tv.tv2.dk', 'TV 2 Norge', '
www.optimalstream.net/video/tv2no'),
( '027.tv.tv2.dk', 'TV4 Sverige', '
www.optimalstream.net/video/tv4sv'),
( '998.tv.tv2.dk', 'VIVA', '
www.optimalstream.net/video/viva'),
( '997.tv.tv2.dk', 'VIVAp', '
www.optimalstream.net/video/vivap'),
( '060.tv.tv2.dk', 'PRO 7', '
www.optimalstream.net/video/pro7', '',
'1' ),
( '996.tv.tv2.dk', 'Horror', '
www.optimalstream.net/video/horch', '',
'1' ) ]
XMLTV_GRABBER = 'tv_grab_dk'
XMLTV_SORT = ''
XMLTV_DAYS = 3
plugin.activate('www')
WWW_USERS = { "user" : "changeme",
"optional" : "changeme2" }
XMLTV_FILE = '/tmp/TV.xml'
TV_LOGOS = OS_CACHEDIR + '/xmltv/logos'
VIDEO_GROUPS = [
VideoGroup(desc='rtsp0',
group_type='rtsp',
recordable=True),
VideoGroup(desc='rtsp1',
group_type='rtsp',
recordable=True),
VideoGroup(desc='rtsp2',
group_type='rtsp',
recordable=True),
VideoGroup(desc='rtsp3',
group_type='rtsp',
recordable=True),
]
TV_IVTV_OPTIONS = {
'input' : 4,
'resolution' : '720x576',
'aspect' : 2,
'audio_bitmask' : 0xE9,
'bframes' : 3,
'bitrate_mode' : 0,
'bitrate' : 8000000,
'bitrate_peak' : 9600000,
'dnr_mode' : 3,
'dnr_spatial' : 0,
'dnr_temporal' : 0,
'dnr_type' : 0,
'framerate' : 0,
'framespergop' : 12,
'gop_closure' : 1,
'pulldown' : 0,
'stream_type' : 14,
}