[mythtv-users] Transcode from MPEG-2 Hardware Encoder -> MPEG-4
Pete Cable
petercable at gmail.com
Wed Feb 22 00:56:05 UTC 2006
On 2/21/06, Rickard Borgmäster <doktorn at sub.nu> wrote:
> Hello,
>
> I try to transcode recordings taken with my PVR-150 into MPEG4. (Using
> current SVN). In the mythbackend logs I see this:
>
> 2006-02-21 23:31:58.268 adding: htpc as a client (events: 0)
> [mpeg @ 0x2aaaab96a5c0]Parser not found for Codec Id: 94210 !
> 0: start_time: 0.036 duration: 334.436
> 1: start_time: 2277.682 duration: 334.446
> 2: start_time: 0.025 duration: 334.413
> stream: start_time: 0.276 duration: 29023.365 bitrate=683 kb/s
> 2006-02-21 23:31:58.555 New DB connection, total: 3
> 2006-02-21 23:31:58.592 NVR::AudioInit() This Unix doesn't support
> device files for audio access. Skipping
> 2006-02-21 23:31:58.685 transcode: Transcode Running
> 2006-02-21 23:31:58.692 Unknown socket closing
>
> And the transcode doesn't get anywhere. Could the Parser error have
> something to do with incorrect naming of Transcoding schemas?
>
> As you can see, the videocodec is set to "MPEG-2 Hardware Encoder". Does
> mythtranscode recognize this? Maybe it expects something like "MPEG2" or
> similar.
>
> Could someone please post a working configuration of this, so that I
> know wether or not to investigate further here?
>
Here's my working config....
mysql> select * from recordingprofiles;
+----+----------------+-------------------------+-------------------------+--------------+
| id | name | videocodec | audiocodec
| profilegroup |
+----+----------------+-------------------------+-------------------------+--------------+
| 1 | Default | NULL | NULL
| 1 |
| 2 | Live TV | NULL | NULL
| 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 | NULL | NULL
| 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 | Default | NULL | NULL
| 4 |
| 14 | Live TV | NULL | NULL
| 4 |
| 15 | High Quality | NULL | NULL
| 4 |
| 16 | Low Quality | NULL | NULL
| 4 |
| 17 | Default | NULL | NULL
| 5 |
| 18 | Live TV | NULL | NULL
| 5 |
| 19 | High Quality | NULL | NULL
| 5 |
| 20 | Low Quality | NULL | NULL
| 5 |
| 21 | RTjpeg/MPEG4 | NULL | NULL
| 6 |
| 22 | MPEG2 | MPEG-4 | MP3
| 6 |
| 23 | Default | NULL | NULL
| 8 |
| 24 | Live TV | NULL | NULL
| 8 |
| 25 | High Quality | NULL | NULL
| 8 |
| 26 | Low Quality | NULL | NULL
| 8 |
| 27 | High Quality | NULL | NULL
| 6 |
| 28 | Medium Quality | NULL | NULL
| 6 |
| 29 | Low Quality | NULL | NULL
| 6 |
+----+----------------+-------------------------+-------------------------+--------------+
29 rows in set (0.00 sec)
and here is codecparams...
mysql> select * from codecparams;
+---------+--------------------------+-----------+
| profile | name | value |
+---------+--------------------------+-----------+
| 22 | transcodelossless | 0 |
| 22 | transcoderesize | 0 |
| 22 | width | 480 |
| 22 | height | 480 |
| 22 | transcodepreserveaspect | 0 |
| 22 | rtjpegquality | 170 |
| 22 | rtjpeglumafilter | 0 |
| 22 | rtjpegchromafilter | 0 |
| 22 | mpeg4bitrate | 2200 |
| 22 | mpeg4maxquality | 2 |
| 22 | mpeg4minquality | 15 |
| 22 | mpeg4qualdiff | 3 |
| 22 | mpeg4scalebitrate | 1 |
| 22 | mpeg4optionvhq | 0 |
| 22 | mpeg4option4mv | 0 |
| 22 | mpeg4optionidct | 0 |
| 22 | mpeg4optionime | 0 |
| 22 | hardwaremjpegquality | 100 |
| 22 | hardwaremjpeghdecimation | 4 |
| 22 | hardwaremjpegvdecimation | 4 |
| 22 | mpeg2streamtype | MPEG-2 PS |
| 22 | mpeg2aspectratio | 4:3 |
| 22 | mpeg2bitrate | 4500 |
| 22 | mpeg2maxbitrate | 6000 |
| 22 | samplerate | 32000 |
| 22 | mp3quality | 7 |
| 22 | volume | 90 |
| 22 | mpeg2audtype | Layer II |
| 22 | mpeg2audbitratel1 | 448 |
| 22 | mpeg2audbitratel2 | 384 |
| 22 | mpeg2audvolume | 90 |
| 5 | autotranscode | 1 |
| 5 | width | 480 |
| 5 | height | 480 |
| 5 | rtjpegquality | 170 |
| 5 | rtjpeglumafilter | 0 |
| 5 | rtjpegchromafilter | 0 |
| 5 | mpeg4bitrate | 2200 |
| 5 | mpeg4maxquality | 2 |
| 5 | mpeg4minquality | 15 |
| 5 | mpeg4qualdiff | 3 |
| 5 | mpeg4scalebitrate | 1 |
| 5 | mpeg4optionvhq | 0 |
| 5 | mpeg4option4mv | 0 |
| 5 | mpeg4optionidct | 0 |
| 5 | mpeg4optionime | 0 |
| 5 | hardwaremjpegquality | 100 |
| 5 | hardwaremjpeghdecimation | 4 |
| 5 | hardwaremjpegvdecimation | 4 |
| 5 | mpeg2streamtype | MPEG-2 PS |
| 5 | mpeg2aspectratio | 4:3 |
| 5 | mpeg2bitrate | 4500 |
| 5 | mpeg2maxbitrate | 6000 |
| 5 | samplerate | 32000 |
| 5 | mp3quality | 7 |
| 5 | volume | 90 |
| 5 | mpeg2audtype | Layer II |
| 5 | mpeg2audbitratel1 | 448 |
| 5 | mpeg2audbitratel2 | 384 |
| 5 | mpeg2audvolume | 95 |
+---------+--------------------------+-----------+
60 rows in set (0.00 sec)
mysql> select * from profilegroups ;
+----+----------------------------------------------------------+-----------+------------+----------+
| id | name |
cardtype | is_default | hostname |
+----+----------------------------------------------------------+-----------+------------+----------+
| 1 | Software Encoders (v4l based) | V4L
| 1 | NULL |
| 2 | MPEG-2 Encoders (PVR-250, PVR-350) | MPEG
| 1 | NULL |
| 3 | Hardware MJPEG Encoders (Matrox G200-TV, Miro DC10, etc) |
MJPEG | 1 | NULL |
| 4 | Hardware HDTV | HDTV
| 1 | NULL |
| 5 | Hardware DVB Encoders | DVB
| 1 | NULL |
| 6 | Transcoders |
TRANSCODE | 1 | NULL |
| 7 | FireWire Input |
FIREWIRE | 1 | NULL |
| 8 | USB Mpeg-4 Encoder (Plextor ConvertX, etc) |
GO7007 | 1 | NULL |
| 9 | DBOX2 Input |
DBOX2 | 1 | NULL |
+----+----------------------------------------------------------+-----------+------------+----------+
9 rows in set (0.00 sec)
mysql>
that was from 0.19...hope it helps.
--
Pete
More information about the mythtv-users
mailing list