Bug 365067 - Subtitles don't show on dvb
Summary: Subtitles don't show on dvb
Status: RESOLVED FIXED
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-04 09:54 UTC by Tenzin
Modified: 2018-08-15 12:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kaffeine --debug output (12.08 KB, text/plain)
2016-07-31 00:07 UTC, sylvain.l.sauvage
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tenzin 2016-07-04 09:54:34 UTC
Version : 1.3-git
Ubuntu 14.04
hauppauge Nova-T-HD
Subtitles don't show on dvb, but when I open a recorded program I can display the subtitles.

Reproducible: Always

Steps to Reproduce:
1.open any channel on dvb
2.try to select a subtitle choice
3

Actual Results:  
nothing happens

Expected Results:  
subtitles should be showed
Comment 1 Mauro Carvalho Chehab 2016-07-04 18:36:42 UTC
There were lots of changes since Kaffeine 1.3.x up to Kaffeine 2.0.4, including several fixes at EPG parsing. Could you please check if the bug still happens with Kaffeine 2.0.4? If so, please attach the output using "--debug" option. It should generate a lot of information about EPG parsing there.
Comment 2 Tenzin 2016-07-06 19:33:29 UTC
Hi,
I have downloaded kaffeine-6a2fce5.tar.gz but installation doesn't work for me : 
when I try 
 cmake '/home/famille/Documents/kaffeine'
it returns an error that I don't understand :
CMake Error at CMakeLists.txt:24 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 1.0.0) with any of the following names:

    ECMConfig.cmake
    ecm-config.cmake

  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!
See also "/home/famille/CMakeFiles/CMakeOutput.log".

Is there a simpler way to install? What is ECM ?

Thanks a lot for your help, your soft is so useful to me.
Comment 3 Mauro Carvalho Chehab 2016-07-14 20:17:59 UTC
There are several packages that need to be installed. Read the README.md file. It relates the needed packages, and has the commands to be used on Ubuntu to install them.
Comment 4 sylvain.l.sauvage 2016-07-31 00:07:03 UTC
Created attachment 100393 [details]
kaffeine --debug output

I can confirm the bug on Kaffeine 2.0.4 (Debian Sid).

Note also that the subtitle selection button doesn’t appear in the bottom bar. I can select the subtitles via the context menu but nothing happens.

The selected channel has 3 audio tracks and 2 subtitle tracks.
Comment 5 sylvain.l.sauvage 2016-07-31 00:28:50 UTC
Sorry, “streams” not “tracks.”
Late night….
Comment 6 Tenzin 2016-09-09 17:56:09 UTC
Hi,
I have just installed version 2.02 on ubuntu 16.04, and subtitles still don't show.
Comment 7 Mauro Carvalho Chehab 2016-09-15 09:41:59 UTC
(In reply to Tenzin from comment #6)
> Hi,
> I have just installed version 2.02 on ubuntu 16.04, and subtitles still
> don't show.

There were some issues with Kaffeine 2.0.2 related to subtitles. Please test Kaffeine 2.0.4.
Comment 8 Mauro Carvalho Chehab 2016-09-15 10:01:47 UTC
(In reply to sylvain.l.sauvage from comment #4)
> Created attachment 100393 [details]
> kaffeine --debug output
> 
> I can confirm the bug on Kaffeine 2.0.4 (Debian Sid).
> 
> Note also that the subtitle selection button doesn’t appear in the bottom
> bar. I can select the subtitles via the context menu but nothing happens.
> 
> The selected channel has 3 audio tracks and 2 subtitle tracks.

I'll have to look deeper to discover why it is not using the subtitle tracks. Right now, I can't reproduce this bug.

Could you please record me 2 minutes of such stream with multiple subtitle tracks, using dvbv5-zap?

The dvbv5 syntax to record the full MPEG-TS is:

dvbv5-zap -c channels.conf "channel name" -P -r out.m2t -t 120

where channels.conf is a scan file previouly created with dvbv5-scan, and "channel name" is the name of the channel you're recording.

Such file will be big, so you'll need to place on dropbox (or similar) and send me the link to download. Feel free to send me in priv, via e-mail.

With the file in hands, I can use my RF generator to reproduce the issue. I'll also need the channels.conf and the name of the channel you're using, in order to setup the RF generator to the same modulation parameters.
Comment 9 Mauro Carvalho Chehab 2016-09-16 20:00:36 UTC
The DVB subtitles logic were indeed broken in a number of ways.

It should be working fine after this commit:
   http://commits.kde.org/kaffeine/63c3694da12c904a88178859c650b6c30cf748ee

Please test. Locally, I tested with both VLC 2.x and 3.x.

PS.: now, --debug will display messages related to the DVB messages.
Comment 10 Tenzin 2016-10-02 15:58:43 UTC
I've seen the commit , but what to do with this ? There is a link to a .cpp file, that shows a code file, but I don't know how to use it.
Thank you for your advises.
Comment 11 Mauro Carvalho Chehab 2016-10-03 11:19:04 UTC
(In reply to Tenzin from comment #10)
> I've seen the commit , but what to do with this ? There is a link to a .cpp
> file, that shows a code file, but I don't know how to use it.
> Thank you for your advises.

Either you clone from the git tree or wait for the version 2.0.5 tarball to be available for download, at:
    http://download.kde.org/stable/kaffeine/

(PS.: I just submitted the tarball - it should take a while for it to be available there)
Comment 12 Tenzin 2016-10-06 15:07:31 UTC
Hi,
I've just installed version 2.05 and it works perfectly ! Great soft !

Thanks a lot for your help.
Comment 13 Mauro Carvalho Chehab 2018-08-15 12:46:23 UTC
*** Bug 397482 has been marked as a duplicate of this bug. ***