[mythtv-users] No picture using Firewire on OS X

Vinnie vinicarus at gmail.com
Mon Oct 29 05:48:08 UTC 2007


When I try and watch TV, the video is black with no sound. At the top
is the channel # and the time, and at the bottom is says:
"Signal 100% | (L__) Partial Lock"

After a few seconds the following pops up:
"You should have gotten a channel lock by now. You can continue to
wait for a signal, or you can change the channels with Up or Down,
change input's (C), capture cards (Y), etc."

When I change channels in MythTV, my cable box (DCT-6200) correctly
changes channels fine, so something is working, but I still don't get
any video.

Since there aren't any binary backend packages for Intel OS X
available with firewire support, I built MythTV using osx-packager.pl,
which seems to use the current svn source (I ran it this morning).
After configuring the capture card to be type firewire (for my
DCT-6200 cable box), and setting up the rest of the usual video source
and channel stuff, I tried to watch tv.

I wasn't able to use firewire_tester since it won't compile on OS X
for me. The output of trying is below. However, I have tested the
connection with AVCVideoCap in the Firewire SDK and I can record fine
with that.

Has anyone seem this problem or no how to fix it?

Thanks,
  Vinnie

Backend Log:
$ ./MythBackend.app/Contents/MacOS/MythBackend
2007-10-28 21:35:18.923 Using runtime prefix =
/Users/cutter/src/mythtv-builders/MythBackend.app/Contents/Resources
2007-10-28 21:35:19.465 New DB connection, total: 1
2007-10-28 21:35:19.818 Connected to database 'mythconverg' at host: localhost
2007-10-28 21:35:20.295 Current Schema Version: 1201
Starting up as the master server.
2007-10-28 21:35:20.588 New DB connection, total: 2
2007-10-28 21:35:20.589 Connected to database 'mythconverg' at host: localhost
2007-10-28 21:35:20.886 New DB connection, total: 3
2007-10-28 21:35:20.887 Connected to database 'mythconverg' at host: localhost
2007-10-28 21:35:21.087 Adding   0x14e8fffecc036d
2007-10-28 21:35:21.088 Updating 0x14e8fffecc036d
2007-10-28 21:35:22.788 SetLastChannel(702): cleared: no
2007-10-28 21:35:22.810 New DB scheduler connection
2007-10-28 21:35:22.811 Connected to database 'mythconverg' at host: localhost
2007-10-28 21:35:22.812 Scheduler: Setting priority failed.
                        eno: Permission denied (13)
ASSERT: "i <= nodes" in ../../../../../build/include/qvaluelist.h (373)
2007-10-28 21:35:25.993 Reschedule requested for id -1.
2007-10-28 21:35:31.019 Scheduled 0 items in 5.0 = 4.87 match + 0.15 place
2007-10-28 21:35:31.021 Seem to be woken up by USER
2007-10-28 21:35:31.732 Main::Registering HttpStatus Extension
2007-10-28 21:35:31.733 MythBackend version: 0.21.20070910-2 www.mythtv.org
2007-10-28 21:35:31.733 Enabled verbose msgs:  important general
2007-10-28 21:35:38.220 AutoExpire: Found max recording rate of 138 MB/min
2007-10-28 21:35:38.221 AutoExpire: CalcParams(): Required Free Space:
3.0 GB w/freq: 10 min
2007-10-28 21:36:42.853 Expiring 0 MBytes for 1702 @ Sun Oct 28
20:00:00 2007 => Extreme Makeover: Home Edition "Yazzie Family"
2007-10-28 21:36:42.853 Expiring 0 MBytes for 1702 @ Sun Oct 28
20:00:00 2007 => Extreme Makeover: Home Edition "Yazzie Family"
2007-10-28 21:46:42.879 AutoExpire: ERROR: Filesystem Info cache is
empty, unable to determine what Recordings to expire
2007-10-28 21:56:42.897 AutoExpire: ERROR: Filesystem Info cache is
empty, unable to determine what Recordings to expire
2007-10-28 22:02:38.986 MainServer::HandleAnnounce Monitor
2007-10-28 22:02:38.986 adding: redemption as a client (events: 0)
2007-10-28 22:02:38.987 MainServer::HandleAnnounce Monitor
2007-10-28 22:02:38.987 adding: redemption as a client (events: 1)
2007-10-28 22:02:39.044 MainServer::HandleAnnounce Playback
2007-10-28 22:02:39.044 adding: redemption as a client (events: 0)
2007-10-28 22:02:39.107 TVRec(1): Changing from None to WatchingLiveTV
2007-10-28 22:02:39.108 TVRec(1): HW Tuner: 1->1
2007-10-28 22:02:40.617 SetLastChannel(702): cleared: yes
2007-10-28 22:02:43.920 Max Speed: 2 Our speed: 0
2007-10-28 22:02:43.921 STB is already streaming on fwchan: 1
2007-10-28 22:02:44.134 DFireDev(0014E8FFFECC036D), Warning: Ignoring
FWChan change request, plug already open
2007-10-28 22:02:44.135 DFireDev(0014E8FFFECC036D): AllocateIsochPort(0,0) ok
2007-10-28 22:02:44.135 DFireDev(0014E8FFFECC036D): Starting A/V
streaming: success
2007-10-28 22:02:44.435 DFireDev(0014E8FFFECC036D), Warning: No Input in 0 msecs
2007-10-28 22:02:44.736 DFireDev(0014E8FFFECC036D), Warning: No Input
in 300 msecs
2007-10-28 22:02:45.036 DFireDev(0014E8FFFECC036D), Warning: No Input
in 600 msecs
2007-10-28 22:02:45.336 DFireDev(0014E8FFFECC036D), Warning: No Input
in 900 msecs
2007-10-28 22:02:45.636 DFireDev(0014E8FFFECC036D), Warning: No Input
in 1200 msecs
2007-10-28 22:02:45.937 DFireDev(0014E8FFFECC036D), Warning: No Input
in 1500 msecs
2007-10-28 22:02:46.237 DFireDev(0014E8FFFECC036D), Warning: No Input
in 1800 msecs
2007-10-28 22:02:46.237 DFireDev(0014E8FFFECC036D): ResetBus() -- begin
2007-10-28 22:02:46.237 DFireDev(0014E8FFFECC036D): ResetBus() -- end
2007-10-28 22:02:46.341 DFireDev(0014E8FFFECC036D), Warning: Ignoring
FWChan change request, plug already open
2007-10-28 22:02:46.537 DFireDev(0014E8FFFECC036D), Warning: No Input in 0 msecs
2007-10-28 22:02:46.837 DFireDev(0014E8FFFECC036D), Warning: No Input
in 300 msecs
2007-10-28 22:02:47.138 DFireDev(0014E8FFFECC036D), Warning: No Input
in 600 msecs
2007-10-28 22:02:47.438 DFireDev(0014E8FFFECC036D), Warning: No Input
in 900 msecs
2007-10-28 22:02:47.738 DFireDev(0014E8FFFECC036D), Warning: No Input
in 1200 msecs
2007-10-28 22:02:48.038 DFireDev(0014E8FFFECC036D), Warning: No Input
in 1500 msecs
2007-10-28 22:02:48.338 DFireDev(0014E8FFFECC036D), Warning: No Input
in 1800 msecs
2007-10-28 22:02:48.339 DFireDev(0014E8FFFECC036D): ResetBus() -- begin
2007-10-28 22:02:48.339 DFireDev(0014E8FFFECC036D): ResetBus() -- end

