Bug #5988
Audio in WatchTV window (Web GUI) stopped working when migrating from stable to unstable using Debian Buster
0%
Description
- Installed OS using Debian Buster
- Installed stable version of Tvheadend (stretch version)
- Added https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/iptv/pipe/pipe.m3u as "IPTV Automatic Network"
- Generated some channels
- Was able to watch tv using the web GUI --> Just had to switch to profile webtv-vp8-vorbis-webm
- Then upgraded to latest unstable version
- Tried again to watch tv using the web GUI --> No audio output even with profile webtv-vp8-vorbis-webm
I also tried to purge the previous installation of Tvheadend before installing the current unstable version --> same effect
History
Updated by Thomas B. almost 4 years ago
Working Version:
Configure arguments: --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking --enable-ccache --enable-ffmpeg_static --enable-hdhomerun_static --arch=x86_64 --jobs=9 Compiler: Using C compiler: ccache cc Using LD flags: -ldvben50221 -ldvbapi -lucsi Build for arch: x86_64 Binaries: Using PYTHON: python Using GZIP: gzip Using BZIP2: bzip2 Options: pie yes ccdebug no cwc yes capmt yes constcw yes linuxdvb yes satip_server yes satip_client yes hdhomerun_client yes hdhomerun_static yes iptv yes tsfile yes dvbscan yes timeshift yes trace yes imagecache yes avahi yes zlib yes libav yes ffmpeg_static yes libx264 yes libx264_static yes libx265 yes libx265_static yes libvpx yes libvpx_static yes libtheora yes libtheora_static yes libvorbis yes libvorbis_static yes libfdkaac yes libfdkaac_static yes nvenc yes qsv no libmfx_static no inotify yes epoll yes uriparser yes ccache yes tvhcsa yes bundle no pngquant no dvbcsa no dvben50221 yes kqueue no dbus_1 yes android no tsdebug no gtimer_check no slow_memoryinfo no libsystemd_daemon no pcloud_cache yes execinfo yes mmx yes sse2 yes W_unused_result yes fdatasync yes getloadavg yes atomic32 yes atomic64 yes atomic_time_t yes bitops64 yes lockowner yes qsort_r yes stime yes gmtoff yes recvmmsg yes sendmmsg yes libdvben50221 yes ifnames yes py_gzip yes bin_pkg_config yes bin_xgettext yes bin_msgmerge yes bin_gzip yes bin_bzip2 yes ssl yes linuxdvbapi yes upnp yes bin_cmake yes stdcpp yes libogg_static yes inotify_h yes inotify_init1 yes linuxdvb_ca yes epoll_create1 yes mpegts yes mpegts_dvb yes Packages: openssl 1.1.0k zlib 1.2.8 liburiparser 0.8.4 avahi-client 0.6.32 dbus-1 1.10.28 Installation paths: Prefix: /usr Binaries: ${prefix}/bin Libraries: ${prefix}/lib Data files: ${prefix}/share Man pages: /usr/share/man
Non-Working Version:
Configure arguments: --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking --enable-ccache --enable-ffmpeg_static --enable-hdhomerun_static --arch=x86_64 --jobs=9 Compiler: Using C compiler: ccache cc Using LD flags: -ldvbcsa Build for arch: x86_64 Binaries: Using PYTHON: python Using GZIP: gzip Using BZIP2: bzip2 Options: pie yes ccdebug no cardclient yes cwc yes cccam yes capmt yes constcw yes linuxdvb yes satip_server yes satip_client yes hdhomerun_client yes hdhomerun_static yes iptv yes tsfile yes dvbscan yes timeshift yes trace yes avahi yes zlib yes libav yes ffmpeg_static yes libx264 yes libx264_static yes libx265 yes libx265_static yes libvpx yes libvpx_static yes libtheora yes libtheora_static yes libvorbis yes libvorbis_static yes libfdkaac no libfdkaac_static no libopus yes libopus_static yes nvenc no vaapi no mmal no omx no inotify yes epoll yes pcre yes pcre2 no uriparser yes ccache yes tvhcsa yes bundle no pngquant no kqueue no dbus_1 yes android no gtimer_check no slow_memoryinfo no libsystemd_daemon no pcloud_cache yes ddci yes cclang_threadsan no gperftools no execinfo yes mmx yes sse2 yes W_unused_result yes f_stack_protector yes f_stack_protector_strong yes f_stack_check yes f_PIE yes fdatasync yes getloadavg yes atomic32 yes atomic64 yes atomic_time_t yes atomic_ptr yes bitops64 yes lockowner yes qsort_r yes stime yes gmtoff yes recvmmsg yes sendmmsg yes ifnames yes py_gzip yes bin_pkg_config yes bin_xgettext yes bin_msgmerge yes bin_gzip yes bin_bzip2 yes ssl yes linuxdvbapi yes linuxdvb_ca yes upnp yes bin_cmake yes stdcpp yes libogg_static yes inotify_h yes inotify_init1 yes dvbcsa yes epoll_create1 yes mpegts yes mpegts_dvb yes Packages: openssl 1.1.1d zlib 1.2.11 libpcre 8.39 liburiparser 0.9.1 avahi-client 0.7 dbus-1 1.12.20 Installation paths: Prefix: /usr Binaries: ${prefix}/bin Libraries: ${prefix}/lib Data files: ${prefix}/share Man pages: /usr/share/man
Updated by saen acro almost 4 years ago
Can you try without PIPE
https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/iptv/clean/clean.m3u
Updated by Thomas B. almost 4 years ago
- 4.3-1919~g52b255940: No Audio
- 4.2.8-36~g5bdcfd8ac: Audio
Also tried multiple channels and different browsers.
Updated by Thomas B. almost 4 years ago
And therefore used the following repositories:
Updated by saen acro almost 4 years ago
Try to build yourself
https://tvheadend.org/boards/4/topics/24116
tested on 14.04, 16.04, 18.04 and 20.04 not problem with sound.
Updated by Thomas B. almost 4 years ago
I build it myself. That was the output of configure:
thomas@faramir:~/tvheadend$ ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking --enable-ccache --enable-ffmpeg_static --enable-hdhomerun_static --arch=x86_64 --jobs=9 Checking support/features checking for cc execinfo.h ... ok checking for cc -mmmx ... ok checking for cc -msse2 ... ok checking for cc -Wunused-result ... ok checking for cc -fstack-protector ... ok checking for cc -fstack-protector-strong ... ok checking for cc -fstack-check ... ok checking for cc -fPIE ... ok checking for cc strlcat ... fail checking for cc strlcpy ... fail checking for cc fdatasync ... ok checking for cc getloadavg ... ok checking for cc atomic32 ... ok checking for cc atomic64 ... ok checking for cc atomic_time_t ... ok checking for cc atomic_ptr ... ok checking for cc bitops64 ... ok checking for cc lockowner ... ok checking for cc qsort_r ... ok checking for cc stime ... ok checking for cc gmtoff ... ok checking for cc recvmmsg ... ok checking for cc sendmmsg ... ok checking for cc libiconv ... fail ^ using build-in glibc iconv routines checking for cc ifnames ... ok checking for cc cclang_threadsan ... fail checking for py module gzip ... ok checking for pkg-config ... ok checking for xgettext ... ok checking for msgmerge ... ok checking for gzip ... ok checking for bzip2 ... ok checking for pkg openssl ... ok (detected 1.1.1d) checking for cc linux/dvb/version.h ... ok checking for pkg zlib ... ok (detected 1.2.11) checking for pkg libpcre2-8 ... ok (detected 10.32) checking for pkg liburiparser ... ok (detected 0.9.1) checking for pkg avahi-client ... ok (detected 0.7) checking for cmake ... ok checking for cc -lstdc++ ... ok checking for pkg libva >=0.38.0 ... ok (detected 1.4.0) checking for pkg libva-drm >=0.38.0 ... ok (detected 1.4.0) checking for cc sys/inotify.h ... ok checking for cc inotify_init1 ... ok checking for cc dvbcsa/dvbcsa.h ... ok checking for cc -ldvbcsa ... ok fetching dvb-scan files ... ok checking for cc epoll_create1 ... ok checking for pkg dbus-1 ... ok (detected 1.12.20) Compiler: Using C compiler: ccache cc Using LD flags: -ldvbcsa Build for arch: x86_64 Binaries: Using PYTHON: python Using GZIP: gzip Using BZIP2: bzip2 Options: pie yes ccdebug no cardclient yes cwc yes cccam yes capmt yes constcw yes linuxdvb yes satip_server yes satip_client yes hdhomerun_client yes hdhomerun_static yes iptv yes tsfile yes dvbscan yes timeshift yes trace yes avahi yes zlib yes libav yes ffmpeg_static yes libx264 yes libx264_static yes libx265 yes libx265_static yes libvpx yes libvpx_static yes libtheora yes libtheora_static yes libvorbis yes libvorbis_static yes libfdkaac no libfdkaac_static no libopus yes libopus_static yes nvenc no vaapi yes mmal no omx no inotify yes epoll yes pcre no pcre2 yes uriparser yes ccache yes tvhcsa yes bundle no pngquant no kqueue no dbus_1 yes android no gtimer_check no slow_memoryinfo no libsystemd_daemon no pcloud_cache yes ddci yes cclang_threadsan no gperftools no execinfo yes mmx yes sse2 yes W_unused_result yes f_stack_protector yes f_stack_protector_strong yes f_stack_check yes f_PIE yes fdatasync yes getloadavg yes atomic32 yes atomic64 yes atomic_time_t yes atomic_ptr yes bitops64 yes lockowner yes qsort_r yes stime yes gmtoff yes recvmmsg yes sendmmsg yes ifnames yes py_gzip yes bin_pkg_config yes bin_xgettext yes bin_msgmerge yes bin_gzip yes bin_bzip2 yes ssl yes linuxdvbapi yes linuxdvb_ca yes upnp yes bin_cmake yes stdcpp yes libogg_static yes hwaccels yes inotify_h yes inotify_init1 yes dvbcsa yes epoll_create1 yes mpegts yes mpegts_dvb yes Packages: openssl 1.1.1d zlib 1.2.11 libpcre2-8 10.32 liburiparser 0.9.1 avahi-client 0.7 libva 1.4.0 libva-drm 1.4.0 dbus-1 1.12.20 Installation paths: Prefix: /usr Binaries: ${prefix}/bin Libraries: ${prefix}/lib Data files: ${prefix}/share Man pages: /share/man Final Binary: /home/thomas/tvheadend/build.linux/tvheadend Tvheadend Data Directory: /usr/share/tvheadend
I don't paste the output of the build process because it's very much. But in the end it generated the .deb files:
dpkg-deb: building package 'tvheadend-dbg' in '../tvheadend-dbg_4.3-1919~g52b255940_amd64.deb'. dpkg-deb: building package 'tvheadend' in '../tvheadend_4.3-1919~g52b255940_amd64.deb'. make[1]: Leaving directory '/home/thomas/tvheadend' dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../tvheadend_4.3-1919~g52b255940_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) doozer-versioned-artifact:/home/thomas/tvheadend/../tvheadend_4.3-1919~g52b255940_amd64.deb:deb:application/x-deb:tvheadend_4.3-1919~g52b255940_amd64.deb doozer-versioned-artifact:/home/thomas/tvheadend/../tvheadend-dbg_4.3-1919~g52b255940_amd64.deb:deb:application/x-deb:tvheadend-dbg_4.3-1919~g52b255940_amd64.deb doozer-versioned-artifact:/home/thomas/tvheadend/../tvheadend_4.3-1919~g52b255940_amd64.changes:changes:text/plain:tvheadend_4.3-1919~g52b255940_amd64.changes
Removed the previous one:
thomas@faramir:~$ sudo apt remove tvheadend Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libalgorithm-c3-perl libauthen-sasl-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl libclass-c3-perl libclass-c3-xs-perl libclass-data-inheritable-perl libclass-factory-util-perl libclass-inspector-perl libclass-method-modifiers-perl libclass-methodmaker-perl libclass-singleton-perl libclass-xsaccessor-perl libcommon-sense-perl libconvert-binhex-perl libdata-dump-perl libdata-optlist-perl libdate-manip-perl libdatetime-format-builder-perl libdatetime-format-iso8601-perl libdatetime-format-sqlite-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl libdbd-sqlite3-perl libdbi-perl libdevel-callchecker-perl libdevel-caller-perl libdevel-lexalias-perl libdevel-stacktrace-perl libdigest-bubblebabble-perl libdigest-hmac-perl libdynaloader-functions-perl libemail-address-perl libemail-find-perl libemail-valid-perl libencode-locale-perl libeval-closure-perl libexception-class-perl libexporter-lite-perl libexporter-tiny-perl libfcgi-perl libfile-chdir-perl libfile-homedir-perl libfile-listing-perl libfile-sharedir-perl libfile-slurp-perl libfile-which-perl libfont-afm-perl libhtml-form-perl libhtml-format-perl libhtml-fromtext-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cache-transparent-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-html-perl libio-sessiondata-perl libio-socket-ssl-perl libio-stringy-perl libjson-perl libjson-xs-perl liblingua-preferred-perl liblist-moreutils-perl liblog-tracemessages-perl liblwp-mediatypes-perl liblwp-protocol-https-perl liblwp-useragent-determined-perl libmailtools-perl libmime-tools-perl libmodule-implementation-perl libmodule-runtime-perl libmro-compat-perl libnamespace-autoclean-perl libnamespace-clean-perl libnet-dns-perl libnet-dns-sec-perl libnet-domain-tld-perl libnet-http-perl libnet-ip-perl libnet-libidn-perl libnet-smtp-ssl-perl libnet-ssleay-perl libossp-uuid-perl libossp-uuid16 libpackage-stash-perl libpackage-stash-xs-perl libpadwalker-perl libparams-classify-perl libparams-util-perl libparams-validate-perl libparams-validationcompiler-perl libperlio-gzip-perl libreadonly-perl libref-util-perl libref-util-xs-perl libregexp-common-perl librole-tiny-perl libsoap-lite-perl libspecio-perl libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl libsub-name-perl libsub-quote-perl libtask-weaken-perl libterm-progressbar-perl libterm-readkey-perl libtie-ixhash-perl libtimedate-perl libtry-tiny-perl libtypes-serialiser-perl libunicode-string-perl liburi-perl libvariable-magic-perl libwww-perl libwww-robotrules-perl libxml-dom-perl libxml-libxml-perl libxml-libxslt-perl libxml-namespacesupport-perl libxml-parser-perl libxml-perl libxml-regexp-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl libxml-treepp-perl libxml-twig-perl libxml-writer-perl libxml-xpathengine-perl libxmlrpc-lite-perl libxmltv-perl libxslt1.1 perl-openssl-defaults python-asn1crypto python-certifi python-cffi-backend python-chardet python-cryptography python-enum34 python-idna python-ipaddress python-openssl python-pkg-resources python-requests python-six python-urllib3 xmltv-util Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: tvheadend 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 41.7 MB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 65615 files and directories currently installed.) Removing tvheadend (4.3-1919~g52b255940~buster) ... Processing triggers for man-db (2.8.5-2) ...
Installed the new one:
thomas@faramir:~$ sudo dpkg -i tvheadend_4.3-1919~g52b255940_amd64.deb Selecting previously unselected package tvheadend. (Reading database ... 61189 files and directories currently installed.) Preparing to unpack tvheadend_4.3-1919~g52b255940_amd64.deb ... Unpacking tvheadend (4.3-1919~g52b255940) ... Setting up tvheadend (4.3-1919~g52b255940) ... Processing triggers for systemd (241-7~deb10u5) ... Processing triggers for man-db (2.8.5-2) ... thomas@faramir:~$ sudo systemctl start tvheadend
I also confirmed that the latest version is really running by looking at the build date in the about tab.
But in the end... still no audio.
Updated by Thomas B. almost 4 years ago
Another hint, I created a stream profile of type "Audio Stream" and left all parameter as their default values.
No I have audio but obviously no picture.
Updated by Thomas B. almost 4 years ago
Thomas B. wrote:
Another hint, I created a stream profile of type "Audio Stream" and left all parameter as their default values.
No I have audio but obviously no picture.
This should mean: Now I have audio.... but no picture
Updated by saen acro almost 4 years ago
Configure arguments: --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking --enable-cclang_threadsan --enable-gperftools --enable-kqueue --enable-ccdebug --enable-libfdkaac --enable-gtimer_check --enable-slow_memoryinfo --enable-vaapi --disable-hdhomerun_client --disable-hdhomerun_static --jobs=2 Compiler: Using C compiler: ccache cc Using LD flags: -ldvbcsa Build for arch: x86_64 Binaries: Using PYTHON: python Using GZIP: gzip Using BZIP2: bzip2 Options: pie yes ccdebug yes cardclient yes cwc yes cccam yes capmt yes constcw yes linuxdvb yes satip_server yes satip_client yes hdhomerun_client no hdhomerun_static no iptv yes tsfile yes dvbscan yes timeshift yes trace yes avahi yes zlib yes libav yes ffmpeg_static yes libx264 yes libx264_static yes libx265 yes libx265_static yes libvpx yes libvpx_static yes libtheora yes libtheora_static yes libvorbis yes libvorbis_static yes libfdkaac yes libfdkaac_static yes libopus yes libopus_static yes nvenc no vaapi yes mmal no omx no inotify yes epoll yes pcre no pcre2 yes uriparser yes ccache yes tvhcsa yes bundle no pngquant no kqueue yes dbus_1 yes android no gtimer_check yes slow_memoryinfo yes libsystemd_daemon no pcloud_cache yes ddci yes cclang_threadsan yes gperftools yes execinfo yes mmx yes sse2 yes W_unused_result yes f_stack_protector yes f_stack_protector_strong yes f_stack_check yes f_PIE yes fdatasync yes getloadavg yes atomic32 yes atomic64 yes atomic_time_t yes atomic_ptr yes bitops64 yes lockowner yes qsort_r yes stime yes gmtoff yes recvmmsg yes sendmmsg yes ifnames yes py_gzip yes bin_pkg_config yes bin_xgettext yes bin_msgmerge yes bin_gzip yes bin_bzip2 yes ssl yes linuxdvbapi yes linuxdvb_ca yes upnp yes bin_cmake yes stdcpp yes libogg_static yes hwaccels yes inotify_h yes inotify_init1 yes dvbcsa yes epoll_create1 yes mpegts yes mpegts_dvb yes Packages: openssl 1.1.1 zlib 1.2.11 libpcre2-8 10.31 liburiparser 0.8.4 avahi-client 0.7 libva 1.1.0 libva-drm 1.1.0 dbus-1 1.12.2 Installation paths: Prefix: /usr Binaries: ${prefix}/bin Libraries: ${prefix}/lib Data files: ${prefix}/share Man pages: /usr/share/man
sound is ok on my PC
Open status in bottom of web-ui and enable debug
post message's when streaming start.
Updated by Thomas B. almost 4 years ago
That's the output. Within the second part I switched to the Audio Only Strem profile:
Loglevel debug: enabled 2020-12-25 17:58:20.630 mpegts: pipe.m3u - ARTE HD in IPTV - kodinerds - tuning on IPTV #1 2020-12-25 17:58:20.635 spawn: Executing "/usr/bin/ffmpeg" 2020-12-25 17:58:20.636 subscription: 001A: "HTTP" subscribing on channel "ARTE HD", weight: 100, adapter: "IPTV #1", network: "IPTV - kodinerds", mux: "pipe.m3u - ARTE HD", provider: "IPTV-DE", service: "ARTE HD", profile="webtv-vp8-vorbis-webm", hostname="192.168.1.114", username="admin", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0" 2020-12-25 17:58:21.666 transcode: 0007: 01:H264: ==> Using profile webtv-vp8 2020-12-25 17:58:21.666 transcode: 0007: 02:AAC: ==> Using profile webtv-vorbis 2020-12-25 17:58:21.672 libav: AVCodecContext: v1.9.0 Loglevel debug: enabled 2020-12-25 17:59:28.539 iptv: m3u parse: 0 new mux(es) in network 'IPTV - kodinerds' (total 457) 2020-12-25 17:59:36.759 subscription: 001B: "HTTP" subscribing on channel "ARTE HD", weight: 100, adapter: "IPTV #1", network: "IPTV - kodinerds", mux: "pipe.m3u - ARTE HD", provider: "IPTV-DE", service: "ARTE HD", profile="Test - Audio Only", hostname="192.168.1.114", username="admin", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0" 2020-12-25 17:59:38.781 subscription: 001A: "HTTP" unsubscribing from "ARTE HD", hostname="192.168.1.114", username="admin", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0"
Updated by saen acro almost 4 years ago
First is some spawn profile not webtv-vp8-vorbis-webm
Loglevel debug: enabled
2020-12-26 11:08:48.282 mpegts: 522MHz in dvb-t - tuning on DiBcom 3000MC/P
2020-12-26 11:08:48.803 subscription: 1B63: "HTTP" subscribing on channel "The Voice", weight: 100, adapter: "DiBcom 3000MC/P", network: "dvb-t", mux: "522MHz", provider: "NURTS", service: "The Voice", profile="webtv-vp8-vorbis-webm", hostname="192.168.1.10", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 OPR/73.0.3856.284"
2020-12-26 11:08:49.439 transcode: 0003: 01:H264: ==> Using profile webtv-vp8
2020-12-26 11:08:49.439 transcode: 0003: 02:MPEG2AUDIO: ==> Using profile webtv-vorbis
2020-12-26 11:08:49.621 libav: AVCodecContext: v1.9.0
post spawn profile content.
Updated by Thomas B. almost 4 years ago
What exactly do you mean with "spawn profile" content? Do you mean the URL of the mux?