[mythtv-commits] Ticket #13335: mythcommflag: add 3 settings to enhance logo detection

MythTV noreply at mythtv.org
Wed Nov 21 20:54:38 UTC 2018


#13335: mythcommflag: add 3 settings to enhance logo detection
-----------------------------------+------------------------------
 Reporter:  hamelg                 |          Owner:  cpinkham
     Type:  Patch - Feature        |         Status:  new
 Priority:  minor                  |      Milestone:  needs_triage
Component:  MythTV - Mythcommflag  |        Version:  Master Head
 Severity:  medium                 |     Resolution:
 Keywords:                         |  Ticket locked:  0
-----------------------------------+------------------------------

Comment (by hamelg):

 Ok, let's go back from zero.

 Please, build from my repo, branch gha-logo2.
 {{{
 git clone https://github.com/hamelg/mythtv.git
 git checkout gha-logo2
 }}}

 It contains just the PR and nothing else.
 You must get :

 {{{
 $ mythcommflag --version
 Please attach all output as a file in bug reports.
 MythTV Version : v30-Pre-830-g56f5b95202
 MythTV Branch : gha-logo2
 Network Protocol : 91
 Library API : 30.20180319-1
 QT Version : 5.11.2
 Options compiled in:
  linux profile use_hidesyms using_alsa using_jack using_oss using_pulse
 using_pulseoutput using_backend using_bindings_python using_bindings_php
 using_dvb using_firewire using_frontend using_vbox using_ceton using_hdpvr
 using_ivtv using_joystick_menu using_libcec using_libcrypto
 using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg
 using_opengl using_opengl_video using_opengl_themepainter using_qtwebkit
 using_qtscript using_qtdbus using_taglib using_v4l2 using_x11
 using_xnvctrl_external using_libbluray_external using_xrandr using_xv
 using_profiletype using_systemd_notify using_systemd_journal
 using_bindings_python using_bindings_php using_freetype2
 using_mythtranscode using_opengl using_vaapi using_vaapi2 using_vdpau
 using_ffmpeg_threads using_mheg using_libass using_libxml2
 using_libmp3lame
 }}}

 Get the file sample.ts here :
 https://app.box.com/s/yhq0yisbalnz37d8wcmh5corsno6e8r3

 Then run this test case.

 {{{
 $ cat mythcommflag-override
 CommDetectLogoSamplesNeeded=30
 CommDetectLogoSampleSpacing=2
 commDetectLogoLocation=NE
 commDetectLogoWidthRatio=6
 commDetectLogoHeightRatio=8
 CommDetectLogoBorder=64
 CommercialSkipMethod=4
 $ mythcommflag --noprogress -v commflag:debug  --override-settings-file
 ./mythcommflag-override --method 4 --skipdb --outputmethod full
 --outputfile ./output.txt -f ./mysample.ts > mythcommflag.out 2>&1
 }}}

 I put output.txt and mythcommflag.out in attachments.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13335#comment:18>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list