[mythtv-commits] Ticket #2096: Mac OS X Plextor ConvertX USB Video Capture support
MythTV
mythtv at cvs.mythtv.org
Wed Sep 6 16:11:48 UTC 2006
#2096: Mac OS X Plextor ConvertX USB Video Capture support
-----------------------------+----------------------------------------------
Reporter: awk at awkward.org | Owner: ijr
Type: patch | Status: reopened
Priority: minor | Milestone:
Component: mythtv | Version:
Severity: medium | Resolution:
-----------------------------+----------------------------------------------
Changes (by awk at awkward.org):
* status: closed => reopened
* type: task => patch
* resolution: invalid =>
Comment:
In addition to the attached configure patch you need the tar archive of
the patches and new files for libs/libmythtv required from :
http://www.awkward.org/downloads/darwin-go7007.tar.gz
This is quite a bit of new code - the patches to current source files are
:
NuppelVideoRecorder.cpp.diff
cardutil.h.diff
videodev2_myth.h.diff
NuppelVideoRecorder.h.diff
libmythtv.pro.diff
videosource.cpp.diff
cardutil.cpp.diff
tv_rec.cpp.diff
I can upload all these individually - but that seems overkill for trac,
especially if I have to keep making changes.
There are also a number of new files to support the hardware (including
some firmware files from the original linux project that are copied to
/usr/local/lib/mythtv/firmware)
I've been using the patch for a while without any real problems, and I
don't believe I've broken anything for Linux/V4L/GO7007 users, however
it's possible that one of my ifdef's is misplaced.
Some other notes on the patch - it's only been tested with the TV402
device (with the tuner) it probably works with the 'non-tuner' version but
it may well need some tweaks. It's feasible to make it work with other
GO7007 based (non-Plextor) devices, but more work will probably be
required (and I don't have anything else for testing).
The implementation 'parallels' the V4L api's (reusing the same ioctls for
example) - this isn't the cleanest approach but it does make the
integration with myth simpler and 'more obvious'. In time I'd like to do
away with that approach and move to something a little more
straightforward and more 'C++' like. This code may also serve as a model
for other people looking to integrate other hardware on the Mac for which
V4L devices already exist.
A final note for 'new Mac OS X Backend users' - you need to configure your
viewing profiles for this device after you've added it to the list of
devices on the backend. This stumped me for a bit until I realised that
Linux is the same way !
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2096#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list