Duncan,

When opening a station from the tv guide for watching tv, I see this in the
main-500.log:

ChildApp.__init__(), pid=3266, app= /usr/bin/mplayer -vo fbdev -ao alsa -fs
-autosync 100 -nolirc -autoq 100 -screenw 800 -screenh 600 -fs -slave
-nocache tv:// -tv driver=v4l2:freq=
208.000:device=/dev/video0:input=0:norm=PAL:width=640:height=480:outfmt=yuy2
, poll=-1
1169584104.61: started tv app

The recordserver seems to have it's own log, so I already had this in the
recordserver-500.log :

2007/01/19 21:24 CET [*RecordServer*] popen  /usr/bin/mencoder tv:// -tv
driver=v4l:input=0:norm=pal:channel=25:chanlist=nl-multikabel:width=320:height=240:outfmt=yuy2:device=/dev/video0:adevice=/dev/dsp:audiorate=32000:forceaudio:forcechan=1:buffersize=64
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200:keyint=30 -oac mp3lame
-lameopts br=128:cbr:mode=3 -ffourcc divx -endpos 49 -o
/home/michel/Video/Opnames/01-19_21:24_Handmatige_opname.avi

As you can see, Freevo gives the option "freq=" to the mplayer command, but
the mencoder command gets "channel=25:chanlist=nl-multikabel".  Since the
nl-multikabel chanlist only exists in Freevo (because I put it in myself),
the mencoder program doesn't know what to do with it, and just uses the
frequency the tuner was already set to.

Note that the mencoder_cmd was not set in local_conf.py when i got this line
in the log.

Looks like a bug to me... any ideas?


2007/1/22, Duncan Webb <[EMAIL PROTECTED]>:

Michel Hoogervorst wrote:
> Well... how nice... it does not work with mencoder :'(
>
> Why does the mencoder command differ from the mplayer command?  Since it
> uses the same command line options, this should work exactly the same...
> I can record using mencoder from the command line, so this is purely a
> Freevo thing, nothing wrong with mencoder in this.  Is this a bug??  Of
> am I overseeing something?

I sounds like a bug. There are two different modules for capture and
playback.

Would you enable CHILDAPP_DEBUG=1 and may be DEBUG=1, they will report
the command line that is being used and then send me what it says.

You will need to look in the main-X.log, in /tmp/freevo or
/var/log/freevo.

> I tried using the MENCODER_CMD example in the local_conf.py, and I tried
> simply commenting-out that variable, to let Freevo handle the whole
thing.
>
> Somehow it looks like mencoder is getting the Frequencies in KHz, and
> not in Mhz from Freevo, wich it does not like.
> This is strange, because mplayer just gets the freqs in Mhz from Freevo.

Duncan

>
>
> 2007/1/19, Duncan Webb <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
>
>     Michel Hoogervorst wrote:
>     > Ok, yesterday, I 'accidentally' spotted the freq.py file, and
tried to
>     > put it in there.
>     > So I opened the freq.py, and put this in it:
>     >
>     > CHANLIST = {
>     >           .....
>     >      "nl-multikabel"     : dict(PAL_MULTIKABEL),
>     > }
>     >
>     >
>     > And I declared the PAL_MULTIKABEL like this:
>     >
>     > PAL_MULTIKABEL = [
>     >     ("10", 208000 ), # Nederland 1
>     >     ("11", 216000 ), # Nederland 2
>     >     ("12", 224000 ), # Nederland 3
>     >     ("25", 504000 ), # RTL 4
>     >     ("28", 528000 ), # RTL 5
>     >     ("66", 832000 ), # MTV
>     > ]
>     >
>     >
>     > After that, I edited the freevo.conf and changed the chanlist from
>     > europe-west to nl-multikabel.
>     > Next, in local_conf.py I edited the TV_CHANNELS, to use channel
>     numbers
>     > instead of names pointing to the items in FREQUENCY_TABLE, and I
>     > commented out the FREQUENCY_TABLE list.  So now it looks like
this:
>     >
>     > TV_CHANNELS = [
>     >     (' 1.tvgids.nl <http://1.tvgids.nl> <http://1.tvgids.nl>',
>     'Nederland 1', '10'),
>     >     ('2.tvgids.nl <http://2.tvgids.nl> <http://2.tvgids.nl
>     <http://2.tvgids.nl>>', 'Nederland 2', '11'),
>     >     (' 3.tvgids.nl <http://3.tvgids.nl> <http://3.tvgids.nl>',
>     'Nederland 3', '12'),
>     >     ('4.tvgids.nl <http://4.tvgids.nl> <http://4.tvgids.nl>', 'RTL
>     4', '25'),
>     >     ('5.tvgids.nl <http://5.tvgids.nl> < http://5.tvgids.nl>',
>     'RTL 5', '28'),
>     >     ('25.tvgids.nl <http://25.tvgids.nl> <http://25.tvgids.nl>',
>     'MTV', '66'),
>     > ]
>     >
>     > ...AND IT WORKS!!  Frequencies with mplayer!! :-D
>     >
>     >
>     > So, now my next project is to enable the record server to see if
it
>     > works with mencoder as well. :-)
>
>     Cool, when you have finished may you would like to make a patch and
add
>     it to the tracker.
>
>     Duncan
>
>     >
>     >
>     > 2007/1/3, Michel Hoogervorst <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>     > <mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]
>>>:
>     >
>     >     Hi,
>     >
>     >     I would like to know if it is possible to use frequencies
>     instead of
>     >     channels with TV on a framebuffer.
>     >     When I manually type 'mplayer tv:// -tv driver=v4l2:freq=208'
>     >     everything works, but how to set this in my Freevo
configuration?
>     >
>     >     According to the Wiki it's not possible for watching, and
>     there's a
>     >     hack provided for recording with mencoder, but since that
>     >     information is already nearly 2 years old, I hoped there was a
>     >     solution for this in the meantime?
>     >
>     >     The FREQUENCY_TABLE thing in local_conf doesn't work because
>     Mpayer
>     >     doesn't like using both a channel and a frequency.
>     >
>     >
>     >
>     >
>
------------------------------------------------------------------------
>     >
>     >
>
-------------------------------------------------------------------------
>     > Take Surveys. Earn Cash. Influence the Future of IT
>     > Join SourceForge.net's Techsay panel and you'll get the chance to
>     share your
>     > opinions on IT & business topics through brief surveys - and earn
cash
>     >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     <
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>     >
>     >
>     >
>
------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Freevo-users mailing list
>     > [email protected]
>     <mailto:[email protected]>
>     > https://lists.sourceforge.net/lists/listinfo/freevo-users
>     <https://lists.sourceforge.net/lists/listinfo/freevo-users>
>
>
>



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to