Project

General

Profile

How can show DVB subtitle...

Added by mojbuk mojbuk almost 12 years ago

How can I display, include, DVB subtitling? Info shows me DVBSUB und (000). How can I change the audio language? How can I send a multicast stream from tvheadend?

If anyone can help, I thank him very much.


Replies (6)

RE: How can show DVB subtitle... - Added by Prof Yaffle almost 12 years ago

1. I suspect that display depends on what client you're using to view the video files.

2. If you're using mkv as a container, you can use mkvmerge (and mkvmergegui) to change the audio language for any client that chokes on "und". Not sure about .ts or if there's an easier way.

3. Multicast - pass, no idea, I'm afraid.

RE: How can show DVB subtitle... - Added by mojbuk mojbuk almost 12 years ago

Prof Yaffle wrote:

1. I suspect that display depends on what client you're using to view the video files.

2. If you're using mkv as a container, you can use mkvmerge (and mkvmergegui) to change the audio language for any client that chokes on "und". Not sure about .ts or if there's an easier way.

3. Multicast - pass, no idea, I'm afraid.

Thank you. I tried with VLC player as a client but can not show subtitles.

RE: How can show DVB subtitle... - Added by Prof Yaffle almost 12 years ago

Hmmm, I seem to have subtitles in most of my recordings.

Can you take a look in syslog on your tvheadend machine, please, and see what's actually being recorded? You should have something like this when a recording starts:

Feb  3 07:28:30 revo tvheadend[1294]: dvr: /home/xbmc/Recordings/programme.ts from adapter: "Conexant CX24116/CX24118", network: "ASTRA", mux: "ASTRA: 11,307,000 kHz Vertical (No satconf)", provider: "BSkyB", service: "Channel" 
Feb  3 07:28:30 revo tvheadend[1294]: dvr:  # type                 lang resolution       samplerate channels
Feb  3 07:28:30 revo tvheadend[1294]: dvr:  1 MPEG2VIDEO                0 x 0   
Feb  3 07:28:30 revo tvheadend[1294]: dvr:  2 MPEG2AUDIO           eng                   96000      0

and, if the broadcast contains subtitles, you'll get something like:

Feb  3 07:58:31 revo tvheadend[1294]: dvr: /home/xbmc/Recordings/programme.ts from adapter: "DiBcom 7000PC", network: "Wibble", mux: "Wibble: 498,000 kHz", provider: "", service: "Channel" 
Feb  3 07:58:31 revo tvheadend[1294]: dvr:  # type                 lang resolution       samplerate channels
Feb  3 07:58:31 revo tvheadend[1294]: dvr:  1 MPEG2VIDEO                0 x 0   
Feb  3 07:58:31 revo tvheadend[1294]: dvr:  2 MPEG2AUDIO           eng                   96000      0
Feb  3 07:58:31 revo tvheadend[1294]: dvr:  3 MPEG2AUDIO           eng                   96000      0
Feb  3 07:58:31 revo tvheadend[1294]: dvr:  4 DVBSUB               eng         

This should then match what you can see in VLC if you look at the CODEC information (CTRL+J). It may be that either (a) you're not recording any subtitles, or - more likely - VLC is simply choking because the language is undefined (the DVBSUB und (000) you mentioned).

If it's the latter, and VLC simply won't play that track (perhaps because it doesn't know what character set to choose without the language flag?), then you'll have to change the file. How you do that depends on what format it is/what container it's in: I know how to do it in mkvmergegui, but .ts is a black art to me. You can theoretically remux it to get it into a different tool, but I always find that stream errors stop that before I get anywhere.

RE: How can show DVB subtitle... - Added by mojbuk mojbuk over 11 years ago

Prof Yaffle wrote:

Hmmm, I seem to have subtitles in most of my recordings.

Can you take a look in syslog on your tvheadend machine, please, and see what's actually being recorded? You should have something like this when a recording starts:

[...]

and, if the broadcast contains subtitles, you'll get something like:

[...]

This should then match what you can see in VLC if you look at the CODEC information (CTRL+J). It may be that either (a) you're not recording any subtitles, or - more likely - VLC is simply choking because the language is undefined (the DVBSUB und (000) you mentioned).

If it's the latter, and VLC simply won't play that track (perhaps because it doesn't know what character set to choose without the language flag?), then you'll have to change the file. How you do that depends on what format it is/what container it's in: I know how to do it in mkvmergegui, but .ts is a black art to me. You can theoretically remux it to get it into a different tool, but I always find that stream errors stop that before I get anywhere.

Thank you for your answer. I tried record on tvheadend but still no subtitles. On XBMC I have subtitles, but I do not on VLC. I dont have on http://www.ipvideotrans.com/transcoding.html what I try to use to process video to send to Wowza media server.

RE: How can show DVB subtitle... - Added by Prof Yaffle over 11 years ago

Can I clarify, please - "on tvheadend but still no subtitles. On XBMC I have subtitles, but I do not on VLC" - is this with the same file? Or do you mean that you don't get subtitles on any recording, only on LiveTV when streamed to VLC from tvheadend?

I don't understand where IPVT and Wowza fit in, but let's see if you even have the subtitles in the first place.

Can you please...

1. Check /var/log/syslog and post a sample of a successful recording as above - or put the whole syslog to pastebin if it's easier.

2. Check VLC's CODEC information and post the results here, to see if the file contains subtitles.

RE: How can show DVB subtitle... - Added by mojbuk mojbuk over 11 years ago

Prof Yaffle wrote:

Can I clarify, please - "on tvheadend but still no subtitles. On XBMC I have subtitles, but I do not on VLC" - is this with the same file? Or do you mean that you don't get subtitles on any recording, only on LiveTV when streamed to VLC from tvheadend?

I don't understand where IPVT and Wowza fit in, but let's see if you even have the subtitles in the first place.

Can you please...

1. Check /var/log/syslog and post a sample of a successful recording as above - or put the whole syslog to pastebin if it's easier.

2. Check VLC's CODEC information and post the results here, to see if the file contains subtitles.

Its ok. now I hawe subtitle on vlc.

Now I wonder whether it is possible to add captions included by default. I use the software for video processing (IP video trancoder) who has no choice subtitle. Is it possible to add a subtitle or choose with some commands via the URL stream?

Maybe something like this, for example: http://ip:9981/stream/channelid/1?sub=eng

Use google translator

    (1-6/6)