mythtranscode error 128

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
nello
Junior
Posts: 27
Joined: Sun Mar 08, 2015 7:33 pm
United States of America

mythtranscode error 128

Post by nello » Thu Jun 09, 2016 4:47 pm

I'm trying to flag and remove commercials in a user script. The basic flow is:
- Flag commercials with mythcommflag
- Create cutlist with mythutil
- Create commercial-free mpeg2 file with mythtranscode

The full logs from each of these steps are below.

Mythcommflag seems to flag commercials fine, though it does throw one error:

Code: Select all

2016-06-09 02:08:44.879893 E [11834/102060] Decoder avformatdecoder.cpp:4955 (GetFrame) - decoding error

Mythutil runs without any errors.


Mythtranscode throws hundreds of warnings about finding a partial frame and ultimately throws an error because it runs out of queue slots and then returns error code 128:

Code: Select all

2016-06-09 02:08:49.888156 W [12175/101807] CoreContext mpeg2fix.cpp:916 (ProcessVideo) - Warning: partial frame found!
...
2016-06-09 02:08:51.532184 E [12175/101807] CoreContext mpeg2fix.cpp:1250 (GetPoolFrame) - No more queue slots!




This sequence of warnings and errors occurs with all recordings, regardless of channel or time of day.

How can I get around this error in mythtranscode in order to produce commercial free recordings?

Thank you.

- nello




Full mythcommflag log:

Code: Select all

