Bug 389498 - No TV video with 17.10
Summary: No TV video with 17.10
Status: RESOLVED WORKSFORME
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: 2.0.13
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-27 09:45 UTC by Krister Hallergard
Modified: 2018-02-22 11:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krister Hallergard 2018-01-27 09:45:33 UTC
No TV video (UK freeview DVB-T, Hauppauge NOVA-T CPI) after upgrade from 17.04 to 17.10  shows black + normal audio.  TV Recording plays video in VLC but not in kaffeine.  Other videos than TV play normally in kubuntu. 

Kaffeine 2.0.5, 2.0.12 and 2.0.13 and kernels 4.13.0-21-generic -25, -31 and -32.
Comment 1 Mauro Carvalho Chehab 2018-02-20 18:07:52 UTC
(In reply to Krister Hallergard from comment #0)
> No TV video (UK freeview DVB-T, Hauppauge NOVA-T CPI) after upgrade from
> 17.04 to 17.10  shows black + normal audio.  TV Recording plays video in VLC
> but not in kaffeine.  Other videos than TV play normally in kubuntu. 
> 
> Kaffeine 2.0.5, 2.0.12 and 2.0.13 and kernels 4.13.0-21-generic -25, -31 and
> -32.

That's weird. The same Kaffeine version works on 17.04 and doesn't with 17.10?

Btw, I just made lots of tests with kaffeine -git on Ubuntu 17.10 today.
Comment 2 Krister Hallergard 2018-02-20 22:31:40 UTC
Shall I understand that it works for you on Ubuntu 17.10?  Could the explanation be that I have upgraded rather than a fresh install?  Not quite sure, my last fresh install could have been as old as 16.04
Comment 3 Mauro Carvalho Chehab 2018-02-21 02:07:49 UTC
(In reply to Krister Hallergard from comment #2)
> Shall I understand that it works for you on Ubuntu 17.10?  Could the
> explanation be that I have upgraded rather than a fresh install?  Not quite
> sure, my last fresh install could have been as old as 16.04

No, I've been updating my test machine too. Ah, I just remembered something: vlc version 2.x doesn't support some video codecs that are required on some places (like support for  H.265). So, I ended by compiling it by hand on my test machine. I'm using here a July version of it:

 vlc --version
VLC media player 3.0.0-git Vetinari (revision 6377bdec0022)
VLC version 3.0.0-git Vetinari (6377bdec0022)
Compiled by mchehab on localhost (Jul  8 2017 19:48:36)
Compiler: gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2)

If you're using vlc 2.x, it won't likely work in UK.
Comment 4 Krister Hallergard 2018-02-22 08:15:47 UTC
Am using VLC ver 2.2.6 on 17.10

Made a crude upgrade to bionic, and can confirm that I then get TV video with kaffeine 2.0.14 and VLC 3.0.0-1ubuntu1

Is there a way of installing VLC 3.x on 17.10?
Comment 5 Mauro Carvalho Chehab 2018-02-22 10:31:29 UTC
(In reply to Krister Hallergard from comment #4)
> Am using VLC ver 2.2.6 on 17.10
> 
> Made a crude upgrade to bionic, and can confirm that I then get TV video
> with kaffeine 2.0.14 and VLC 3.0.0-1ubuntu1

Good to know. Yeah, vlc 2.2 only works fine with mpeg2 video. It has some sync issues with h.264 and doesn't support h.265 and other codecs that are now used on some channels (including the ones in UK, as far as I know).

> Is there a way of installing VLC 3.x on 17.10?

There are some ways. Videolan has two Ubuntu ppa repositories, one with stable (unfortunately, up to yesterday, still with vlc 2.2) and one with the master branch (with was now forked to vlc 4.0). I suspect that their stable ppa would soon have vlc 3.0. There's also a way to install vlc via snap. I didn't test it myself, as I'm not sure if it would work with Kaffeine, as you'll likely need to build Kaffeine to use the snap vlc library.

Btw, yesterday, I rebuilt vlc myself on my test machine. What I did was:

1. Get VLC build dependencies, with something like:
     $ sudo su -c "add-apt-repository -s ppa:videolan/master-daily && apt update && apt build-dep vlc && add-apt-repository -r ppa:videolan/master-daily"

2. build vlc from its git repository:

     $ git clone http://git.videolan.org/git/vlc.git && cd vlc && ./bootstrap && ./configure --enable-chromecast=no && ./compile

3. install it with "make install && ldconfig", as root.

Please notice that, on Ubuntu, Chromecast support has to be disabled, as otherwise build will fail (due to this bug: https://trac.videolan.org/vlc/ticket/18329).

Also, the above procedure will install it at /usr/local. If you want to install on /usr, you need add "--prefix=/usr" to ./configure.

Ah, don't forget to remove the old vlc before doing that ;-)
Comment 6 Mauro Carvalho Chehab 2018-02-22 10:36:22 UTC
(In reply to Krister Hallergard from comment #4)
> Am using VLC ver 2.2.6 on 17.10
> 
> Made a crude upgrade to bionic, and can confirm that I then get TV video
> with kaffeine 2.0.14 and VLC 3.0.0-1ubuntu1

As this is not a Kaffeine's bug, but, instead, the lack of a needed dependency in order to display more modern encodings, I'm closing this bug. You could try to open a bug at Ubuntu, and see if they can migrate their package to use vlc 3.0 on 17.10 (not idea if Ubuntu's policies allow that).
Comment 7 Krister Hallergard 2018-02-22 11:27:59 UTC
Obrigado viu!