[mythtv] DVB recording issues

Peter pleeke at gmail.com
Wed Mar 16 12:24:59 UTC 2005


Hi,

First off many thanks for a brilliant app!

I've been using Myth for a few months, but am now running into a
couple of issues that are affecting some of my recordings. Not sure if
I'm sending this to the right list

1) Using PS mode, sometimes I loose sound in a recording. If I rewind
a bit I still loose sound at the same point, leading me to believe
there is no sound in the recording. It appears to affect recordings
randomly, on either of my two DVB-T cards on (seemingly) any channel.
>From reading this and the -user list, it sounds as though running in
TS mode might help this issue, and TS mode is the way forward anyway.

2) So onto TS mode, while playing back the recording in myth and
pressing the 'i' key, the display says the recording is only ~30sec to
2 mins (the time varies). However the file on the file system appears
to have a valid end time and size, suggesting that the recording
should be longer than the ~2mins that the osd claims it is. Playing
the same file in mplayer, and mplayer crashes at approx the ~30sec to
2mins timeframe. This leads me to believe the recording is corrupt
(for some reason), rather than a playback issue.


The channel I'm having issues with is Channel 4, in the UK.

mplexid: 2
Chanid: 1009
Serviceid: 8384

Video PID: 2860
Audio PID: 2861 (from linuxtv DVB driver scan util).

mysql> select * from dtv_multiplex;
+---------+----------+-------------+-----------+-----------+-----------+------------+------+----------+------------+-----------+--------------+-------------------+----------------+---------+---------------+-----------+--------------+------------+----------------+-----------------+
| mplexid | sourceid | transportid | networkid | frequency | inversion
| symbolrate | fec  | polarity | modulation | bandwidth | lp_code_rate
| transmission_mode | guard_interval | visible | constellation |
hierarchy | hp_code_rate | sistandard | serviceversion |
updatetimestamp |
+---------+----------+-------------+-----------+-----------+-----------+------------+------+----------+------------+-----------+--------------+-------------------+----------------+---------+---------------+-----------+--------------+------------+----------------+-----------------+
|       1 |        1 |        4099 |      9018 | 706000000 | a        
|          0 | auto |          | auto       | 8         | 2/3         
| 2                 | 1/32           |       0 | qam_16        | n    
    | 3/4          | dvb        |              6 |  20050314201216 |
|       2 |        1 |        8207 |      9018 | 650166670 | a        
|          0 | auto |          | auto       | 8         | 1/2         
| 2                 | 1/32           |       0 | qam_64        | n    
    | 2/3          | dvb        |             18 |  20050316110716 |
|       3 |        1 |       12290 |      9018 | 626166670 | a        
|          0 | auto |          | auto       | 8         | 1/2         
| 2                 | 1/32           |       0 | qam_64        | n    
    | 2/3          | dvb        |              6 |  20050315011208 |
|       4 |        1 |       16384 |      9018 | 674166670 | a        
|          0 | auto |          | auto       | 8         | 2/3         
| 2                 | 1/32           |       0 | qam_16        | n    
    | 3/4          | dvb        |              5 |  20050216105304 |
|       5 |        1 |       20480 |      9018 | 658166670 | a        
|          0 | auto |          | auto       | 8         | 2/3         
| 2                 | 1/32           |       0 | qam_16        | n    
    | 3/4          | dvb        |             30 |  20050314203022 |
|       6 |        1 |       24576 |      9018 | 634166670 | a        
|          0 | auto |          | auto       | 8         | 2/3         
| 2                 | 1/32           |       0 | qam_16        | n    
    | 3/4          | dvb        |             23 |  20050306003019 |
+---------+----------+-------------+-----------+-----------+-----------+------------+------+----------+------------+-----------+--------------+-------------------+----------------+---------+---------------+-----------+--------------+------------+----------------+-----------------+
6 rows in set (0.00 sec)

mysql> select * from channel;
+--------+---------+--------+----------+----------------+----------------+-------------------------------------------------------+----------+--------------+----------------------+-------------+----------+------------+--------+-------+----------+----------+---------+---------------+---------------+---------+-----------+-----------+
| chanid | channum | freqid | sourceid | callsign       | name        
  | icon                                                  | finetune |
videofilters | xmltvid              | recpriority | contrast |
brightness | colour | hue   | tvformat | commfree | visible |
outputfilters | useonairguide | mplexid | serviceid | atscsrcid |
+--------+---------+--------+----------+----------------+----------------+-------------------------------------------------------+----------+--------------+----------------------+-------------+----------+------------+--------+-------+----------+----------+---------+---------------+---------------+---------+-----------+-----------+
<snip>
|   1006 | 3       | NULL   |        1 | ITV1           | ITV1        
  | /home/mythtv/.mythtv/channels/itv1_meridian.jpg       |     NULL |
             | meridian.tv.co.uk    |           0 |    32768 |     
32768 |  32768 | 32768 | Default  |        0 |       1 |              
|             1 |       2 |      8271 |         0 |
|   1007 | 34      | NULL   |        1 | ITV3           | ITV3        
  | /home/mythtv/.mythtv/channels/itv3.jpg                |     NULL |
             | itv3.itv.co.uk       |           0 |    32768 |     
32768 |  32768 | 32768 | Default  |        0 |       1 |              
|             1 |       2 |      8305 |         0 |
|   1008 | 6       | NULL   |        1 | ITV2           | ITV2        
  | /home/mythtv/.mythtv/channels/itv2.jpg                |     NULL |
             | itv2.itv.co.uk       |           0 |    32768 |     
32768 |  32768 | 32768 | Default  |        0 |       1 |              
|             1 |       2 |      8335 |         0 |
|   1009 | 4       | NULL   |        1 | Channel 4      | Channel 4   
  | /home/mythtv/.mythtv/channels/channel4.jpg            |     NULL |
             | channel4.com         |           0 |    32768 |     
32768 |  32768 | 32768 | Default  |        0 |       1 |              
|             1 |       2 |      8384 |         0 |
<snip>
+--------+---------+--------+----------+----------------+----------------+-------------------------------------------------------+----------+--------------+----------------------+-------------+----------+------------+--------+-------+----------+----------+---------+---------------+---------------+---------+-----------+-----------+
35 rows in set (0.00 sec)



However the mplayer output shows;

Playing 1009_20050316073000_20050316080000.nuv.
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=2860)...AUDIO MPA(pid=2862) NO SUBS (yet)!  PROGRAM N. 1
Opened TS demuxer, audio: 50(pid 2862), video: 10000002(pid 2860)...POS=564
VIDEO:  MPEG2  704x576  (aspect 3)  25.000 fps  15000.0 kbps (1875.0 kbyte/s)

ie. the audio PID has been detected as 2862. Not sure whether this has
any relevance to the issue, but thought I'd mention it.

Just to clarify, when recording in PS mode this station works fine
(but sometimes issue 1 occurs, on any channel).


I've seen various other posts that mention similar issues, but no
complete resolution. Is this fixed in CVS (I haven't seen any commits
that look likely to solve it, but just in case I missed something)?
Does anybody have any ideas on what steps I ought to go through to
investigate further?


This is an FC2 box, installed from Jarods excellent guide (mostly),
with atrpms binary's. I've compiled the RPMs to remove the EIT stuff,
as it seems to clobber my DB from time to time (but thats a different
issue altogether).


If I've missed any info/logs etc, please let me know,

Many thanks
Pete


More information about the mythtv-dev mailing list