<div dir="ltr"><div dir="ltr"><div dir="ltr">Apologies for replying to my own email, but I forgot to add that I am using Ubuntu and installing from ppa:mythbuntu/30</div><div dir="ltr"><br></div><div>Could this be the problem - no libx264 or hls options compiled in?</div><div><br></div><div><div>$ mythbackend --version</div><div>Please attach all output as a file in bug reports.</div><div>MythTV Version : v30.0</div><div>MythTV Branch : </div><div>Network Protocol : 91</div><div>Library API : 30.20181231-1</div><div>QT Version : 5.9.5</div><div>Options compiled in:</div><div> linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun 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 using_xnvctrl_external using_libbluray_external using_xrandr using_xv using_profiletype using_systemd_notify using_systemd_journal using_bindings_perl 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</div></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 1 Apr 2019 at 22:55, Mythtv-Users Watson <<a href="mailto:mythtv-users@needhammarket.co.uk">mythtv-users@needhammarket.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I have recently built a new system, installing 30.0 and importing an old database.<br><br>I want to use Dan Freys MythTV Player, so created the 'streaming' storage group within the database, which did not previously exist.<br><br>Streaming to MythTV Player is not working and neither is using the Play in Browser option of MythTV WebFrontend.<br><br>mythbackend.log shows the following:<br><br>Apr  1 22:48:42 ford mythbackend: mythbackend[6911]: W HTTPLiveStream HLS/httplivestream.cpp:85 (run) HLS(): Command '/usr/bin/mythtranscode --hls --hlsstreamid 21 --verbose general --loglevel info --quiet --syslog local7' returned 139<br><br>Running the same command manually, but with more logging shows:<br><br>$ /usr/bin/mythtranscode --hls --hlsstreamid 21 --verbose record --loglevel debug<br>2019-04-01 22:50:33.212945 C  mythtranscode version:  [v30.0] <a href="http://www.mythtv.org" target="_blank">www.mythtv.org</a><br>2019-04-01 22:50:33.212982 C  Qt version: compile: 5.9.5, runtime: 5.9.5<br>2019-04-01 22:50:33.212988 N  Enabled verbose msgs:  general record<br>2019-04-01 22:50:33.213001 N  Setting Log Level to LOG_DEBUG<br>2019-04-01 22:50:33.223900 I  Added logging to the console<br>2019-04-01 22:50:33.224389 I  Setup Interrupt handler<br>2019-04-01 22:50:33.224406 I  Setup Terminated handler<br>2019-04-01 22:50:33.224416 I  Setup Segmentation fault handler<br>2019-04-01 22:50:33.224427 I  Setup Aborted handler<br>2019-04-01 22:50:33.224435 I  Setup Bus error handler<br>2019-04-01 22:50:33.224446 I  Setup Floating point exception handler<br>2019-04-01 22:50:33.224455 I  Setup Illegal instruction handler<br>2019-04-01 22:50:33.224470 I  Setup Real-time signal 0 handler<br>2019-04-01 22:50:33.224479 I  Setup Hangup handler<br>2019-04-01 22:50:33.225125 N  Using runtime prefix = /usr<br>2019-04-01 22:50:33.225131 N  Using configuration directory = /home/mythtv/.mythtv<br>2019-04-01 22:50:33.225139 D  appbindir         = /usr/bin/<br>2019-04-01 22:50:33.225143 D  sharedir          = /usr/share/mythtv/<br>2019-04-01 22:50:33.225150 D  libdir            = /usr/lib/mythtv/<br>2019-04-01 22:50:33.225153 D  themedir          = /usr/share/mythtv/themes/<br>2019-04-01 22:50:33.225162 D  pluginsdir        = /usr/lib/mythtv/plugins/<br>2019-04-01 22:50:33.225169 D  translationsdir   = /usr/share/mythtv/i18n/<br>2019-04-01 22:50:33.225172 D  filtersdir        = /usr/lib/mythtv/filters/<br>2019-04-01 22:50:33.225179 D  cachedir          = /home/mythtv/.mythtv/cache<br>2019-04-01 22:50:33.225183 D  remotecachedir    = /home/mythtv/.mythtv/cache/remotecache<br>2019-04-01 22:50:33.225189 D  themebasecachedir = /home/mythtv/.mythtv/cache/themecache<br>2019-04-01 22:50:33.225198 D  thumbnaildir      = /home/mythtv/.mythtv/cache/thumbnails<br>2019-04-01 22:50:33.225351 I  Assumed character encoding: en_US.UTF-8<br>2019-04-01 22:50:33.226187 I  Empty LocalHostName. This is typical.<br>2019-04-01 22:50:33.226240 I  Using a profile name of: 'ford' (Usually the same as this host's name.)<br>2019-04-01 22:50:33.226333 I  Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 2000<br>2019-04-01 22:50:33.226394 D  PortChecker::checkPort(): host localhost port 3306 timeLimit 1000 linkLocalOnly 0<br>2019-04-01 22:50:33.727784 D  PortChecker::checkPort(): socket state 1<br>2019-04-01 22:50:34.228781 D  PortChecker::checkPort(): socket state 3<br>2019-04-01 22:50:34.233515 D  PortChecker::checkPort(): host localhost port 3306 timeLimit 30000 linkLocalOnly 1<br>2019-04-01 22:50:34.244281 D  FindDatabase() - Success!<br>2019-04-01 22:50:34.244393 D  PortChecker::checkPort(): host localhost port 3306 timeLimit 30000 linkLocalOnly 1<br>2019-04-01 22:50:34.248384 N  Setting QT default locale to en_GB<br>2019-04-01 22:50:34.248403 I  Current locale en_GB<br>2019-04-01 22:50:34.248496 N  Reading locale defaults from /usr/share/mythtv//locales/en_gb.xml<br>2019-04-01 22:50:34.266538 I  Loading en_gb translation for module mythfrontend<br>2019-04-01 22:50:34.277266 I  MythCoreContext::ConnectCommandSocket(): Connecting to backend server: <a href="http://192.168.0.20:6543" target="_blank">192.168.0.20:6543</a> (try 1 of 1)<br>2019-04-01 22:50:34.279785 I  MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff<br>2019-04-01 22:50:34.312325 D  Setting Lossless transcoding changed to 0<br>2019-04-01 22:50:34.312352 D  Setting Resize video while transcoding changed to 0<br>2019-04-01 22:50:34.312375 N  Transcoding HTTP Live Stream ID 21<br>2019-04-01 22:50:34.313555 D  HLS(/media/raid5/mythtv/recordings/2028_20190401185500.ts): Switch streamid 21 from Starting to Starting<br>2019-04-01 22:50:34.451451 I  AFD: codec MP2 has 2 channels<br>2019-04-01 22:50:34.453612 I  AFD: Opened codec 0x55dd51046d80, id(MP2) type(Audio)<br>2019-04-01 22:50:34.454046 I  AFD: codec MP2 has 1 channels<br>2019-04-01 22:50:34.454101 I  AFD: Opened codec 0x55dd5108a540, id(MP2) type(Audio)<br>2019-04-01 22:50:34.454164 I  AFD: Opened codec 0x55dd5108b700, id(DVB_SUBTITLE) type(Subtitle)<br>2019-04-01 22:50:34.459750 I  AFD: Using ffmpeg for video decoding<br>2019-04-01 22:50:34.459790 I  AFD: Opened codec 0x55dd51087980, id(MPEG2VIDEO) type(Video)<br>2019-04-01 22:50:34.460001 N  AudioPlayer: Enabling Audio<br>2019-04-01 22:50:34.503794 N  HLS: Using segment size of 4 seconds<br>2019-04-01 22:50:34.503816 D  HLS(/media/raid5/mythtv/recordings/2028_20190401185500.ts): Switch streamid 21 from Starting to Starting<br>2019-04-01 22:50:34.506219 D  HLS(/media/raid5/mythtv/recordings/2028_20190401185500.ts): Switch streamid 21 from Starting to Starting<br>2019-04-01 22:50:34.514253 N  x264 HLS using: 2 threads, 'veryfast' profile and 'film' tune<br>2019-04-01 22:50:34.526652 E  AVFW(/var/lib/mythtv/streaming/2028_20190401185500.ts.640x368_600kV_64kA.av.000002.ts): OpenAudio(): avcodec_open() failed<br>2019-04-01 22:50:34.526666 E  AVFW(/var/lib/mythtv/streaming/2028_20190401185500.ts.640x368_600kV_64kA.av.000002.ts): Init(): OpenAudio() failed<br>2019-04-01 22:50:34.526673 E  avfw->Init() failed<br>Handling Segmentation fault<br>Segmentation fault (core dumped)<br><div><br></div><div>And a check of the streaming storage group appears to indicate that all is OK:</div><div><br></div><div><a href="http://ford.fritz.box:6544/Myth/GetStorageGroupDirs?GroupName=Streaming" target="_blank">http://ford.fritz.box:6544/Myth/GetStorageGroupDirs?GroupName=Streaming</a><br></div><div><div><StorageGroupDirList xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" version="1.0" serializerVersion="1.1"></div><div><script/></div><div><script/></div><div><script/></div><div><StorageGroupDirs></div><div><StorageGroupDir></div><div><Id>31</Id></div><div><GroupName>streaming</GroupName></div><div><HostName>ford</HostName></div><div><DirName>/var/lib/mythtv/streaming</DirName></div><div><DirRead>true</DirRead></div><div><DirWrite>true</DirWrite></div><div><KiBFree>88577600</KiBFree></div><div></StorageGroupDir></div><div></StorageGroupDirs></div><div></StorageGroupDirList></div></div><div><br></div><div>Mediainfo reveals that the source file is MPEG-TS, with the following audio:</div><div><br></div><div><div>Audio #1</div><div>ID                                       : 1302 (0x516)</div><div>Menu ID                                  : 1 (0x1)</div><div>Format                                   : MPEG Audio</div><div>Format version                           : Version 1</div><div>Format profile                           : Layer 2</div><div>Codec ID                                 : 4</div><div>Duration                                 : 42 min 57 s</div><div>Bit rate mode                            : Constant</div><div>Bit rate                                 : 192 kb/s</div><div>Channel(s)                               : 2 channels</div><div>Sampling rate                            : 48.0 kHz</div><div>Frame rate                               : 41.667 FPS (1152 SPF)</div><div>Compression mode                         : Lossy</div><div>Delay relative to video                  : -720 ms</div><div>Stream size                              : 59.0 MiB (10%)</div><div>Language                                 : English</div><div><br></div><div>Audio #2</div><div>ID                                       : 1303 (0x517)</div><div>Menu ID                                  : 1 (0x1)</div><div>Format                                   : MPEG Audio</div><div>Format version                           : Version 1</div><div>Format profile                           : Layer 2</div><div>Codec ID                                 : 4</div><div>Duration                                 : 42 min 57 s</div><div>Bit rate mode                            : Constant</div><div>Bit rate                                 : 64.0 kb/s</div><div>Channel(s)                               : 1 channel</div><div>Sampling rate                            : 48.0 kHz</div><div>Frame rate                               : 41.667 FPS (1152 SPF)</div><div>Compression mode                         : Lossy</div><div>Delay relative to video                  : -720 ms</div><div>Stream size                              : 19.7 MiB (3%)</div><div>Language                                 : English</div><div>Language, more info                      : Visual impaired commentary</div></div><div><br></div><div>I am really now stumped as to how to progress.</div><div><br></div><div>Any suggestions please?</div></div></div></div></div>
</blockquote></div>