Duncan Webb a écrit :
> Would you try:
> | cat /dev/video0 > mytest.mpeg &
>
> use the v4l-ctl --verbose to change a channel, set the standard, set the
> input. The idea is to find out if the order of the v4l2 controls is
> important and that they work when the device is open. And finally a:
>
> | kill %1
>
> You can use a script something like this:
>
> | #!/bin/bash -x
> | /bin/cat /dev/video0 > /tmp/test.mpeg &
> block start to repeat
> | v4l2-ctl --verbose --set-input=...
> | v4l2-ctl --verbose --set-standard=...
> | ivtv-tune ...
> | sleep 2
> | v4l2-ctl --verbose -T
> | sleep 15
> block end to repeat
> repeat for different channels
> | kill %1
>
> You will see if the v4l2 commands fail and can view the mpeg to see what
> was recorded.
>
>
I'll work on that, maybe tonight, maybe tomorrow.
In between, I find an interesting thing in the new ivtv_xine_tv plugin :
There's now a very nice feature displaying the name of the channel and
the title of the program running, when you move from channel to channel
using the freevo 'C' and 'V' keys
The program information are only displayed if the input type is 'tuner'.
I did a very poor hack to solve this issue in my case, but I think that
the test should be (perl speaking ) : if (vg.input_type =~ /tuner/i )
diff -u svn/freevo/src/tv/plugins/ivtv_xine_tv.py
/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py
--- svn/freevo/src/tv/plugins/ivtv_xine_tv.py 2007-10-22
20:39:19.000000000 +0200
+++ /usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py
2007-10-25 21:18:46.000000000 +0200
@@ -579,7 +579,7 @@
# show channel info
vg = self.fc.getVideoGroup(self.curr_channel, True)
- if vg.input_type == 'tuner':
+ if vg.input_type == 'Tuner 1':
tuner_id, chan_name, prog_info =
self.fc.getChannelInfo(showtime=False)
msg = "%s: %s" % (chan_name, prog_info)
self.parent.ShowMessage("%s" % msg)
Thanks,
Pascal
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users