On Mon, Feb 13, 2006 at 07:21:37AM +0100, Henrik Lindström wrote: > > My question is now if there is a way in Freevo 1.5.6 to use both digital > and analog tv? Both analog and digital tv works great, but i want to use > the digital channels instead of the analog for those who are being > broadcasted digitally. > I think Freevo doesn't support multiple TV cards. However it is possible to code a shell script that depending of the argument executes a program to watch/record digital or analog. I use something similar to pass different options to mplayer if a video stream has 1, 2 or 6 audio channels.
I have a dvb-t card and I use the following to watch TV.
VIDEO_GROUPS[0].group_type = 'dvb'
VCR_CMD = CONF.mplayer + ' -dumpstream -dumpfile %(filename)s
"dvb://%(channel)s"'
I think they can be changed to something similar to:
VIDEO_GROUPS[0].group_type = 'dvb'
VCR_CMD = '/usr/local/bin/tv-selection %(filename)s %(channel)s'
tv-selection should be something like (in pseudocode):
if %(filename)s in (DIGITAL_CHANNELS)
mplayer dvb://%(channel)s -dumpstream -dumpfile %(filename)s
else
mplayer tv://%(channel)s -dumpstream -dumpfile %(filename)s
> When recording and watching tv now i just get one channel when im
> receiving a analog broadcast (i guess there is a way to mix them
> toghether with software).
>
With mplayer I use something like this to expand 1 channel to 2.
mplayer -af channels=2:2:0:0:0:1 mono_audio.avi
--
signature.asc
Description: Digital signature
