[mythtv] settings profile and transcode issue

Geoffrey Hausheer ou401cru02 at sneakemail.com
Sun Sep 28 22:36:20 EDT 2003


On Sat, 27 Sep 2003 16:53:52 -0400, "Vinton Coffman
vintonc-at-redzone.com |mythtv/1.0-Allow|" <661whj4npx0t at sneakemail.com>
said:
> I most likely don't have something set right but here's the error.
> 
> 2003-09-27 16:27:31 Transcoding from 
> /home/mythtv/video/1060_20030926200000_20030926210000.nuv to 
> /home/mythtv/video/1060_20030926200000_20030926210000.nuv.tmp
> Input #0, mpeg, from 
> '/home/mythtv/video/1060_20030926200000_20030926210000.nuv':
>    Stream #0.0: Video: mpeg2video, 480x480, 29.97 fps, 8000 kb/s
>    Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
> Couldn't find profile for : MPEG-2
...
> I get a very large dark blue box with "MPEG-2 Encoders (PVR-250, 
> PVR-350)" at the top of the screen just about the box.
> hit space again and then I get the normal screen with Profile name:  
> (which is blank) Does it need to be set?
> 
> hit space again width and height are set correctly
> 
> hit space again. Here's the odd part.  The codec is always reset to 
> RTjpeg.  I use Hardware MJPEG.  I'm not sure if the settings are 
> sticking when I change them or if Recordings Profiles is ignoring them 
> when reloading.
Your profiles look like they are corrupt.
how about sending me he following:
select * from profilegroups;
select * from recordingprofiles;
select * from capturecard;


> 
> Did the default audio settings for the PVR-250 change?  They were 48000 
> and now appear to be 44100.  So I would need to change this to 
> transcode old 48 kHz file vs the new 44.1 kHz audio, correct?
The default will be myth's default (sampling rate is a global variable). 
I'm not sure what the default will be, as it doesn't apopear to be set in
recordingprofiles.cpp

> 
> After hitting space for the "Finish" button I see the large blank blue 
> square.  If I hit space again it takes me back into the recording 
> profile I was just editing.  It I hit escape, it takes me back to the 
> list of profiles.  Escape again exits normally to the previous screen.
> 
> So what's with the big blue box and is it not remember the settings or 
> just not display what they're currently set to?
My guess is you are using mysql <4.0, and updated at a time when the
db-updated was broken (it shouldn't be now).
In any case, this is what you should have:

mysql> select * from profilegroups;
+----+-------------------------+-----------+------------+----------+
| id | name                    | cardtype  | is_default | hostname |
+----+-------------------------+-----------+------------+----------+
|  1 | Software Encoders       | V4L       |          1 | NULL     |
|  2 | Hardware MPEG Encoders  | MPEG      |          1 | NULL     |
|  3 | Hardware MJPEG Encoders | MJPEG     |          1 | NULL     |
|  4 | Transcoders             | TRANSCODE |          1 | NULL     |
+----+-------------------------+-----------+------------+----------+
4 rows in set (0.00 sec)

mysql> select * from recordingprofiles;
+----+--------------+-------------------------+-------------------------+--------------+
| id | name         | videocodec              | audiocodec              |
profilegroup |
+----+--------------+-------------------------+-------------------------+--------------+
|  1 | Default      | MPEG-4                  | MP3                     |
           1 |
|  2 | Live TV      | MPEG-4                  | MP3                     |
           1 |
|  3 | High-Quality | NULL                    | NULL                    |
           1 |
|  4 | Low-Quality  | NULL                    | NULL                    |
           1 |
|  5 | Default      | MPEG-2 Hardware Encoder | MPEG-2 Hardware Encoder |
           2 |
|  6 | Live TV      | MPEG-2 Hardware Encoder | MPEG-2 Hardware Encoder |
           2 |
|  7 | High-Quality | NULL                    | NULL                    |
           2 |
|  8 | Low-Quality  | NULL                    | NULL                    |
           2 |
|  9 | Default      | NULL                    | NULL                    |
           3 |
| 10 | Live TV      | NULL                    | NULL                    |
           3 |
| 11 | High-Quality | NULL                    | NULL                    |
           3 |
| 12 | Low-Quality  | NULL                    | NULL                    |
           3 |
| 13 | RTjpeg/MPEG4 | MPEG-4                  | MP3                     |
           4 |
| 14 | MPEG2        | MPEG-4                  | MP3                     |
           4 |
+----+--------------+-------------------------+-------------------------+--------------+
14 rows in set (0.00 sec)

(In my case, I've only defined default and 'Live TV' for the bttv and
MPEG2 card, and have set the Transcoding profiles for both)

.Geoff


More information about the mythtv-dev mailing list