Frontend output
$ /Users/cutter/src/mythtv-builders/MythFrontend.app/Contents/MacOS/MythFrontend
2007-10-28 22:02:24.316 Using runtime prefix =
/Users/cutter/src/mythtv-builders/MythFrontend.app/Contents/Resources
2007-10-28 22:02:29.974 New DB connection, total: 1
2007-10-28 22:02:29.981 Connected to database 'mythconverg' at host: localhost
2007-10-28 22:02:29.992 Total desktop dim: 1280x720, with 1 screen[s].
2007-10-28 22:02:29.996 Using screen 0, 1280x720 at 0,0
2007-10-28 22:02:30.015 Current Schema Version: 1201
2007-10-28 22:02:30.016 MythFrontend version: 0.21.20070910-2 www.mythtv.org
2007-10-28 22:02:30.016 Enabled verbose msgs:  important general
get_int_CF() - Failed to get 32bit int from number
... <snip>
get_int_CF() - Failed to get 32bit int from number
2007-10-28 22:02:31.405 SelectSetting::setValue(): invalid index: 5 size: 2
2007-10-28 22:02:31.407 SelectSetting::setValue(): invalid index: 5 size: 2
2007-10-28 22:02:31.409 SelectSetting::setValue(): invalid index: 5 size: 2
2007-10-28 22:02:31.411 SelectSetting::setValue(): invalid index: 5 size: 2
2007-10-28 22:02:31.463 Total desktop dim: 1280x720, with 1 screen[s].
2007-10-28 22:02:31.464 Using screen 0, 1280x720 at 0,0
2007-10-28 22:02:31.465 Switching to square mode (G.A.N.T)
2007-10-28 22:02:31.507 Using the Qt painter
2007-10-28 22:02:33.169 Loading from:
/Users/cutter/src/mythtv-builders/MythFrontend.app/Contents/Resources/share/mythtv/themes/G.A.N.T/base.xml
2007-10-28 22:02:33.219 Loading from:
/Users/cutter/src/mythtv-builders/MythFrontend.app/Contents/Resources/share/mythtv/themes/default/base.xml
2007-10-28 22:02:33.396 Registering Internal as a media playback plugin.
2007-10-28 22:02:33.806 MonitorRegisterExtensions(0x100, gif,jpg,png)
2007-10-28 22:02:34.383 Failed to run 'cdrecord --scanbus'
2007-10-28 22:02:34.387 Failed to run 'cdrecord --scanbus -dev=ATA'
2007-10-28 22:02:34.393 Failed to run 'cdrecord --scanbus -dev=ATAPI'
2007-10-28 22:02:34.439 MonitorRegisterExtensions(0x40, ogg,mp3,aac,flac)
2007-10-28 22:02:34.765 Starting media monitor.
2007-10-28 22:02:38.900 New DB connection, total: 2
2007-10-28 22:02:38.901 Connected to database 'mythconverg' at host: localhost
2007-10-28 22:02:38.945 Connecting to backend server: 127.0.0.1:6543
(try 1 of 5)
2007-10-28 22:02:38.986 Using protocol version 36
2007-10-28 22:02:39.000 TV: Attempting to change from None to WatchingLiveTV
2007-10-28 22:02:39.043 Using protocol version 36
2007-10-28 22:02:44.189 NVP: Disabling Audio, params(-1,2,44100)
2007-10-28 22:02:44.364 VideoOutputQuartz: VProf: rend(quartz-blit)
osd(softblend) deint(linearblend,linearblend) filt()
2007-10-28 22:02:47.484 TV: Changing from None to WatchingLiveTV
2007-10-28 22:02:47.488 OpenGLVideoSync()
2007-10-28 22:02:47.488 ~OpenGLVideoSync() -- begin
2007-10-28 22:02:47.488 ~OpenGLVideoSync() -- end
2007-10-28 22:02:47.489 Video timing method: USleep with busy wait
2007-10-28 22:03:19.351 New DB connection, total: 3
2007-10-28 22:03:19.353 Connected to database 'mythconverg' at host: localhost
2007-10-28 22:03:32.135 TV: Attempting to change from WatchingLiveTV to None
2007-10-28 22:03:32.490 TV: Changing from WatchingLiveTV to None


