Update of /cvsroot/freevo/freevo/src/tv
In directory sc8-pr-cvs1:/tmp/cvs-serv4747
Modified Files:
ivtv.py
Log Message:
Updating for current ivtv CVS, added bitrate_mode and use constant bitrate
by default.
Index: ivtv.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/ivtv.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ivtv.py 1 Jun 2003 16:05:40 -0000 1.1
--- ivtv.py 7 Jul 2003 01:59:06 -0000 1.2
***************
*** 10,13 ****
--- 10,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.2 2003/07/07 01:59:06 rshortt
+ # Updating for current ivtv CVS, added bitrate_mode and use constant bitrate
+ # by default.
+ #
# Revision 1.1 2003/06/01 16:05:40 rshortt
# Further suport for ivtv based cards. Now you can set the bitrate to encode at or
the stream type to use.
***************
*** 55,59 ****
# structs
! CODEC_ST = '14I'
--- 59,63 ----
# structs
! CODEC_ST = '15I'
***************
*** 67,72 ****
val = struct.pack( CODEC_ST,
codec.aspect,
! codec.audio,
codec.bframes,
codec.bitrate,
codec.bitrate_peak,
--- 71,77 ----
val = struct.pack( CODEC_ST,
codec.aspect,
! codec.audio_bitmask,
codec.bframes,
+ codec.bitrate_mode,
codec.bitrate,
codec.bitrate_peak,
***************
*** 84,88 ****
def getCodecInfo(self):
! val = struct.pack( CODEC_ST, 0,0,0,0,0,0,0,0,0,0,0,0,0,0 )
r = fcntl.ioctl(self.device, IVTV_IOC_G_CODEC, val)
codec_list = struct.unpack(CODEC_ST, r)
--- 89,93 ----
def getCodecInfo(self):
! val = struct.pack( CODEC_ST, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 )
r = fcntl.ioctl(self.device, IVTV_IOC_G_CODEC, val)
codec_list = struct.unpack(CODEC_ST, r)
***************
*** 92,113 ****
class IVTVCodec:
def __init__(self, args):
! self.aspect = args[0]
! self.audio = args[1]
! self.bframes = args[2]
! self.bitrate = args[3]
! self.bitrate_peak = args[4]
! self.dnr_mode = args[5]
! self.dnr_spatial = args[6]
! self.dnr_temporal = args[7]
! self.dnr_type = args[8]
! self.framerate = args[9]
! self.framespergop = args[10]
! self.gop_closure = args[11]
! self.pulldown = args[12]
! self.stream_type = args[13]
!
!
!
!
--- 97,115 ----
class IVTVCodec:
def __init__(self, args):
! self.aspect = args[0]
! self.audio_bitmask = args[1]
! self.bframes = args[2]
! self.bitrate_mode = args[3]
! self.bitrate = args[4]
! self.bitrate_peak = args[5]
! self.dnr_mode = args[6]
! self.dnr_spatial = args[7]
! self.dnr_temporal = args[8]
! self.dnr_type = args[9]
! self.framerate = args[10]
! self.framespergop = args[11]
! self.gop_closure = args[12]
! self.pulldown = args[13]
! self.stream_type = args[14]
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog