+ echo --verbose general --logpath /var/log/mythtv --loglevel info --quiet -q --verbose general --logpath /var/log/mythtv --loglevel info --quiet -q + env LESS=-R -M --shift 5 OPENGL_PROFILE=xorg-x11 CONFIG_PROTECT_MASK=/etc/sandbox.d /etc/php/cli-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/fonts/fonts.conf /etc/gentoo-release /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild EDITOR=/usr/bin/vi EINFO_LOG=/etc/init.d/mythbackend GCC_SPECS= BASH_XTRACEFD=3 VBOX_APP_HOME=/usr/lib64/virtualbox USER=user RC_SERVICE=/etc/init.d/mythbackend PWD=/ HOME=/home/user MANPAGER=manpager GSETTINGS_BACKEND=dconf XDG_DATA_DIRS=/usr/local/share:/usr/share LXD_DIR=/var/snap/lxd/common/lxd ROOTPATH=/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin CONFIG_PROTECT=/usr/share/gnupg/qualified.txt /home/mythtv/ TERM=linux OPENCL_PROFILE=nvidia SHLVL=2 MANPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.29.1/man:/usr/lib/llvm/5/share/man:/usr/lib64/php7.0/man/:/usr/lib64/php7.1/man/:/usr/local/share/man:/usr/share/man XDG_CONFIG_DIRS=/etc/xdg RC_SVCNAME=mythbackend PATH=/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/opt/bin INFOPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.29.1/info:/usr/share/info SVCNAME=mythbackend LESSOPEN=|lesspipe %s _=/bin/env + read -r cmd + echo 'Got "Version?"' Got "Version?" + case $cmd in + send OK:1.0.0 + echo 'Sending OK:1.0.0' Sending OK:1.0.0 + echo OK:1.0.0 + read -r cmd + echo 'Got "HasTuner?"' Got "HasTuner?" + case $cmd in + send OK:No + echo 'Sending OK:No' Sending OK:No + echo OK:No + read -r cmd + echo 'Got "HasPictureAttributes?"' Got "HasPictureAttributes?" + case $cmd in + send OK:No + echo 'Sending OK:No' Sending OK:No + echo OK:No + read -r cmd + echo 'Got "FlowControl?"' Got "FlowControl?" + case $cmd in + send OK:XON/XOFF + echo 'Sending OK:XON/XOFF' Sending OK:XON/XOFF + echo OK:XON/XOFF + read -r cmd + echo 'Got "BlockSize:6160384"' Got "BlockSize:6160384" + case $cmd in + send OK + echo 'Sending OK' Sending OK + echo OK + read -r cmd + echo 'Got "Version?"' Got "Version?" + case $cmd in + send OK:1.0.0 + echo 'Sending OK:1.0.0' Sending OK:1.0.0 + echo OK:1.0.0 + read -r cmd + echo 'Got "LockTimeout?"' Got "LockTimeout?" + case $cmd in + send OK:10000 + echo 'Sending OK:10000' Sending OK:10000 + echo OK:10000 + read -r cmd + echo 'Got "SignalStrengthPercent?"' Got "SignalStrengthPercent?" + case $cmd in + send OK:100 + echo 'Sending OK:100' Sending OK:100 + echo OK:100 + read -r cmd + echo 'Got "HasLock?"' Got "HasLock?" + case $cmd in + send OK:Yes + echo 'Sending OK:Yes' Sending OK:Yes + echo OK:Yes + read -r cmd + echo 'Got "IsOpen?"' Got "IsOpen?" + case $cmd in + '[' -n '' ']' + send OK:No + echo 'Sending OK:No' Sending OK:No + echo OK:No + read -r cmd + echo 'Got "Version?"' Got "Version?" + case $cmd in + send OK:1.0.0 + echo 'Sending OK:1.0.0' Sending OK:1.0.0 + echo OK:1.0.0 + read -r cmd + echo 'Got "StartStreaming"' Got "StartStreaming" + case $cmd in + ffmpeg_pid=27402 + send OK:Started + echo 'Sending OK:Started' Sending OK:Started + echo OK:Started + case $cmd in + ffmpeg -i udp://@239.255.42.42:5004 -acodec copy -vcodec copy -f mpegts - + read -r cmd + echo 'Got "IsOpen?"' Got "IsOpen?" + case $cmd in + '[' -n 27402 ']' + '[' -d /proc/27402 ']' + send OK:Open + echo 'Sending OK:Open' Sending OK:Open + echo OK:Open + read -r cmd + echo 'Got "XON"' Got "XON" + case $cmd in ++ date + case $cmd in + echo 'Uh oh! need to handle "XON" at Fri Apr 6 08:06:41 IST 2018' Uh oh! need to handle "XON" at Fri Apr 6 08:06:41 IST 2018 + send OK + echo 'Sending OK' Sending OK + echo OK + read -r cmd ffmpeg version 3.3.6 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.4.0 (Gentoo 6.4.0-r1 p1.3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-3.3.6/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -march=native' --disable-static --enable-avfilter --enable-avresample --disable-stripping --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-nonfree --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --disable-gnutls --disable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv --disable-lzma --enable-network --disable-cuda --disable-cuvid --disable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --enable-vdpau --enable-xlib --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --enable-libv4l2 --disable-libpulse --disable-libopencore-amrwb --disable-libopencore-amrnb --enable-libfdk-aac --disable-libopenjpeg --disable-libbluray --disable-libcelt --disable-libgme --disable-libgsm --disable-mmal --disable-libmodplug --disable-libopus --disable-libilbc --disable-librtmp --disable-libssh --disable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-libbs2b --disable-chromaprint --disable-libflite --disable-frei0r --disable-libfribidi --disable-fontconfig --disable-ladspa --disable-libass --enable-libfreetype --disable-librubberband --disable-netcdf --disable-libzmq --disable-libzimg --disable-libsoxr --enable-pthreads --disable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --disable-nvenc --disable-libopenh264 --disable-libsnappy --enable-libmfx --enable-libtheora --disable-libtwolame --disable-libwavpack --disable-libwebp --enable-libx264 --disable-libx265 --disable-libxvid --disable-amd3dnow --disable-amd3dnowext --disable-fma4 --disable-xop --cpu=host --disable-doc --disable-htmlpages --enable-manpages libavutil 55. 58.100 / 55. 58.100 libavcodec 57. 89.100 / 57. 89.100 libavformat 57. 71.100 / 57. 71.100 libavdevice 57. 6.100 / 57. 6.100 libavfilter 6. 82.100 / 6. 82.100 libavresample 3. 5. 0 / 3. 5. 0 libswscale 4. 6.100 / 4. 6.100 libswresample 2. 7.100 / 2. 7.100 libpostproc 54. 5.100 / 54. 5.100 [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] decode_slice_header error [h264 @ 0x55f38ab0a0a0] no frame! [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] decode_slice_header error [h264 @ 0x55f38ab0a0a0] no frame! [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] decode_slice_header error [h264 @ 0x55f38ab0a0a0] no frame! [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] decode_slice_header error [h264 @ 0x55f38ab0a0a0] no frame! [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] decode_slice_header error [h264 @ 0x55f38ab0a0a0] no frame! [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] decode_slice_header error [h264 @ 0x55f38ab0a0a0] no frame! [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] decode_slice_header error [h264 @ 0x55f38ab0a0a0] no frame! [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] decode_slice_header error [h264 @ 0x55f38ab0a0a0] no frame! [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] decode_slice_header error [h264 @ 0x55f38ab0a0a0] no frame! [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] decode_slice_header error [h264 @ 0x55f38ab0a0a0] no frame! [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] decode_slice_header error [h264 @ 0x55f38ab0a0a0] no frame! [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] decode_slice_header error [h264 @ 0x55f38ab0a0a0] no frame! [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] decode_slice_header error [h264 @ 0x55f38ab0a0a0] no frame! [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] SPS unavailable in decode_picture_timing [h264 @ 0x55f38ab0a0a0] non-existing PPS 0 referenced [h264 @ 0x55f38ab0a0a0] decode_slice_header error [h264 @ 0x55f38ab0a0a0] no frame! Input #0, mpegts, from 'udp://@239.255.42.42:5004': Duration: N/A, start: 64414.025000, bitrate: N/A Program 256 Metadata: Stream #0:0[0x7d1]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1728x1080, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0:1[0x7d2]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s Output #0, mpegts, to 'pipe:': Metadata: encoder : Lavf57.71.100 Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1728x1080, q=2-31, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc Stream #0:1: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help + echo 'Got "Version?"' Got "Version?" + case $cmd in + send OK:1.0.0 + echo 'Sending OK:1.0.0' Sending OK:1.0.0 + echo OK:1.0.0 + read -r cmd + echo 'Got "XOFF"' Got "XOFF" + case $cmd in ++ date + case $cmd in + echo 'Uh oh! need to handle "XOFF" at Fri Apr 6 08:06:45 IST 2018' Uh oh! need to handle "XOFF" at Fri Apr 6 08:06:45 IST 2018 + send OK + echo 'Sending OK' Sending OK + echo OK + read -r cmd + echo 'Got "XON"' Got "XON" + case $cmd in ++ date + case $cmd in + echo 'Uh oh! need to handle "XON" at Fri Apr 6 08:06:45 IST 2018' Uh oh! need to handle "XON" at Fri Apr 6 08:06:45 IST 2018 + send OK + echo 'Sending OK' Sending OK + echo OK + read -r cmd + echo 'Got "XOFF"' Got "XOFF" + case $cmd in ++ date + case $cmd in + echo 'Uh oh! need to handle "XOFF" at Fri Apr 6 08:06:45 IST 2018' Uh oh! need to handle "XOFF" at Fri Apr 6 08:06:45 IST 2018 + send OK + echo 'Sending OK' Sending OK + echo OK + read -r cmd frame= 98 fps=0.0 q=-1.0 size= 5574kB time=00:00:03.81 bitrate=11965.0kbits/s speed=7.17x frame= 113 fps=109 q=-1.0 size= 6214kB time=00:00:04.32 bitrate=11784.1kbits/s speed=4.17x frame= 130 fps= 83 q=-1.0 size= 7236kB time=00:00:04.84 bitrate=12227.8kbits/s speed=3.09x frame= 146 fps= 69 q=-1.0 size= 8026kB time=00:00:05.37 bitrate=12229.5kbits/s speed=2.56x frame= 162 fps= 61 q=-1.0 size= 8902kB time=00:00:05.90 bitrate=12352.0kbits/s speed=2.24x frame= 177 fps= 56 q=-1.0 size= 9728kB time=00:00:06.40 bitrate=12436.9kbits/s speed=2.04x frame= 192 fps= 52 q=-1.0 size= 10551kB time=00:00:06.96 bitrate=12418.6kbits/s speed=1.89x [udp @ 0x55f38aae5740] Circular buffer overrun. To avoid, increase fifo_size URL option. To survive in such case, use overrun_nonfatal option