2014-04-24, 22:17
Evening All
I've just upgraded to Ubuntu 14.04 x64 and for some reason Tvheadend won't start. This was all working fine last night using Ubuntu 13.10 and the same install of Tvheadend, all I've done is upgrade Ubuntu to 14.04 this evening.
When I try to start it manually I'm getting the following:-
And looking at the xbmc.log file I can see this:-
XBMC can't access Tvheadend because Tvheadend fails to start and to rectify this I've installed the Restricted Extras package and also libavcodec-extra which I spotted in another thread:-
After doing this the issue persists. However, I'm still new to Ubuntu and I'm not so sure what the ramifications of trying to install libavcodec-extra vs what was installed with 14.04. I don't want to be running old codecs as I've been trying to get the best out of my system by going to latest of everything [except the nVidia drivers], plus an SSD and a new GPU.
I'm a little stuck and would appreciate some sound advice if anyone can shed any light on this please?
[Edit]
I saw 'apt-cache search tvheadend' mentioned in another thread and this is the output:-
My install of Tvheadend should be the latest unstable version from the source as of a couple of weeks ago. I checked the README file that came down with the soure and it says v3.5.
I've since come across this - https://tvheadend.org/issues/1732
Does that mean I can recompile Tvheadend with a newer version of libavcodec? If so then can anyone give me a few pointers on how to include the newer version when I do ./configure or make please? Does it automatically use the version that I'm running in my version of Ubuntu? Apologies if its a stupid question, I've been running Ubuntu for about 6 years but I'm still very new to it.
[/Edit]
I've just upgraded to Ubuntu 14.04 x64 and for some reason Tvheadend won't start. This was all working fine last night using Ubuntu 13.10 and the same install of Tvheadend, all I've done is upgrade Ubuntu to 14.04 this evening.
When I try to start it manually I'm getting the following:-
Quote:Starting tvheadend
/usr/local/bin/tvheadend: error while loading shared libraries: libavcodec.so.53: cannot open shared object file: No such file or directory
And looking at the xbmc.log file I can see this:-
Quote:21:09:39 T:139995113314048 ERROR: AddOnLog: Tvheadend HTSP Client: OpenSocket - failed to connect to the backend (Connection refused)
21:09:39 T:139995113314048 ERROR: ADDON: Dll Tvheadend HTSP Client - Client returned bad status (1) from Create and is not usable
21:09:39 T:139995113314048 WARNING: UpdateAndInitialiseClients - failed to create add-on Tvheadend HTSP Client, status = 1
21:09:39 T:139996887328512 NOTICE: Thread AddonStatus pvr.hts start, auto delete: true
21:09:34 T:139995113314048 WARNING: UpdateAndInitialiseClients - failed to create add-on Tvheadend HTSP Client, status = 1
21:09:34 T:139996887328512 NOTICE: Thread AddonStatus pvr.hts start, auto delete: true
21:09:39 T:139995113314048 ERROR: AddOnLog: Tvheadend HTSP Client: OpenSocket - failed to connect to the backend (Connection refused)
21:09:39 T:139995113314048 ERROR: ADDON: Dll Tvheadend HTSP Client - Client returned bad status (1) from Create and is not usable
21:09:39 T:139995113314048 WARNING: UpdateAndInitialiseClients - failed to create add-on Tvheadend HTSP Client, status = 1
XBMC can't access Tvheadend because Tvheadend fails to start and to rectify this I've installed the Restricted Extras package and also libavcodec-extra which I spotted in another thread:-
Quote:sudo apt-get install libavcodec-extra
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libpostproc52 nvidia-settings-304
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libavcodec-extra-54
The following packages will be REMOVED
libavcodec54
The following NEW packages will be installed
libavcodec-extra libavcodec-extra-54
0 to upgrade, 2 to newly install, 1 to remove and 4 not to upgrade.
Need to get 2,360 kB of archives.
After this operation, 88.1 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe libavcodec-extra-54 amd64 6:9.11-2ubuntu2 [2,350 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe libavcodec-extra all 6:9.11-2ubuntu2 [9,802 B]
Fetched 2,360 kB in 0s (5,250 kB/s)
dpkg: libavcodec54:amd64: dependency problems, but removing anyway as you requested:
libavformat54:amd64 depends on libavcodec54 (>= 6:9.1-1) | libavcodec-extra-54 (>= 6:9.11); however:
Package libavcodec54:amd64 is to be removed.
Package libavcodec-extra-54 is not installed.
gstreamer1.0-libav:amd64 depends on libavcodec54 (>= 6:9.1-1) | libavcodec-extra-54 (>= 6:9.10); however:
Package libavcodec54:amd64 is to be removed.
Package libavcodec-extra-54 is not installed.
libchromaprint0:amd64 depends on libavcodec54 (>= 6:9.1-1) | libavcodec-extra-54 (>= 6:9.10); however:
Package libavcodec54:amd64 is to be removed.
Package libavcodec-extra-54 is not installed.
libopencv-highgui2.4:amd64 depends on libavcodec54 (>= 6:9.1-1) | libavcodec-extra-54 (>= 6:9.10); however:
Package libavcodec54:amd64 is to be removed.
Package libavcodec-extra-54 is not installed.
libavcodec-dev depends on libavcodec54 (<= 6:9.11-99) | libavcodec-extra-54 (<= 6:9.11-99); however:
Package libavcodec54:amd64 is to be re
(Reading database ... 190360 files and directories currently installed.)
Removing libavcodec54:amd64 (6:9.11-2ubuntu2) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Selecting previously unselected package libavcodec-extra-54:amd64.
(Reading database ... 190354 files and directories currently installed.)
Preparing to unpack .../libavcodec-extra-54_6%3a9.11-2ubuntu2_amd64.deb ...
Unpacking libavcodec-extra-54:amd64 (6:9.11-2ubuntu2) ...
Selecting previously unselected package libavcodec-extra.
Preparing to unpack .../libavcodec-extra_6%3a9.11-2ubuntu2_all.deb ...
Unpacking libavcodec-extra (6:9.11-2ubuntu2) ...
Setting up libavcodec-extra-54:amd64 (6:9.11-2ubuntu2) ...
Setting up libavcodec-extra (6:9.11-2ubuntu2) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
After doing this the issue persists. However, I'm still new to Ubuntu and I'm not so sure what the ramifications of trying to install libavcodec-extra vs what was installed with 14.04. I don't want to be running old codecs as I've been trying to get the best out of my system by going to latest of everything [except the nVidia drivers], plus an SSD and a new GPU.
I'm a little stuck and would appreciate some sound advice if anyone can shed any light on this please?
[Edit]
I saw 'apt-cache search tvheadend' mentioned in another thread and this is the output:-
Quote:xbmc-pvr-tvheadend-hts - XBMC PVR Addon TvHeadend Hts - PVR API:1.9.0
My install of Tvheadend should be the latest unstable version from the source as of a couple of weeks ago. I checked the README file that came down with the soure and it says v3.5.
I've since come across this - https://tvheadend.org/issues/1732
Does that mean I can recompile Tvheadend with a newer version of libavcodec? If so then can anyone give me a few pointers on how to include the newer version when I do ./configure or make please? Does it automatically use the version that I'm running in my version of Ubuntu? Apologies if its a stupid question, I've been running Ubuntu for about 6 years but I'm still very new to it.
[/Edit]