root@mythtv:/var/log/mythtv # cat mythcommflag.20160609070145.11834.log
2016-06-09 02:01:45.505792 C [11834/100622] thread_unknown mythcommandlineparser.cpp:2595 (ConfigureLogging) - mythcommflag version: tag: v0.27.5 [ad97d24] www.mythtv.org
2016-06-09 02:01:45.506030 C [11834/100622] thread_unknown mythcommandlineparser.cpp:2597 (ConfigureLogging) - Qt version: compile: 4.8.7, runtime: 4.8.7
2016-06-09 02:01:45.506048 N [11834/100622] thread_unknown mythcommandlineparser.cpp:2599 (ConfigureLogging) - Enabled verbose msgs:  general
2016-06-09 02:01:45.506283 N [11834/100622] thread_unknown logging.cpp:907 (logStart) - Setting Log Level to LOG_DEBUG
2016-06-09 02:01:45.531141 I [11834/100622] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Interrupt: 2 handler
2016-06-09 02:01:45.531158 I [11834/100622] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Terminated: 15 handler
2016-06-09 02:01:45.531172 I [11834/100622] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Segmentation fault: 11 handler
2016-06-09 02:01:45.531181 I [11834/100622] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Abort trap: 6 handler
2016-06-09 02:01:45.531193 I [11834/100622] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Bus error: 10 handler
2016-06-09 02:01:45.531202 I [11834/100622] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Floating point exception: 8 handler
2016-06-09 02:01:45.531214 I [11834/100622] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Illegal instruction: 4 handler
2016-06-09 02:01:45.531229 I [11834/100622] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Unknown signal: 65 handler
2016-06-09 02:01:45.531325 N [11834/100622] thread_unknown mythdirs.cpp:55 (InitializeMythDirs) - Using runtime prefix = /usr/local
2016-06-09 02:01:45.531353 N [11834/100622] thread_unknown mythdirs.cpp:68 (InitializeMythDirs) - Using configuration directory = /var/lib/mythtv/.mythtv
2016-06-09 02:01:45.531676 I [11834/100622] CoreContext mythcorecontext.cpp:257 (Init) - Assumed character encoding: en_US.UTF-8
2016-06-09 02:01:45.532803 N [11834/100622] CoreContext mythcontext.cpp:504 (LoadDatabaseSettings) - Empty LocalHostName.
2016-06-09 02:01:45.532841 I [11834/100622] CoreContext mythcontext.cpp:512 (LoadDatabaseSettings) - Using localhost value of mythtv
2016-06-09 02:01:45.561433 D [11834/100622] CoreContext mythcontext.cpp:432 (FindDatabase) - FindDatabase() - Success!
2016-06-09 02:01:45.640563 I [11834/102043] Logger logging.cpp:308 (run) - Added logging to the console
2016-06-09 02:01:45.685382 N [11834/100622] CoreContext mythcorecontext.cpp:1634 (InitLocale) - Setting QT default locale to en_US
2016-06-09 02:01:45.685548 I [11834/100622] CoreContext mythcorecontext.cpp:1667 (SaveLocaleDefaults) - Current locale en_US
2016-06-09 02:01:45.685791 N [11834/100622] CoreContext mythlocale.cpp:121 (LoadDefaultsFromXML) - Reading locale defaults from /usr/local/share/mythtv//locales/en_us.xml
2016-06-09 02:01:45.724541 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'AggressiveCommDetect' being forced to '1'
2016-06-09 02:01:45.724821 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'BlankFrameDetectorDebugLevel' being forced to '0'
2016-06-09 02:01:45.724835 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'BorderDetectorDebugLevel' being forced to '0'
2016-06-09 02:01:45.724844 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectBlankCanHaveLogo' being forced to '0'
2016-06-09 02:01:45.724856 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectBlankFrameMaxDiff' being forced to '25'
2016-06-09 02:01:45.724900 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectBorder' being forced to '20'
2016-06-09 02:01:45.724912 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectBoxBrightness' being forced to '30'
2016-06-09 02:01:45.724923 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectDarkBrightness' being forced to '80'
2016-06-09 02:01:45.724931 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectDimAverage' being forced to '35'
2016-06-09 02:01:45.724943 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectDimBrightness' being forced to '120'
2016-06-09 02:01:45.724950 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectLogoBadEdgeThreshold' being forced to '0.85'
2016-06-09 02:01:45.724962 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectLogoGoodEdgeThreshold' being forced to '0.75'
2016-06-09 02:01:45.724972 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectLogoSampleSpacing' being forced to '2'
2016-06-09 02:01:45.724984 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectLogoSamplesNeeded' being forced to '240'
2016-06-09 02:01:45.724995 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectMaxCommBreakLength' being forced to '240'
2016-06-09 02:01:45.725004 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectMaxCommLength' being forced to '125'
2016-06-09 02:01:45.725015 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectMinCommBreakLength' being forced to '75'
2016-06-09 02:01:45.725023 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectMinShowLength' being forced to '90'
2016-06-09 02:01:45.725035 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommercialSkipMethod' being forced to '7'
2016-06-09 02:01:45.725043 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'HistogramAnalyzerDebugLevel' being forced to '0'
2016-06-09 02:01:45.725054 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'JobQueueCPU' being forced to '0'
2016-06-09 02:01:45.725062 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'SceneChangeDetectorDebugLevel' being forced to '0'
2016-06-09 02:01:45.725075 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'TemplateFinderDebugLevel' being forced to '0'
2016-06-09 02:01:45.725086 N [11834/100622] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'TemplateMatcherDebugLevel' being forced to '0'
2016-06-09 02:01:45.726784 I [11834/100622] CoreContext mythtranslation.cpp:65 (load) - Loading en_us translation for module mythfrontend
2016-06-09 02:01:45.795243 I [11834/102042] LogForward loggingserver.cpp:1373 (forwardMessage) - New Client:  (#1)
2016-06-09 02:01:45.795894 I [11834/102042] LogForward loggingserver.cpp:142 (FileLogger) - Added logging to /var/log/mythtv/mythcommflag.20160609070145.11834.log
2016-06-09 02:01:45.844909 I [11834/100622] CoreContext avformatdecoder.cpp:2141 (ScanStreams) - AFD: codec AC3 has 2 channels
2016-06-09 02:01:45.845384 I [11834/100622] CoreContext avformatdecoder.cpp:2632 (OpenAVCodec) - AFD: Opened codec 0x8122bb300, id(AC3) type(Audio)
2016-06-09 02:01:45.858822 I [11834/100622] CoreContext avformatdecoder.cpp:2632 (OpenAVCodec) - AFD: Opened codec 0x8122bae00, id(H264) type(Video)
2016-06-09 02:01:45.895300 I [11834/102051] SendMessage mythcorecontext.cpp:426 (ConnectCommandSocket) - MythCoreContext: Connecting to backend server: 10.10.49.13:6543 (try 1 of 1)
2016-06-09 02:01:45.926635 I [11834/100622] CoreContext ClassicCommDetector.cpp:367 (go) - Finding Logo
2016-06-09 02:01:45.939484 I [11834/102051] SendMessage mythcorecontext.cpp:1547 (CheckProtoVersion) - Using protocol version 77
2016-06-09 02:05:56.813055 I [11834/100622] CoreContext ClassicCommDetector.cpp:545 (go) - 0% Completed @ 862.069 fps.
2016-06-09 02:06:13.290844 I [11834/100622] CoreContext ClassicCommDetector.cpp:545 (go) - 10% Completed @ 325.419 fps.
2016-06-09 02:06:30.536851 I [11834/100622] CoreContext ClassicCommDetector.cpp:545 (go) - 20% Completed @ 319.149 fps.
2016-06-09 02:06:47.400168 I [11834/100622] CoreContext ClassicCommDetector.cpp:545 (go) - 30% Completed @ 319.501 fps.
2016-06-09 02:07:02.797041 I [11834/100622] CoreContext ClassicCommDetector.cpp:545 (go) - 40% Completed @ 326.778 fps.
2016-06-09 02:07:20.205260 I [11834/100622] CoreContext ClassicCommDetector.cpp:545 (go) - 50% Completed @ 323.322 fps.
2016-06-09 02:07:36.443057 I [11834/100622] CoreContext ClassicCommDetector.cpp:545 (go) - 60% Completed @ 324.825 fps.
2016-06-09 02:07:54.165894 I [11834/100622] CoreContext ClassicCommDetector.cpp:545 (go) - 70% Completed @ 321.787 fps.
2016-06-09 02:08:13.213502 I [11834/100622] CoreContext ClassicCommDetector.cpp:545 (go) - 80% Completed @ 316.444 fps.
2016-06-09 02:08:29.629072 I [11834/100622] CoreContext ClassicCommDetector.cpp:545 (go) - 90% Completed @ 317.788 fps.
2016-06-09 02:08:44.879893 E [11834/102060] Decoder avformatdecoder.cpp:4955 (GetFrame) - decoding error
			eno: Unknown error: 541478725 (541478725)
2016-06-09 02:08:47.082486 N [11834/100622] CoreContext main.cpp:948 (FlagCommercials) - Finished, 4 break(s) found.
2016-06-09 02:08:47.110720 I [11834/100622] CoreContext mythcontext.cpp:1194 (~MythContext) - Waiting for threads to exit.
root@mythtv:/var/log/mythtv # 

Full mythutil log:

Code: Select all

root@mythtv:/var/log/mythtv # cat mythutil.20160609070849.12169.log
2016-06-09 02:08:49.086206 C [12169/101807] thread_unknown mythcommandlineparser.cpp:2595 (ConfigureLogging) - mythutil version: tag: v0.27.5 [ad97d24] www.mythtv.org
2016-06-09 02:08:49.086439 C [12169/101807] thread_unknown mythcommandlineparser.cpp:2597 (ConfigureLogging) - Qt version: compile: 4.8.7, runtime: 4.8.7
2016-06-09 02:08:49.086457 N [12169/101807] thread_unknown mythcommandlineparser.cpp:2599 (ConfigureLogging) - Enabled verbose msgs:  general
2016-06-09 02:08:49.086669 N [12169/101807] thread_unknown logging.cpp:907 (logStart) - Setting Log Level to LOG_DEBUG
2016-06-09 02:08:49.100945 I [12169/102044] Logger logging.cpp:308 (run) - Added logging to the console
2016-06-09 02:08:49.101774 I [12169/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Interrupt: 2 handler
2016-06-09 02:08:49.101788 I [12169/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Terminated: 15 handler
2016-06-09 02:08:49.101803 I [12169/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Segmentation fault: 11 handler
2016-06-09 02:08:49.101812 I [12169/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Abort trap: 6 handler
2016-06-09 02:08:49.101824 I [12169/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Bus error: 10 handler
2016-06-09 02:08:49.101833 I [12169/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Floating point exception: 8 handler
2016-06-09 02:08:49.101856 I [12169/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Illegal instruction: 4 handler
2016-06-09 02:08:49.101871 I [12169/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Unknown signal: 65 handler
2016-06-09 02:08:49.102047 N [12169/101807] thread_unknown mythdirs.cpp:55 (InitializeMythDirs) - Using runtime prefix = /usr/local
2016-06-09 02:08:49.102086 N [12169/101807] thread_unknown mythdirs.cpp:68 (InitializeMythDirs) - Using configuration directory = /var/lib/mythtv/.mythtv
2016-06-09 02:08:49.102413 I [12169/101807] CoreContext mythcorecontext.cpp:257 (Init) - Assumed character encoding: en_US.UTF-8
2016-06-09 02:08:49.126843 N [12169/101807] CoreContext mythcontext.cpp:504 (LoadDatabaseSettings) - Empty LocalHostName.
2016-06-09 02:08:49.126887 I [12169/101807] CoreContext mythcontext.cpp:512 (LoadDatabaseSettings) - Using localhost value of mythtv
2016-06-09 02:08:49.182816 D [12169/101807] CoreContext mythcontext.cpp:432 (FindDatabase) - FindDatabase() - Success!
2016-06-09 02:08:49.206867 N [12169/101807] CoreContext mythcorecontext.cpp:1634 (InitLocale) - Setting QT default locale to en_US
2016-06-09 02:08:49.207050 I [12169/101807] CoreContext mythcorecontext.cpp:1667 (SaveLocaleDefaults) - Current locale en_US
2016-06-09 02:08:49.207285 N [12169/101807] CoreContext mythlocale.cpp:121 (LoadDefaultsFromXML) - Reading locale defaults from /usr/local/share/mythtv//locales/en_us.xml
2016-06-09 02:08:49.219337 I [12169/102040] LogForward loggingserver.cpp:1373 (forwardMessage) - New Client:  (#1)
2016-06-09 02:08:49.224396 I [12169/102040] LogForward loggingserver.cpp:142 (FileLogger) - Added logging to /var/log/mythtv/mythutil.20160609070849.12169.log
2016-06-09 02:08:49.238874 N [12169/101807] CoreContext markuputils.cpp:152 (CopySkipListToCutList) - Commercial Skip List copied to Cutlist
root@mythtv:/var/log/mythtv # 

Full mythtranscode log:

Code: Select all

root@mythtv:/var/log/mythtv # cat mythtranscode.20160609070849.12175.log
2016-06-09 02:08:49.786542 C [12175/101807] thread_unknown mythcommandlineparser.cpp:2595 (ConfigureLogging) - mythtranscode version: tag: v0.27.5 [ad97d24] www.mythtv.org
2016-06-09 02:08:49.786771 C [12175/101807] thread_unknown mythcommandlineparser.cpp:2597 (ConfigureLogging) - Qt version: compile: 4.8.7, runtime: 4.8.7
2016-06-09 02:08:49.786786 N [12175/101807] thread_unknown mythcommandlineparser.cpp:2599 (ConfigureLogging) - Enabled verbose msgs:  general
2016-06-09 02:08:49.786997 N [12175/101807] thread_unknown logging.cpp:907 (logStart) - Setting Log Level to LOG_DEBUG
2016-06-09 02:08:49.799191 I [12175/102056] Logger logging.cpp:308 (run) - Added logging to the console
2016-06-09 02:08:49.800065 I [12175/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Interrupt: 2 handler
2016-06-09 02:08:49.800081 I [12175/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Terminated: 15 handler
2016-06-09 02:08:49.800095 I [12175/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Segmentation fault: 11 handler
2016-06-09 02:08:49.800103 I [12175/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Abort trap: 6 handler
2016-06-09 02:08:49.800115 I [12175/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Bus error: 10 handler
2016-06-09 02:08:49.800124 I [12175/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Floating point exception: 8 handler
2016-06-09 02:08:49.800146 I [12175/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Illegal instruction: 4 handler
2016-06-09 02:08:49.800161 I [12175/101807] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Unknown signal: 65 handler
2016-06-09 02:08:49.800252 N [12175/101807] thread_unknown mythdirs.cpp:55 (InitializeMythDirs) - Using runtime prefix = /usr/local
2016-06-09 02:08:49.800281 N [12175/101807] thread_unknown mythdirs.cpp:68 (InitializeMythDirs) - Using configuration directory = /var/lib/mythtv/.mythtv
2016-06-09 02:08:49.800782 I [12175/101807] CoreContext mythcorecontext.cpp:257 (Init) - Assumed character encoding: en_US.UTF-8
2016-06-09 02:08:49.802055 N [12175/101807] CoreContext mythcontext.cpp:504 (LoadDatabaseSettings) - Empty LocalHostName.
2016-06-09 02:08:49.802102 I [12175/101807] CoreContext mythcontext.cpp:512 (LoadDatabaseSettings) - Using localhost value of mythtv
2016-06-09 02:08:49.831476 D [12175/101807] CoreContext mythcontext.cpp:432 (FindDatabase) - FindDatabase() - Success!
2016-06-09 02:08:49.836655 N [12175/101807] CoreContext mythcorecontext.cpp:1634 (InitLocale) - Setting QT default locale to en_US
2016-06-09 02:08:49.836884 I [12175/101807] CoreContext mythcorecontext.cpp:1667 (SaveLocaleDefaults) - Current locale en_US
2016-06-09 02:08:49.837212 N [12175/101807] CoreContext mythlocale.cpp:121 (LoadDefaultsFromXML) - Reading locale defaults from /usr/local/share/mythtv//locales/en_us.xml
2016-06-09 02:08:49.849368 I [12175/101807] CoreContext mythtranslation.cpp:65 (load) - Loading en_us translation for module mythfrontend
2016-06-09 02:08:49.859985 N [12175/101807] CoreContext main.cpp:569 (main) - Transcoding from /media/tv/1383_20160609063000.mpg to /media/tmp/1383_20160609063000.mp2
2016-06-09 02:08:49.860005 I [12175/101807] CoreContext main.cpp:639 (main) - Honoring the cutlist while transcoding
2016-06-09 02:08:49.866494 I [12175/101807] CoreContext mpeg2fix.cpp:745 (InitAV) - Opening /media/tv/1383_20160609063000.mpg
2016-06-09 02:08:49.873438 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing SPS 32 referenced in buffering period
2016-06-09 02:08:49.873454 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing PPS referenced
2016-06-09 02:08:49.873903 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing SPS 32 referenced in buffering period
2016-06-09 02:08:49.873927 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing PPS 0 referenced
2016-06-09 02:08:49.873932 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - decode_slice_header error
2016-06-09 02:08:49.873940 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - no frame!
2016-06-09 02:08:49.874012 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing SPS 32 referenced in buffering period
2016-06-09 02:08:49.874022 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing PPS referenced
2016-06-09 02:08:49.874099 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing SPS 32 referenced in buffering period
2016-06-09 02:08:49.874110 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing PPS 0 referenced
2016-06-09 02:08:49.874117 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - decode_slice_header error
2016-06-09 02:08:49.874122 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - no frame!
2016-06-09 02:08:49.874176 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing SPS 32 referenced in buffering period
2016-06-09 02:08:49.874182 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing PPS referenced
2016-06-09 02:08:49.874226 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing SPS 32 referenced in buffering period
2016-06-09 02:08:49.874232 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing PPS 0 referenced
2016-06-09 02:08:49.874240 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - decode_slice_header error
2016-06-09 02:08:49.874245 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - no frame!
2016-06-09 02:08:49.874288 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing PPS referenced
2016-06-09 02:08:49.874332 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing PPS 0 referenced
2016-06-09 02:08:49.874336 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - decode_slice_header error
<same series of messages dozens of times>
2016-06-09 02:08:49.881734 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - no frame!
2016-06-09 02:08:49.881827 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing PPS referenced
2016-06-09 02:08:49.881873 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - non-existing PPS 0 referenced
2016-06-09 02:08:49.881885 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - decode_slice_header error
2016-06-09 02:08:49.887327 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) - Input #0, mpegts, from '/media/tv/1383_20160609063000.mpg':
2016-06-09 02:08:49.887349 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) -   Duration: 00:30:00.22, start: 81153.245867, bitrate: 1510 kb/s
2016-06-09 02:08:49.887537 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) -     Stream #0:0[0x51]: Video: h264 (High), yuv420p, 528x480 [SAR 40:33 DAR 4:3], 29.97 tbr, 90k tbn, 59.94 tbc
2016-06-09 02:08:49.887587 I [12175/101807] CoreContext mpeg2fix.cpp:77 (my_av_print) -     Stream #0:1[0x54](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 128 kb/s
2016-06-09 02:08:49.888156 W [12175/101807] CoreContext mpeg2fix.cpp:916 (ProcessVideo) - Warning: partial frame found!
<same warning hundreds of times>
2016-06-09 02:08:49.932552 W [12175/101807] CoreContext mpeg2fix.cpp:916 (ProcessVideo) - Warning: partial frame found!
<same warning hundreds of times>
2016-06-09 02:08:49.932577 W [12175/101807] CoreContext mpeg2fix.cpp:916 (ProcessVideo) - Warning: partial frame found!
2016-06-09 02:08:51.532184 E [12175/101807] CoreContext mpeg2fix.cpp:1250 (GetPoolFrame) - No more queue slots!
2016-06-09 02:08:51.621514 E [12175/101807] CoreContext main.cpp:724 (main) - Transcoding /media/tv/1383_20160609063000.mpg failed
root@mythtv:/var/log/mythtv # 

daraden
Senior
Posts: 169
Joined: Tue Feb 23, 2016 7:33 am
United States of America

Re: mythtranscode error 128

Post by daraden » Fri Jun 10, 2016 3:50 am

mythtv version?
what are the commands your script is using?
im going to take a guess and assume you are using the --mpeg2 option. this option is for lossless cutting of mpeg2video files, the file you are trying to cut is h.264. for h.264 you will need to use fifo mode or look into one of the lossless h.264 scripts.

nello
Junior
Posts: 27
Joined: Sun Mar 08, 2015 7:33 pm
United States of America

Re: mythtranscode error 128

Post by nello » Fri Jun 10, 2016 3:26 pm

daraden wrote:... you are using the --mpeg2 option.
Yes, the command I'm using is in the form of:

Code: Select all

/usr/local/bin/mythtranscode --chanid <CHANID> --starttime <UTC_STARTTIME> --mpeg2 --honorcutlist --outfile /media/tmp/<CHANID>_<UTC_STARTTIME>.mp2 --logpath /var/log/mythtv --loglevel debug"
daraden wrote:the file you are trying to cut is h.264. for h.264 you will need to use fifo mode ...
What controls the whether the file is recorded as a mpeg2 or h.264? Or, more precisely, what should I do to test whether a file is mpeg2 or h.264 (so that I build the mythtranscode command correctly)?

daraden wrote:... or look into one of the lossless h.264 scripts.
Could you please be more specific about what you mean by "one of the lossless h.264 scripts"?

Thank you!

- nello

nello
Junior
Posts: 27
Joined: Sun Mar 08, 2015 7:33 pm
United States of America

Re: mythtranscode error 128

Post by nello » Fri Jun 10, 2016 6:04 pm

I guess that my root problem is that I don't understand how the settings for Recording Profile and Transcoder effect a recording's quality and file format, e.g., mpeg2 vs. h.264.

I posted this question in the General section:

viewtopic.php?f=2&t=1529

Any enlightenment would be appreciated.

Thank you.

- nello

nello
Junior
Posts: 27
Joined: Sun Mar 08, 2015 7:33 pm
United States of America

Re: mythtranscode error 128

Post by nello » Fri Jun 10, 2016 10:39 pm

nello wrote: Or, more precisely, what should I do to test whether a file is mpeg2 or h.264 (so that I build the mythtranscode command correctly)?
Apparently, the ffprobe command does the trick.

Code: Select all

ffprobe -v error -select_streams v:0 -show_entries stream=codec_name -of default=noprint_wrappers=1:nokey=1 "<video_file>"
Files encoded as mpeg2 return "mpeg2video"; H.264 returns "h264"

- nello

Post Reply