Bug #3234

Subtitle S_DVBSUB problem

Added by Harald Øverås over 4 years ago. Updated about 3 years ago.

Status:NewStart date:11/02/2016
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

0%

Category:Subtitles
Target version:5.2
Found in version:5.0.274.g8bfdf and Movian 5.0.425.gabf7c Platform:RPi

Description

I have problems to play this and others tvheadend DVB-S recording in Movian with S_DVBSUB subtitles.
I have used Tvheadend 4.0.9-13~g64fec81 to record it on Ubuntu xenial. It comes from the channel NRK1 HD (https://tv.nrk.no/serie/attenbouroug-og-dyrenes-opprinnelse). It plays fine in Kodi or from SMPlayer 16.8.0 and the subtitle track S_DVBSUB shows fine when I play the recording. When I do the same in Movian 5.0.274.g8bfdf or the latest build for the moment 5.0.425 it chrashes after a few second of playing. I think it is a issue with the S_DVBSUB because when I try recordings with other subtitle (subtitle info from mkvinfo S_TEXT/UTF8 or embedded burned-in subtitle) from other channels (TV3, Viasat4, TVNorge, TV2) it plays fine and shows the subtitle without any crashes.

Mkvinfo:
[email protected]:/storage/recordings/Attenborough og dyrenes opprinnelse$ mkvinfo Attenborough\ og\ dyrenes\ opprinnelse.E01.mkv
+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ EBML maximum size length: 8
|+ Doc type: matroska
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 3222175142
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 430)
|+ Segment information
| + Segment UID: 0x7c 0x01 0xfb 0xef 0xb1 0x9a 0xbb 0x40 0xd4 0xd8 0x7a 0x53 0x5c 0xbc 0xde 0xa9
| + Title: Attenborough og dyrenes opprinnelse
| + Muxing application: Tvheadend Matroska muxer
| + Writing application: Tvheadend 4.0.9-13~g64fec81
| + Timecode scale: 1000000
| + Duration: 4230.219s (01:10:30.219)
|+ Segment tracks
| + A track
|  + Track number: 1 (track ID for mkvmerge & mkvextract: 0)
|  + Track UID: 1
|  + Track type: video
|  + Lacing flag: 0
|  + Codec ID: V_MPEG4/ISO/AVC
|  + CodecPrivate, length 41 (h.264 profile: High @L4.0)
|  + Default duration: 20.000ms (50.000 frames/fields per second for a video track)
|  + Video track
|   + Pixel width: 1280
|   + Pixel height: 720
|   + Display unit: 3 (aspect ratio)
|   + Display width: 16
|   + Display height: 9
| + A track
|  + Track number: 2 (track ID for mkvmerge & mkvextract: 1)
|  + Track UID: 2
|  + Track type: subtitles
|  + Lacing flag: 0
|  + Codec ID: S_DVBSUB
|  + Language: nor
|  + CodecPrivate, length 4
| + A track
|  + Track number: 3 (track ID for mkvmerge & mkvextract: 2)
|  + Track UID: 3
|  + Track type: subtitles
|  + Lacing flag: 0
|  + Codec ID: S_DVBSUB
|  + Language: nor
|  + CodecPrivate, length 4
| + A track
|  + Track number: 4 (track ID for mkvmerge & mkvextract: 3)
|  + Track UID: 4
|  + Track type: audio
|  + Lacing flag: 0
|  + Codec ID: A_AAC
|  + Language: nor
|  + CodecPrivate, length 5
|  + Audio track
|   + Sampling frequency: 24000
|   + Output sampling frequency: 48000
|   + Channels: 2
|   + Bit depth: 16
| + A track
|  + Track number: 5 (track ID for mkvmerge & mkvextract: 4)
|  + Track UID: 5
|  + Track type: audio
|  + Lacing flag: 0
|  + Codec ID: A_AC3
|  + Language: nor
|  + Audio track
|   + Sampling frequency: 48000
|   + Channels: 2
|   + Bit depth: 16
|+ Tags
| + Tag
|  + Targets
|   + TargetTypeValue: 50
|  + Simple
|   + Name: DATE_BROADCASTED
|   + String: 2016-10-17 22:00:00
|   + DefaultLanguage: 1
|   + TagLanguage: und
| + Tag
|  + Targets
|   + TargetTypeValue: 50
|  + Simple
|   + Name: ORIGINAL_MEDIA_TYPE
|   + String: TV
|   + DefaultLanguage: 1
|   + TagLanguage: und
| + Tag
|  + Targets
|   + TargetTypeValue: 50
|  + Simple
|   + Name: CONTENT_TYPE
|   + String: Education / Science / Factual topics
|   + DefaultLanguage: 1
|   + TagLanguage: und
| + Tag
|  + Targets
|   + TargetTypeValue: 50
|  + Simple
|   + Name: TVCHANNEL
|   + String: NRK2 HD
|   + DefaultLanguage: 1
|   + TagLanguage: und
| + Tag
|  + Targets
|   + TargetTypeValue: 50
|  + Simple
|   + Name: SUMMARY
|   + String: (Ep. 1:2).  Fra sjøen til himmelen.
|   + DefaultLanguage: 1
|   + TagLanguage: nor
| + Tag
|  + Targets
|   + TargetTypeValue: 50
|  + Simple
|   + Name: DESCRIPTION
|   + String: Br. naturserie. David Attenborough reiser 500 millioner år tilbake i tid, til den gang virveldyrenes fantastiske utvikling startet. Dyrene i denne gruppen går, svømmer eller flyr i dag over hele kloden, men nedstammer alle fra en primitiv fisk. I Kina er det gjort nye funn av både levende og døde fossiler, og forskningen på disse kaster nytt lys over evolusjonshistorien. Dataanimasjon gir liv til den fantastiske reisen vi og våre nære og fjerne slektninger i dyreverdenen er en del av. (David Attenborough's Rise of Animals)
|   + DefaultLanguage: 1
|   + TagLanguage: nor
| + Tag
|  + Targets
|   + TargetTypeValue: 50
|  + Simple
|   + Name: PART_NUMBER
|   + String: 1
|   + DefaultLanguage: 1
|   + TagLanguage: und
|+ Cluster

Give me feedback if you need more information.

Thanks
Harald Øverås

Attenborough og dyrenes opprinnelse.E01.mkv.chunk040 - Used filesplitter to make 50 MB chunks (50 MB) Harald Øverås, 11/02/2016 12:08 PM

movian-1.log - Movian 5.0.274.g8bfdf (25.9 KB) Harald Øverås, 11/02/2016 12:10 PM

movian-1 (1).log - Movian 5.0.425.gabf7c (15.4 KB) Harald Øverås, 11/02/2016 12:39 PM

AnimalPlanetHD_dvbsub.ts - Recorded from tvheadend strem with ffmpeg (61.3 MB) Harald Øverås, 02/11/2018 01:23 PM

movian.txt Magnifier - Logfile when Movian play AnimalPlanet streams with dvbsub stream (1.03 KB) Harald Øverås, 02/11/2018 01:31 PM

Movian_stos_rpi3.log (3.21 KB) Harald Øverås, 02/11/2018 01:39 PM

AnimalPlanetHD-DVBC-Movian-20170902-490-DVBSUB.txt Magnifier (3.45 KB) Harald Øverås, 02/12/2018 07:49 PM

Animal Planet HD service details.PNG - Aninal Planet HD service details (22.2 KB) Harald Øverås, 02/15/2018 06:04 PM


Related issues

Related to Bug #3291: Movian crashes on DVB subtitles Accepted 04/27/2017

History

#1 Updated by Rob Koni over 3 years ago

See here for the fix with DVBSUB problems

https://movian.tv/issues/3291#note-3

#2 Updated by Leonid Protasov about 3 years ago

  • Related to Bug #3291: Movian crashes on DVB subtitles added

#3 Updated by Leonid Protasov about 3 years ago

  • Target version set to 5.2

#4 Updated by Leonid Protasov about 3 years ago

Can you please add samples? The one you attached won't play.

#6 Updated by Harald Øverås about 3 years ago

Thank you for looking at this.
I have attached a short ts-stream of Animal Planet HD with two dvbsub streams (nor, swe) from tvheadend. Recorded the stream with ffmpeg like this:
ffmpeg -i "http://192.168.9.2:9981/stream/channelid/1943048059?ticket=DCC76CC25E27C33969E0D8E3D46ED01BF16273E3&profile=pass" -map 0:a? -map 0:s? -map 0:v -c:v copy -c:a ac3 -c:s copy AnimalPlanetHD_dvbsub.ts

Movian choose the dvbstream, but it can not display the dvbstream. I attach the Movian log of this.
I am going to try next Rob Koni fix for the dvbsub problem.

#7 Updated by Harald Øverås about 3 years ago

Sorry wrong logfile attach. Here is the correct one. I done the testing with movian-5.0.487 running on a rpi3 with the stos image sd-2.4.21.img.

#8 Updated by Harald Øverås about 3 years ago

I tried to update Movian which, comes from the stos disk image, with Rob Koni showtime.sgfs with support for dvb_s but I failed to do that. I used this metode:

To update Movian on rpi with compiled one, enable Binreplace in settings:dev and issue:
curl --data-binary @build.rpi/showtime.sqfs http://rpi_ip_address:42000/api/replace

I hope the stos image can be updated with a fix.

#9 Updated by Harald Øverås about 3 years ago

I managed to update the rpi stos image with Rob Koni "showtime.sqfs 20170902-490-DVBSUB"image. I am sorry to say that the fix for the DVBSUB problems is not working. I tried also to use the "showtime.sqfs 20171213-494" image which also did not work. Both time I was streaming Animal Planet HD from tvheadend.
I attach the movian log.

#10 Updated by Dean Kasabow about 3 years ago

The subtitles provided by tvheadend are NOT “dvb_subtitles” but in another remixed/internal format.

DVB subtitles are properly rendered when viewing standard mpeg-ts streams.

#11 Updated by Harald Øverås about 3 years ago

I use in Tvheadend the default stream profile: pass, which send the stream as a MPEG-TS Pass-thru to movian. Tvheadend should not do any remixing of the pids in the stream because the PID service details is the same both in the input (Hdhomerun) and output (htsp stream). I can view the dvb_subtitles in VLC.
I have tried to disable "Rewrite MPEG-TS SI tables" for the pass profile in tvheadend, but without any changes.

From the Telenor Broadcasting 1 degree west board I see Animal Planet has the same PID as tvheadend streams out.
DVB Subtitle PID: 6556 Swedish
DVB Subtitle PID: 6558 Norwegian
[[http://www.telenorsat.com/wp-content/uploads/2012/04/Animal-Planet-HD_Move_200516.pdf]]

Any advice what to try next?

Also available in: Atom PDF