mythcommflag Error

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

mythcommflag Error

Post by nello »

I'm getting this error; what does it mean?

Code: Select all

2016-03-12 22:03:36.547868 E [29369/101835] Decoder avformatdecoder.cpp:4676 (GetFrame) - decoding error
			eno: Unknown error: 541478725 (541478725)
I invoked mythcommflag within a bash script with this line:

Code: Select all

"/usr/local/bin/mythcommflag --chanid 1111 --starttime 20160313011800 --override-settings-file /usr/local/src/mythtv/mythflagoverride.txt  --logpath /var/log/mythtv --loglevel info"
The full log from mythcommflag is:

Code: Select all

root@mythtv:/var/log/mythtv # cat mythcommflag.20160313033125.29369.log
2016-03-12 21:31:25.485133 C [29369/100649] thread_unknown mythcommandlineparser.cpp:2595 (ConfigureLogging) - mythcommflag version:  [5a5e1cd] www.mythtv.org
2016-03-12 21:31:25.485370 C [29369/100649] thread_unknown mythcommandlineparser.cpp:2597 (ConfigureLogging) - Qt version: compile: 4.8.6, runtime: 4.8.7
2016-03-12 21:31:25.485387 N [29369/100649] thread_unknown mythcommandlineparser.cpp:2599 (ConfigureLogging) - Enabled verbose msgs:  general
2016-03-12 21:31:25.485560 N [29369/100649] thread_unknown logging.cpp:914 (logStart) - Setting Log Level to LOG_INFO
2016-03-12 21:31:25.486909 I [29369/101812] Logger logging.cpp:315 (run) - Added logging to the console
2016-03-12 21:31:25.487181 I [29369/100649] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Interrupt: 2 handler
2016-03-12 21:31:25.487192 I [29369/100649] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Terminated: 15 handler
2016-03-12 21:31:25.487206 I [29369/100649] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Segmentation fault: 11 handler
2016-03-12 21:31:25.487213 I [29369/100649] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Abort trap: 6 handler
2016-03-12 21:31:25.487224 I [29369/100649] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Bus error: 10 handler
2016-03-12 21:31:25.487231 I [29369/100649] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Floating point exception: 8 handler
2016-03-12 21:31:25.487242 I [29369/100649] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Illegal instruction: 4 handler
2016-03-12 21:31:25.487256 I [29369/100649] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Unknown signal: 65 handler
2016-03-12 21:31:25.487334 N [29369/100649] thread_unknown mythdirs.cpp:55 (InitializeMythDirs) - Using runtime prefix = /usr/local
2016-03-12 21:31:25.487360 N [29369/100649] thread_unknown mythdirs.cpp:68 (InitializeMythDirs) - Using configuration directory = /var/lib/mythtv/.mythtv
2016-03-12 21:31:25.487780 I [29369/100649] CoreContext mythcorecontext.cpp:249 (Init) - Assumed character encoding: en_US.UTF-8
2016-03-12 21:31:25.489202 N [29369/100649] CoreContext mythcontext.cpp:504 (LoadDatabaseSettings) - Empty LocalHostName.
2016-03-12 21:31:25.489268 I [29369/100649] CoreContext mythcontext.cpp:512 (LoadDatabaseSettings) - Using localhost value of mythtv
2016-03-12 21:31:25.534122 N [29369/100649] CoreContext mythcorecontext.cpp:1272 (InitLocale) - Setting QT default locale to en_US
2016-03-12 21:31:25.534261 I [29369/100649] CoreContext mythcorecontext.cpp:1305 (SaveLocaleDefaults) - Current locale en_US
2016-03-12 21:31:25.534492 N [29369/100649] CoreContext mythlocale.cpp:121 (LoadDefaultsFromXML) - Reading locale defaults from /usr/local/share/mythtv//locales/en_us.xml
2016-03-12 21:31:25.557287 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'AggressiveCommDetect' being forced to '1'
2016-03-12 21:31:25.557547 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'BlankFrameDetectorDebugLevel' being forced to '0'
2016-03-12 21:31:25.557555 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'BorderDetectorDebugLevel' being forced to '0'
2016-03-12 21:31:25.557567 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectBlankCanHaveLogo' being forced to '0'
2016-03-12 21:31:25.557575 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectBlankFrameMaxDiff' being forced to '25'
2016-03-12 21:31:25.557616 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectBorder' being forced to '20'
2016-03-12 21:31:25.557623 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectBoxBrightness' being forced to '30'
2016-03-12 21:31:25.557634 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectDarkBrightness' being forced to '80'
2016-03-12 21:31:25.557644 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectDimAverage' being forced to '35'
2016-03-12 21:31:25.557651 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectDimBrightness' being forced to '120'
2016-03-12 21:31:25.557661 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectLogoBadEdgeThreshold' being forced to '0.85'
2016-03-12 21:31:25.557668 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectLogoGoodEdgeThreshold' being forced to '0.75'
2016-03-12 21:31:25.557681 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectLogoSampleSpacing' being forced to '2'
2016-03-12 21:31:25.557688 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectLogoSamplesNeeded' being forced to '240'
2016-03-12 21:31:25.557699 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectMaxCommBreakLength' being forced to '240'
2016-03-12 21:31:25.557708 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectMaxCommLength' being forced to '125'
2016-03-12 21:31:25.557716 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectMinCommBreakLength' being forced to '75'
2016-03-12 21:31:25.557726 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommDetectMinShowLength' being forced to '90'
2016-03-12 21:31:25.557734 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'CommercialSkipMethod' being forced to '7'
2016-03-12 21:31:25.557744 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'HistogramAnalyzerDebugLevel' being forced to '0'
2016-03-12 21:31:25.557751 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'JobQueueCPU' being forced to '0'
2016-03-12 21:31:25.557761 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'SceneChangeDetectorDebugLevel' being forced to '0'
2016-03-12 21:31:25.557768 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'TemplateFinderDebugLevel' being forced to '0'
2016-03-12 21:31:25.557778 N [29369/100649] CoreContext mythcommandlineparser.cpp:2629 (ApplySettingsOverride) - Setting 'TemplateMatcherDebugLevel' being forced to '0'
2016-03-12 21:31:25.559504 I [29369/100649] CoreContext mythtranslation.cpp:65 (load) - Loading en_us translation for module mythfrontend
2016-03-12 21:31:25.729320 I [29369/101812] Logger logging.cpp:474 (initialTimeout) - Added logging to mythlogserver at TCP:35327
2016-03-12 21:31:26.278373 I [29369/101829] SendMessage mythcorecontext.cpp:418 (ConnectCommandSocket) - MythCoreContext: Connecting to backend server: 10.10.49.13:6543 (try 1 of 1)
2016-03-12 21:31:26.283899 I [29369/101829] SendMessage mythcorecontext.cpp:1185 (CheckProtoVersion) - Using protocol version 77
2016-03-12 21:31:26.584156 I [29369/100649] CoreContext avformatdecoder.cpp:1898 (ScanStreams) - AFD: codec AC3 has 6 channels
2016-03-12 21:31:26.584550 I [29369/100649] CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) - AFD: Opened codec 0x8126b3200, id(AC3) type(Audio)
2016-03-12 21:31:26.596662 I [29369/100649] CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) - AFD: Opened codec 0x8126b2d00, id(H264) type(Video)
2016-03-12 21:31:26.953227 I [29369/100649] CoreContext ClassicCommDetector.cpp:367 (go) - Finding Logo
2016-03-12 21:33:42.956101 I [29369/100649] CoreContext ClassicCommDetector.cpp:545 (go) - 0% Completed @ 87.184 fps.
2016-03-12 21:36:51.878113 I [29369/100649] CoreContext ClassicCommDetector.cpp:545 (go) - 10% Completed @ 125.218 fps.
2016-03-12 21:40:11.529080 I [29369/100649] CoreContext ClassicCommDetector.cpp:545 (go) - 20% Completed @ 122.139 fps.
2016-03-12 21:43:31.080018 I [29369/100649] CoreContext ClassicCommDetector.cpp:545 (go) - 30% Completed @ 120.997 fps.
2016-03-12 21:46:42.848048 I [29369/100649] CoreContext ClassicCommDetector.cpp:545 (go) - 40% Completed @ 121.761 fps.
2016-03-12 21:49:53.249994 I [29369/100649] CoreContext ClassicCommDetector.cpp:545 (go) - 50% Completed @ 122.293 fps.
2016-03-12 21:52:38.881987 I [29369/100649] CoreContext ClassicCommDetector.cpp:545 (go) - 60% Completed @ 125.41 fps.
2016-03-12 21:55:27.953094 I [29369/100649] CoreContext ClassicCommDetector.cpp:545 (go) - 70% Completed @ 127.321 fps.
2016-03-12 21:58:11.718096 I [29369/100649] CoreContext ClassicCommDetector.cpp:545 (go) - 80% Completed @ 129.328 fps.
2016-03-12 22:00:45.857031 I [29369/100649] CoreContext ClassicCommDetector.cpp:545 (go) - 90% Completed @ 131.708 fps.
2016-03-12 22:03:36.547868 E [29369/101835] Decoder avformatdecoder.cpp:4676 (GetFrame) - decoding error
			eno: Unknown error: 541478725 (541478725)
2016-03-12 22:03:43.389661 N [29369/100649] CoreContext main.cpp:948 (FlagCommercials) - Finished, 1 break(s) found.
2016-03-12 22:03:43.418950 I [29369/100649] CoreContext mythcontext.cpp:1194 (~MythContext) - Waiting for threads to exit.
root@mythtv:/var/log/mythtv # 
Thank you for your time and attention.

- nello
User avatar
paulh
Developer
Posts: 909
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: mythcommflag Error

Post by paulh »

I've seen this error myself. I've only seen it when a transcode gets to the end of the file and ffmpeg finds an incomplete frame/packet and throws that error but I guess any corruption in the file could cause a similar error.

If you are lucky mythtranscode will exit cleanly and you can ignore the error. Sometimes it can cause mythtranscode to lockup in which cause the only thing you can do if kill it.

This ticket is related to the problem as well #12512
Post Reply