[mythtv-users] how to select transcoding profiles?

Daniel Carter dantheperson at gmail.com
Sun Aug 31 23:18:28 UTC 2008


And to answer my own question again....

Seems it's a bug in myth that any new transcode profiles are available for
automatic transcode, but the manual transcode from the frontend only allows
you to select the fixed list of profiles myth ships with as default.

Still can't find anyway to specifiy a profile at all when instigating a
transcode from mythweb.  Any ideas people?  Or is it hardcoded to use
autodetect?

2008/8/31 Daniel Carter <dantheperson at gmail.com>

> OK, to answer my own issue,
>
> I saw went into Utilities / Setup -> Setup -> TV Settings -> Recording
> profiles -> Transcoders -> Autodetect from MPEG2
>
> opened the settings and saved them, and now it works.  Looks like a bug in
> myth that you have to open and save a profile before it can be used ( maybe
> something to do with upgrading from older releases compared to a clean
> install )
>
> The questions remains though, how can i selet different transcoding
> profiles when transcoding?
>
> Also, i thought there was a setting to have it keep the original file?  I
> can't find it now, but it would be very useful to have until i am happy with
> the transcode results.
>
>
> 2008/8/31 Daniel Carter <dantheperson at gmail.com>
>
> Hello all,
>>
>> I'm trying to get transcode to work from the broadcast MPEG2 (UK freeview
>> DVB-T) to DIVX to save some space.
>>
>> Trying a manual job, if i trigger it either from the front-end or mythweb,
>> it errors out with a message "No video information found!"
>>
>> Looking at the code, this seems to indicate i haven't set the transcoder
>> profile to use.  I have setup a my own transcoder profile under:
>>
>> Utilities / Setup -> Setup -> Tv Settings -> Recording Profiles ->
>> Transcoders
>>
>> However, when i transcode from the front-end ( Media Library -> Watch
>> recordings -> <my recording> -> job options -> being transcoding )
>>
>> the options it gives me are Default / auto detect/ high quality / medium
>> quality / low quality. The new transcoding profile i have setup is not
>> there.
>>
>> If i use mythweb, it doens't prompt me for a profile at all.
>>
>> Where do i need to tell it to which transcode profile to use???
>>
>>
>> TIA,
>> dan.
>>
>> 00563         if (vidsetting == "MPEG-4")
>>
>> 00564         {
>> 00565             nvr <http://cuymedia.org/mythtv-0.21/classTranscode.html#28fa9dcc8640e99bbf75e8d2820a94d4>->SetOption <http://cuymedia.org/mythtv-0.21/classNuppelVideoRecorder.html#ddaf0e8a8ea326823ce1da88e8e8e56c>("videocodec", "mpeg4");
>>
>> 00566
>> 00567             nvr <http://cuymedia.org/mythtv-0.21/classTranscode.html#28fa9dcc8640e99bbf75e8d2820a94d4>->SetIntOption <http://cuymedia.org/mythtv-0.21/classRecorderBase.html#ea7962a2d7c0812dabc594a9eeaafc99>(&profile <http://cuymedia.org/mythtv-0.21/classTranscode.html#9c370550e28c5034d741ced95df4431e>, "mpeg4bitrate");
>>
>> 00568             nvr <http://cuymedia.org/mythtv-0.21/classTranscode.html#28fa9dcc8640e99bbf75e8d2820a94d4>->SetIntOption <http://cuymedia.org/mythtv-0.21/classRecorderBase.html#ea7962a2d7c0812dabc594a9eeaafc99>(&profile <http://cuymedia.org/mythtv-0.21/classTranscode.html#9c370550e28c5034d741ced95df4431e>, "scalebitrate");
>>
>> 00569             nvr <http://cuymedia.org/mythtv-0.21/classTranscode.html#28fa9dcc8640e99bbf75e8d2820a94d4>->SetIntOption <http://cuymedia.org/mythtv-0.21/classRecorderBase.html#ea7962a2d7c0812dabc594a9eeaafc99>(&profile <http://cuymedia.org/mythtv-0.21/classTranscode.html#9c370550e28c5034d741ced95df4431e>, "mpeg4maxquality");
>>
>> 00570             nvr <http://cuymedia.org/mythtv-0.21/classTranscode.html#28fa9dcc8640e99bbf75e8d2820a94d4>->SetIntOption <http://cuymedia.org/mythtv-0.21/classRecorderBase.html#ea7962a2d7c0812dabc594a9eeaafc99>(&profile <http://cuymedia.org/mythtv-0.21/classTranscode.html#9c370550e28c5034d741ced95df4431e>, "mpeg4minquality");
>>
>> 00571             nvr <http://cuymedia.org/mythtv-0.21/classTranscode.html#28fa9dcc8640e99bbf75e8d2820a94d4>->SetIntOption <http://cuymedia.org/mythtv-0.21/classRecorderBase.html#ea7962a2d7c0812dabc594a9eeaafc99>(&profile <http://cuymedia.org/mythtv-0.21/classTranscode.html#9c370550e28c5034d741ced95df4431e>, "mpeg4qualdiff");
>>
>> 00572             nvr <http://cuymedia.org/mythtv-0.21/classTranscode.html#28fa9dcc8640e99bbf75e8d2820a94d4>->SetIntOption <http://cuymedia.org/mythtv-0.21/classRecorderBase.html#ea7962a2d7c0812dabc594a9eeaafc99>(&profile <http://cuymedia.org/mythtv-0.21/classTranscode.html#9c370550e28c5034d741ced95df4431e>, "mpeg4optionvhq");
>>
>> 00573             nvr <http://cuymedia.org/mythtv-0.21/classTranscode.html#28fa9dcc8640e99bbf75e8d2820a94d4>->SetIntOption <http://cuymedia.org/mythtv-0.21/classRecorderBase.html#ea7962a2d7c0812dabc594a9eeaafc99>(&profile <http://cuymedia.org/mythtv-0.21/classTranscode.html#9c370550e28c5034d741ced95df4431e>, "mpeg4option4mv");
>>
>> 00574             nvr <http://cuymedia.org/mythtv-0.21/classTranscode.html#28fa9dcc8640e99bbf75e8d2820a94d4>->SetupAVCodecVideo <http://cuymedia.org/mythtv-0.21/classNuppelVideoRecorder.html#0f3313ce72efa524d6e6d44c3d52994c>();
>>
>> 00575         }
>> 00576         else if (vidsetting == "RTjpeg")
>> 00577         {
>> 00578             nvr <http://cuymedia.org/mythtv-0.21/classTranscode.html#28fa9dcc8640e99bbf75e8d2820a94d4>->SetOption <http://cuymedia.org/mythtv-0.21/classNuppelVideoRecorder.html#ddaf0e8a8ea326823ce1da88e8e8e56c>("videocodec", "rtjpeg");
>>
>> 00579             nvr <http://cuymedia.org/mythtv-0.21/classTranscode.html#28fa9dcc8640e99bbf75e8d2820a94d4>->SetIntOption <http://cuymedia.org/mythtv-0.21/classRecorderBase.html#ea7962a2d7c0812dabc594a9eeaafc99>(&profile <http://cuymedia.org/mythtv-0.21/classTranscode.html#9c370550e28c5034d741ced95df4431e>, "rtjpegquality");
>>
>> 00580             nvr <http://cuymedia.org/mythtv-0.21/classTranscode.html#28fa9dcc8640e99bbf75e8d2820a94d4>->SetIntOption <http://cuymedia.org/mythtv-0.21/classRecorderBase.html#ea7962a2d7c0812dabc594a9eeaafc99>(&profile <http://cuymedia.org/mythtv-0.21/classTranscode.html#9c370550e28c5034d741ced95df4431e>, "rtjpegchromafilter");
>>
>> 00581             nvr <http://cuymedia.org/mythtv-0.21/classTranscode.html#28fa9dcc8640e99bbf75e8d2820a94d4>->SetIntOption <http://cuymedia.org/mythtv-0.21/classRecorderBase.html#ea7962a2d7c0812dabc594a9eeaafc99>(&profile <http://cuymedia.org/mythtv-0.21/classTranscode.html#9c370550e28c5034d741ced95df4431e>, "rtjpeglumafilter");
>>
>> 00582             nvr <http://cuymedia.org/mythtv-0.21/classTranscode.html#28fa9dcc8640e99bbf75e8d2820a94d4>->SetupRTjpeg <http://cuymedia.org/mythtv-0.21/classNuppelVideoRecorder.html#00d6ac22bd42be93d9d162de97ac85ae>();
>>
>> 00583         }
>> 00584         else if (vidsetting == "")
>> 00585         {
>>
>> 00586             VERBOSE <http://cuymedia.org/mythtv-0.21/namespaceofdb.html#afe7a317e0f140b219faaa8536db264d>(VB_IMPORTANT, "No video information found!");
>>
>> 00587             VERBOSE <http://cuymedia.org/mythtv-0.21/namespaceofdb.html#afe7a317e0f140b219faaa8536db264d>(VB_IMPORTANT, "Please ensure that recording profiles "
>>
>> 00588                                   "for the transcoder are set");
>> 00589             return REENCODE_ERROR;
>>
>> 00590         }
>>
>>
>>
>>
>>
>> 2008-08-31 16:57:16.898 JobQueue: Transcode Starting for Family Guy
>> "Ready, Willing and Disabled": Auto
>> detect (710.7 MB)
>> 2008-08-31 16:57:19.626 Using runtime prefix = /usr, libdir = /usr/lib
>> 2008-08-31 16:57:19.801 Empty LocalHostName.
>> 2008-08-31 16:57:19.831 Using localhost value of rebirth
>> 2008-08-31 16:57:20.434 New DB connection, total: 1
>> 2008-08-31 16:57:22.869 Connected to database 'mythconverg' at host:
>> localhost
>> 2008-08-31 16:57:22.890 Closing DB connection named 'DBManager0'
>> 2008-08-31 16:57:22.898 Connected to database 'mythconverg' at host:
>> localhost
>> 2008-08-31 16:57:22.959 Enabled verbose msgs: important
>> 2008-08-31 16:57:23.014 New DB connection, total: 2
>> 2008-08-31 16:57:23.488 Connected to database 'mythconverg' at host:
>> localhost
>> 2008-08-31 16:57:24.131 Transcoding from
>> /var/lib/mythtv/recordings/1007_20080827222500.mpg to
>> /var/lib/mythtv/recordings/1007_20080827222500.mpg.tmp
>> 2008-08-31 16:57:26.300 Connecting to backend server: 10.1.1.254:6543(try 1 of 5)
>> 2008-08-31 16:57:27.164 Using protocol version 40
>> 2008-08-31 16:57:27.509 MainServer::HandleAnnounce Monitor
>> 2008-08-31 16:57:27.770 adding: rebirth as a client (events: 0)
>> 2008-08-31 16:57:27.909 MainServer::HandleAnnounce Monitor
>> 2008-08-31 16:57:28.143 adding: rebirth as a client (events: 1)
>> 2008-08-31 16:57:34.562 AFD: Opened codec 0x81edd20, id(MPEG2VIDEO)
>> type(Video)
>> 2008-08-31 16:57:34.758 AFD: codec MP3 has 2 channels
>> 2008-08-31 16:57:34.839 AFD: Opened codec 0x81ee360, id(MP3) type(Audio)
>> 2008-08-31 16:57:34.923 AFD: Opened codec 0x81ee9a0, id(DVB_SUBTITLE)
>> type(Subtitle)
>> 2008-08-31 16:57:34.936 AFD: codec MP3 has 0 channels
>> 2008-08-31 16:57:35.010 AFD: Opened codec 0x81eefe0, id(MP3) type(Audio)
>> 2008-08-31 16:57:40.207 Transcode: Looking for autodetect profile:
>> Autodetect from 576i
>> 2008-08-31 16:57:40.526 New DB connection, total: 3
>> 2008-08-31 16:57:40.823 Connected to database 'mythconverg' at host:
>> localhost
>> 2008-08-31 16:57:42.269 Transcode: Using autodetect profile: MPEG2
>> 2008-08-31 16:57:42.443 No video information found!
>> 2008-08-31 16:57:42.598 Please ensure that recording profiles for the
>> transcoder are set
>> 2008-08-31 16:57:42.756 Transcoding
>> /var/lib/mythtv/recordings/1007_20080827222500.mpg failed
>> 2008-08-31 16:57:43.043 Deleting
>> /var/lib/mythtv/recordings/1007_20080827222500.mpg.tmp
>> 2008-08-31 16:57:46.917 MainServer::HandleAnnounce Playback
>> 2008-08-31 16:57:46.922 adding: rebirth as a client (events: 0)
>> 2008-08-31 16:57:46.926 MainServer::HandleAnnounce FileTransfer
>> 2008-08-31 16:57:46.932 adding: rebirth as a remote file transfer
>> 2008-08-31 16:57:47.062 MythSocket(841ef48:-1): writeStringList: Error,
>> socket went unconnected.
>> 2008-08-31 16:57:47.144 JobQueue: Transcode Errored: Family Guy "Ready,
>> Willing and Disabled": Autodetect (exit status 255, job status was
>> "Errored")
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080901/5f94c98b/attachment-0001.htm 


More information about the mythtv-users mailing list