firewire_tester.c build:
$ gcc -Wall -o firewire_tester firewire_tester.c -liec61883 -lraw1394
firewire_tester.c:14:32: error: libraw1394/raw1394.h: No such file or directory
firewire_tester.c:15:34: error: libiec61883/iec61883.h: No such file
or directory
firewire_tester.c:54: error: parse error before 'handle'
firewire_tester.c: In function 'test_connection':
firewire_tester.c:58: warning: implicit declaration of function 'raw1394_get_fd'
firewire_tester.c:58: error: 'handle' undeclared (first use in this function)
firewire_tester.c:58: error: (Each undeclared identifier is reported only once
firewire_tester.c:58: error: for each function it appears in.)
firewire_tester.c:59: error: 'iec61883_mpeg2_t' undeclared (first use
in this function)
firewire_tester.c:59: error: parse error before 'mpeg'
firewire_tester.c:64: error: 'mpeg' undeclared (first use in this function)
firewire_tester.c:64: warning: implicit declaration of function
'iec61883_mpeg2_recv_init'
firewire_tester.c:65: warning: implicit declaration of function
'iec61883_mpeg2_recv_start'
firewire_tester.c:65: error: 'channel' undeclared (first use in this function)
firewire_tester.c:77: warning: implicit declaration of function
'raw1394_loop_iterate'
firewire_tester.c:84: warning: implicit declaration of function
'iec61883_mpeg2_recv_stop'
firewire_tester.c:85: warning: implicit declaration of function
'iec61883_mpeg2_close'
firewire_tester.c: At top level:
firewire_tester.c:95: error: parse error before 'handle'
firewire_tester.c: In function 'test_p2p':
firewire_tester.c:97: error: 'node' undeclared (first use in this function)
firewire_tester.c:106: warning: implicit declaration of function
'iec61883_cmp_create_p2p_output'
firewire_tester.c:106: error: 'handle' undeclared (first use in this function)
firewire_tester.c:125: warning: implicit declaration of function
'iec61883_cmp_disconnect'
firewire_tester.c:126: warning: implicit declaration of function
'raw1394_get_local_id'
firewire_tester.c: At top level:
firewire_tester.c:133: error: parse error before 'handle'
firewire_tester.c: In function 'test_broadcast':
firewire_tester.c:135: error: 'node' undeclared (first use in this function)
firewire_tester.c:143: warning: implicit declaration of function
'iec61883_cmp_create_bcast_output'
firewire_tester.c:143: error: 'handle' undeclared (first use in this function)
firewire_tester.c: At top level:
firewire_tester.c:175: error: parse error before 'handle'
firewire_tester.c: In function 'fix_broadcast':
firewire_tester.c:180: error: 'handle' undeclared (first use in this function)
firewire_tester.c:180: error: 'node' undeclared (first use in this function)
firewire_tester.c: In function 'main':
firewire_tester.c:229: error: 'raw1394handle_t' undeclared (first use
in this function)
firewire_tester.c:229: error: parse error before 'handle'
firewire_tester.c:330: error: 'handle' undeclared (first use in this function)
firewire_tester.c:330: warning: implicit declaration of function
'raw1394_new_handle_on_port'
firewire_tester.c:361: warning: implicit declaration of function
'raw1394_reset_bus_new'
firewire_tester.c:361: error: 'RAW1394_LONG_RESET' undeclared (first
use in this function)
firewire_tester.c:374: warning: implicit declaration of function
'raw1394_destroy_handle'


More information about the mythtv-users mailing list