[mythtv-users] mythtranscode error - Couldn't find profile for : H.264

Mike Perkins mikep at randomtraveller.org.uk
Sat Oct 3 12:05:25 UTC 2015


On 02/10/15 22:08, Michael wrote:
> Hello,
>
> I am running myth 0.27.4 (0.27.4-6.fc22.x86_64, v0.27.4-64-g8fd277b) from RPMfusion on x86_64 Fedora
> 22.
>
> I have a couple of shows that were recorded from satellite using the HDPVR.
>
> My goal is to edit these shows and remove the commercials manually. In the frontend, I have edited
> the show, loaded the cutlist, adjusted to exactly what I want.  Then I press 'X' to transcode.
>
> In the mythtranscode logs however, I am seeing an error:
>
>
> 2015-10-02 13:48:05.106089 C [15990/15990] thread_unknown mythcommandlineparser.cpp:2595
> (ConfigureLogging) - mythtranscode version: fixes/0.27 [v0.27.4-64-g8fd277b] www.mythtv.org
> 2015-10-02 13:48:05.106094 C [15990/15990] thread_unknown mythcommandlineparser.cpp:2597
> (ConfigureLogging) - Qt version: compile: 4.8.6, runtime: 4.8.6
> 2015-10-02 13:48:05.106096 N [15990/15990] thread_unknown mythcommandlineparser.cpp:2599
> (ConfigureLogging) - Enabled verbose msgs:  general
> 2015-10-02 13:48:05.106117 N [15990/15990] thread_unknown logging.cpp:907 (logStart) - Setting Log
> Level to LOG_INFO
> 2015-10-02 13:48:05.116457 I [15990/15993] Logger logging.cpp:308 (run) - Added logging to the console
> 2015-10-02 13:48:05.116650 I [15990/15990] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate)
> - Setup Interrupt handler
> 2015-10-02 13:48:05.116663 I [15990/15990] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate)
> - Setup Terminated handler
> 2015-10-02 13:48:05.116666 I [15990/15990] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate)
> - Setup Segmentation fault handler
> 2015-10-02 13:48:05.116668 I [15990/15990] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate)
> - Setup Aborted handler
> 2015-10-02 13:48:05.116671 I [15990/15990] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate)
> - Setup Bus error handler
> 2015-10-02 13:48:05.116675 I [15990/15990] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate)
> - Setup Floating point exception handler
> 2015-10-02 13:48:05.116677 I [15990/15990] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate)
> - Setup Illegal instruction handler
> 2015-10-02 13:48:05.116681 I [15990/15990] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate)
> - Setup Real-time signal 0 handler
> 2015-10-02 13:48:05.116697 N [15990/15990] thread_unknown mythdirs.cpp:55 (InitializeMythDirs) -
> Using runtime prefix = /usr
> 2015-10-02 13:48:05.116699 N [15990/15990] thread_unknown mythdirs.cpp:61 (InitializeMythDirs) -
> Read conf dir = /etc/mythtv
> 2015-10-02 13:48:05.116703 N [15990/15990] thread_unknown mythdirs.cpp:68 (InitializeMythDirs) -
> Using configuration directory = /etc/mythtv
> 2015-10-02 13:48:05.116732 I [15990/15990] CoreContext mythcorecontext.cpp:257 (Init) - Assumed
> character encoding: en_US.UTF-8
> 2015-10-02 13:48:05.116783 E [15990/15990] CoreContext configuration.cpp:67 (Load) - Error parsing:
> /etc/mythtv/config.xml at line: 1  column: 1
> 2015-10-02 13:48:05.116785 E [15990/15990] CoreContext configuration.cpp:69 (Load) - Error Msg:
> unexpected end of file
> 2015-10-02 13:48:05.116800 E [15990/15990] CoreContext mythdbparams.cpp:39 (IsValid) - DBHostName is
> not set in config.xml
> 2015-10-02 13:48:05.116808 E [15990/15990] CoreContext mythdbparams.cpp:39 (IsValid) - DBHostName is
> not set in config.xml
> 2015-10-02 13:48:05.116812 N [15990/15990] CoreContext mythcontext.cpp:504 (LoadDatabaseSettings) -
> Empty LocalHostName.
> 2015-10-02 13:48:05.116814 I [15990/15990] CoreContext mythcontext.cpp:512 (LoadDatabaseSettings) -
> Using localhost value of deathstar
> 2015-10-02 13:48:05.132140 N [15990/15990] CoreContext mythcorecontext.cpp:1634 (InitLocale) -
> Setting QT default locale to en_US
> 2015-10-02 13:48:05.132165 I [15990/15990] CoreContext mythcorecontext.cpp:1667 (SaveLocaleDefaults)
> - Current locale en_US
> 2015-10-02 13:48:05.132178 N [15990/15990] CoreContext mythlocale.cpp:121 (LoadDefaultsFromXML) -
> Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
> 2015-10-02 13:48:05.133301 I [15990/15990] CoreContext mythtranslation.cpp:65 (load) - Loading en_us
> translation for module mythfrontend
> 2015-10-02 13:48:05.134293 N [15990/15990] CoreContext main.cpp:569 (main) - Transcoding from
> /mythtv/recordings/9290_20151002130000.mpg to /mythtv/recordings/9290_20151002130000.mpg.tmp
> 2015-10-02 13:48:05.158777 I [15990/15990] CoreContext avformatdecoder.cpp:2141 (ScanStreams) - AFD:
> codec AC3 has 6 channels
> 2015-10-02 13:48:05.158915 I [15990/15990] CoreContext avformatdecoder.cpp:2632 (OpenAVCodec) - AFD:
> Opened codec 0xaa7cc0, id(AC3) type(Audio)
> 2015-10-02 13:48:05.159875 I [15990/15990] CoreContext avformatdecoder.cpp:2632 (OpenAVCodec) - AFD:
> Opened codec 0xaa7520, id(H264) type(Video)
> 2015-10-02 13:48:05.159904 N [15990/15990] CoreContext audioplayer.cpp:164 (ReinitAudio) -
> AudioPlayer: Enabling Audio
> 2015-10-02 13:48:05.161982 I [15990/15990] CoreContext transcode.cpp:310 (TranscodeFile) - Honoring
> the cutlist while transcoding
> 2015-10-02 13:48:05.162173 I [15990/15990] CoreContext transcode.cpp:343 (TranscodeFile) -
> Cutlist        : 0-6758,82897-107517
> 2015-10-02 13:48:05.162175 I [15990/15990] CoreContext transcode.cpp:345 (TranscodeFile) - Original
> Length: 107517 frames
> 2015-10-02 13:48:05.162177 I [15990/15990] CoreContext transcode.cpp:347 (TranscodeFile) - New
> Length     : 76139 frames
> 2015-10-02 13:48:05.162528 N [15990/15990] CoreContext transcode.cpp:111 (GetProfile) - Transcode:
> Looking for autodetect profile: Autodetect from 720p
> 2015-10-02 13:48:05.162603 E [15990/15990] CoreContext transcode.cpp:129 (GetProfile) - Transcode:
> Couldn't find profile for : H.264
> 2015-10-02 13:48:05.162605 E [15990/15990] CoreContext transcode.cpp:620 (TranscodeFile) -
> Transcoding aborted, no profile found.
> 2015-10-02 13:48:05.163135 E [15990/15990] CoreContext main.cpp:724 (main) - Transcoding
> /mythtv/recordings/9290_20151002130000.mpg failed
> 2015-10-02 13:48:05.163308 N [15990/15990] CoreContext main.cpp:1090 (CompleteJob) - Deleting
> /mythtv/recordings/9290_20151002130000.mpg.tmp
> 2015-10-02 13:48:05.163445 N [15990/15990] CoreContext main.cpp:749 (transUnlink) - Requesting
> delete for file 'myth://Default@deathstar/9290_20151002130000.mpg.tmp'.
> 2015-10-02 13:48:05.164066 I [15990/15990] CoreContext mythcorecontext.cpp:426
> (ConnectCommandSocket) - MythCoreContext: Connecting to backend server: 192.168.101.10:6543 (try 1
> of 1)
> 2015-10-02 13:48:05.164660 I [15990/15990] CoreContext mythcorecontext.cpp:1547 (CheckProtoVersion)
> - Using protocol version 77
> 2015-10-02 13:48:05.165278 N [15990/15990] CoreContext main.cpp:755 (transUnlink) - Deleting file
> '/mythtv/recordings/9290_20151002130000.mpg.tmp'.
> 2015-10-02 13:48:05.165521 I [15990/15990] CoreContext mythcontext.cpp:1194 (~MythContext) - Waiting
> for threads to exit.
> 2015-10-02 13:48:05.216762 I [15990/15992] LogForward loggingserver.cpp:1373 (forwardMessage) - New
> Client:  (#1)
> 2015-10-02 13:48:05.216789 I [15990/15992] LogForward loggingserver.cpp:142 (FileLogger) - Added
> logging to /var/log/mythtv/mythtranscode.20151002204805.15990.log
>
>
> This error sticks out to me:
>
> 2015-10-02 13:48:05.162528 N [15990/15990] CoreContext transcode.cpp:111 (GetProfile) - Transcode:
> Looking for autodetect profile: Autodetect from 720p
> 2015-10-02 13:48:05.162603 E [15990/15990] CoreContext transcode.cpp:129 (GetProfile) - Transcode:
> Couldn't find profile for : H.264
> 2015-10-02 13:48:05.162605 E [15990/15990] CoreContext transcode.cpp:620 (TranscodeFile) -
> Transcoding aborted, no profile found.
>
>
> I am not sure what is missing exactly or how to fix it.
>
> Any suggestions?
>
> Michael
>
well, I would say that these look fairly important:

2015-10-02 13:48:05.116783 E [15990/15990] CoreContext configuration.cpp:67 (Load) - Error parsing:
/etc/mythtv/config.xml at line: 1  column: 1
2015-10-02 13:48:05.116785 E [15990/15990] CoreContext configuration.cpp:69 (Load) - Error Msg:
unexpected end of file

Without a valid config.xml file, there's no way to tell what the program is using for defaults.

It probably means that you are running with the wrong user; and that in turn will mean that the 
files you are trying to operate on will have the wrong permissions set.

-- 

Mike Perkins



More information about the mythtv-users mailing list