Justin Wetherell wrote:
> Yes, im in NTSC land. I think I found the problem. Maybe I need to
> update the ivtv driver? Since it looks like a valid option. In 1.5.4
> does it not do the "set-vbi-embed=1"?
> 
>     ivtvctl --get-vbi-embed
>     ioctl IVTV_IOC_G_VBI_EMBED ok
>     vbi embedded in MPEG stream: off
> 
> 
>     ivtvctl --set-vbi-embed=1
>     ioctl IVTV_IOC_S_VBI_EMBED failed: Invalid argument
> 
> 
>     ivtvctl --help
>       -x, --set-vbi-embed=<mode>
>                          set whether VBI data is embedded in the MPEG
>     stream [IVTV_IOC_S_VBI_EMBED]
>                          If 1, embed VBI data in the MPEG stream, if 0,
>     don't.

Should have worked, I think that the problem, as you said, is because
your ivtv driver is so old. Anyway I have put some exception handling in
ivtv.py to ignore this error. Can you try the latest svn *before*
updating the ivtv driver, it should work now.

1.5.4 didn't have the ivtv_xine_tv plug-in. I added the set vbi embedded
calls to the plug-in because xine doesn't handle embedded vbi data
correctly, it appears a green blocks in the first third of the picture.

Duncan

> 
> On 10/25/06, *Duncan Webb* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     Justin Wetherell wrote:
> 
>     I guess that using mplayer as you tv viewer is fine.
> 
>     The problem is here:
> 
>     File "/usr/local/src/freevo-1.7/src/tv/ivtv.py", line 168, in
>     setvbiembed
>     r = fcntl.ioctl (self.device, i32(SETVBI_EMBED_NO),
>     struct.pack(VBI_EMBED_ST, value))
>     IOError: [Errno 22] Invalid argument
> 
>     All it is doing is turning off any embedded vbi data that has been set
>     up. Can you try from the command line there two commands
> 
>     ivtvctl --get-vbi-embed
>     ivtvctl --set-vbi-embed=1
> 
>     Then if these work can you goto src/tv and follow the instructions at
>     the bottom of ivtv.py and then type:
> 
>     python ivtv.py
> 
>     And report the results.
> 
>     BTW your set-up is fine.
> 
>     Your in NTSC land?
> 
>     > I made all the changes and updated to revision 8476; I still
>     receive the
>     > same errors.
>     >
>     > Traceback (most recent call last):
>     >   File "/usr/local/freevo/src/main.py", line 301, in eventhandler
>     >     app.eventhandler (event)
>     >   File "/usr/local/src/freevo-1.7/src/menu.py", line 425, in
>     eventhandler
>     >     if not isinstance(menu, Menu) and menu.eventhandler(event):
>     >   File "/usr/local/src/freevo- 1.7/src/tv/tvguide.py", line 211, in
>     > eventhandler
>     >     self.player('tv', self.selected.channel_id)
>     >   File "/usr/local/src/freevo-1.7/src/tv/tvmenu.py", line 89, in
>     start_tv
>     >     plugin.getbyname(plugin.TV).Play(mode, tuner_id)
>     >   File "/usr/local/src/freevo-
>     1.7/src/tv/plugins/ivtv_xine_tv.py", line
>     > 95, in Play
>     >     self.tuner.SetChannel(self.mode, tuner_channel)
>     >   File "/usr/local/src/freevo-1.7/src/tv/plugins/ivtv_xine_tv.py",
>     line
>     > 220, in SetChannel
>     >     ivtv_dev.setvbiembed(0)
>     >   File "/usr/local/src/freevo-1.7/src/tv/ivtv.py", line 168, in
>     setvbiembed
>     >     r = fcntl.ioctl(self.device, i32(SETVBI_EMBED_NO),
>     > struct.pack(VBI_EMBED_ST, value))
>     > IOError: [Errno 22] Invalid argument
>     > osd.py (211): Couldnt load font "Arial_Bold.ttf"
>     > osd.py (217): trying alternate: verabd.ttf
>     > ivtv_xine_tv.py (120): 1161812585.82: tv app got INPUT_ENTER event
>     > Crash!
>     > Traceback (most recent call last):
>     >   File "/usr/local/freevo/src/main.py", line 478, in ?
>     >     MainTread().run()
>     >   File "/usr/local/freevo/src/main.py", line 338, in run
>     >     self.eventhandler(rc.get_event(True))
>     >   File "/usr/local/freevo/src/main.py", line 288, in eventhandler
>     >     if not rc.app()(event):
>     >   File "/usr/local/src/freevo-1.7/src/tv/plugins/ivtv_xine_tv.py",
>     line
>     > 138, in eventhandler
>     >     self.tuner.TuneChannel( int(s_event[6]) )
>     > ValueError: invalid literal for int(): E


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to