[mythtv-users] Recordings Don't Work, Live TV Does

Michael Beardsley mike at soundevelopment.com
Fri Aug 31 16:17:35 UTC 2007


On Wed, 2007-08-29 at 16:45 -0700, Michael Beardsley wrote:
> Hello All,
> 
> I can't seem to get recordings to work, however live TV, including
> pause/rewind/etc works just fine.
> 
> I can schedule a recording and the schedule will run properly and an
> MPEG file will be written to disk, but it's just black with no sound. It
> seems as though Myth isn't able to connect to the video/audio source
> from a scheduled recording like it is able to during live TV.
> 
> I have a CX23416 based MPEG-2 encoder branded as the Xtreme TV PVR560 by
> Diamond Multimedia.
> 
> I'm on the US West coast with Comcast Digital cable. My set top box is
> connected to the TV card via composite RCA video and stereo RCA audio.
> 
> I haven't gotten my Firefly Mini USB remote to work with LIRC yet, so
> Myth can't change channels for me.
> 
> I'm running:
> Fedora Core 6 kernel 2.6.20-1.2962.fc6
> nVidia GeForce 7800 GS with nVidia drivers and OpenGL enabled
> mythbackend version: 0.20.20060828-4 www.mythtv.org
> mythfrontend version: 0.20.20060828-4 www.mythtv.org
> 
> Thanks for any help!
> 
> Mike
> 
> Here's some log entries for a recording:
> 
> 2007-08-29 16:30:02.288 TVRec(1): Changing from None to RecordingOnly
> 2007-08-29 16:30:02.295 TVRec(1): HW Tuner: 1->1
> 2007-08-29 16:30:04.135 Started recording: Test Versus five min (Manual
> Record) "Wed Aug 29 16:30:00 2007": channel 1034 on cardid 1, sourceid 1
> 2007-08-29 16:35:00.945 TVRec(1): Changing from RecordingOnly to None
> 2007-08-29 16:35:00.958 Finished recording Test Versus five min (Manual
> Record) "Wed Aug 29 16:30:00 2007": channel 1034
> 2007-08-29 16:35:00.960 Reschedule requested for id 0.
> 2007-08-29 16:35:00.972 Scheduled 0 items in 0.0 = 0.00 match + 0.01
> place
> 2007-08-29 16:35:01.069 Finished recording Test Versus five min (Manual
> Record) "Wed Aug 29 16:30:00 2007": channel 1034
> [mpeg @ 0x2ba990]Parser not found for Codec Id: 94210 !
> 0: start_time: 0.036 duration: 24.402
> 1: start_time: 1321.598 duration: 26.555
> 2: start_time: 0.017 duration: 24.393
> stream: start_time: 0.191 duration: 14979.285 bitrate=94 kb/s
> 2007-08-29 16:35:01.095 AFD: Opened codec 0x90ae4d0, id(MPEG2VIDEO)
> type(Video)
> 2007-08-29 16:35:01.113 AFD: Opened codec 0x90aeb60, id(MP2) type(Audio)
> 2007-08-29 16:35:20.764 JobQueue: Commercial Flagging Starting for Test
> Versus five min (Manual Record) "Wed Aug 29 16:30:00 2007" recorded from
> channel 1034 at Wed Aug 29 16:30:00 2007
> 2007-08-29 16:35:20.922 Using runtime prefix = /usr
> 2007-08-29 16:35:20.973 New DB connection, total: 1
> 2007-08-29 16:35:20.982 Connected to database 'mythconverg' at host:
> localhost
> 2007-08-29 16:35:20.988 New DB connection, total: 2
> 2007-08-29 16:35:20.989 Connected to database 'mythconverg' at host:
> localhost
> 2007-08-29 16:35:21.004 Connecting to backend server: 127.0.0.1:6543
> (try 1 of 5)
> 2007-08-29 16:35:21.007 Using protocol version 31
> 2007-08-29 16:35:21.008 MainServer::HandleAnnounce Monitor
> 2007-08-29 16:35:21.010 adding: localhost.localdomain as a client
> (events: 0)
> 2007-08-29 16:35:21.012 MainServer::HandleAnnounce Monitor
> 2007-08-29 16:35:21.012 adding: localhost.localdomain as a client
> (events: 1)
> [mpeg @ 0x2ba990]Parser not found for Codec Id: 94210 !
> 0: start_time: 0.036 duration: 24.402
> 1: start_time: 1321.598 duration: 26.555
> 2: start_time: 0.017 duration: 24.393
> stream: start_time: 0.191 duration: 14979.285 bitrate=94 kb/s
> 2007-08-29 16:35:21.038 AFD: Opened codec 0x9e22350, id(MPEG2VIDEO)
> type(Video)
> 2007-08-29 16:35:21.057 AFD: Opened codec 0x9e22ae0, id(MP2) type(Audio)
> 2007-08-29 16:35:24.702
> RingBuf(/var/lib/mythtv/1034_20070829163000.mpg): Waited 1.0 seconds for
> data to become available...
> 2007-08-29 16:35:25.715
> RingBuf(/var/lib/mythtv/1034_20070829163000.mpg): Waited 2.0 seconds for
> data to become available...
> 2007-08-29 16:35:26.336 JobQueue: Commercial Flagging Finished, 0
> break(s) found.
> [mpeg @ 0x2ba990]Parser not found for Codec Id: 94210 !
> 0: start_time: 0.036 duration: 24.402
> 1: start_time: 1321.598 duration: 26.555
> 2: start_time: 0.017 duration: 24.393
> stream: start_time: 0.191 duration: 14979.285 bitrate=94 kb/s
> 2007-08-29 16:35:26.351 AFD: Opened codec 0x90c4520, id(MPEG2VIDEO)
> type(Video)
> 2007-08-29 16:35:26.352 AFD: Opened codec 0x90ab3e0, id(MP2) type(Audio)
> 
> 
> 
> 

Just to follow up on this with some more information:

My STB has coax in, coax out, component stereo out, component video out.
It does not have any serial, firewire, S-Video, or any other nice
features.

I booted into Windows and confirmed with BeyondTV that component works,
tuner works, and coax straight from the wall (no STB and then BeyondTV
can change channels) works.

So, the card is capable of using its Tuner input. I just can't get it to
work in Linux.

IVTV finds my MPEG-2 card as:
ivtv0: Autodetected Yuan PG600, Diamond PVR-550 card (cx23416 based)

Using v4l2-ctl to switch around settings (inputs, formats, etc.) I can't
get any video/audio on the "Tuner 1" input regardless of which channel
frequency I use with ivtv-tune.

"Composite 1" works (gives garbled video with cat /dev/video0 > test.mpg
-- but MythTV has clear video), and "S-Video 1" gives audio but no video
(as expected because my STB does not have S-Video).

Any thoughts on how to proceed debugging the Tuner input?

Thanks,
Mike



More information about the mythtv-users mailing list