INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Video: Format subtitles (srt files)  (Read 4681 times)

paronsoda

  • World Citizen
  • ***
  • Posts: 102
Video: Format subtitles (srt files)
« on: February 28, 2013, 02:14:44 pm »

Hi

I have just started using subtitles and on some of these the sub shows <32>text</32> when someone is singing in the film clip.

How can I change this to something different like a blue colour or italic letters? Is there a setting in JRiver where I set what the <32> should display or do I change all the codes in the srt file to something different?

Thanks for any help
Hans
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42376
  • Shoes gone again!
Re: Video: Format subtitles (srt files)
« Reply #1 on: February 28, 2013, 02:23:53 pm »

What type of subtitles?

If it's a sidecar, could you send a sample to logs at jriver dot com?

Thanks.

(it may be a few days before we can reply, as I'm the subtitle guy and I'll be gone a few days).
Logged
Matt Ashland, JRiver Media Center

paronsoda

  • World Citizen
  • ***
  • Posts: 102
Re: Video: Format subtitles (srt files)
« Reply #2 on: February 28, 2013, 02:40:06 pm »

Sorry I forgot to mention that it's a .srt file.
Logged

paronsoda

  • World Citizen
  • ***
  • Posts: 102
Re: Video: Format subtitles (srt files)
« Reply #3 on: August 11, 2013, 02:04:06 pm »

Hi Matt

Perhaps this is a little late reply but I'm still stuck with this problem. So if you have any suggestion too what I can do I would be very great full.

Like I said I have a .srt file which has certain codes which JRiver don't recognise. Every time someone sings in a movie clip it shows <32>singing<32>. I would prefer this to show in a italic font but I don't know how to change this. I edited the .srt and used instead of <32> but I don't work. Is there any other way I can do this?
>
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42376
  • Shoes gone again!
Re: Video: Format subtitles (srt files)
« Reply #4 on: August 11, 2013, 02:21:40 pm »

Please send a sample of the SRT file to logs (at) jriver [dot] com.  Include a link to this thread.

Thanks.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42376
  • Shoes gone again!
Re: Video: Format subtitles (srt files)
« Reply #5 on: August 12, 2013, 10:06:40 am »

Thanks for the sample.

Is <32> a standard marker for italic?  This is new to me.

Is there any sort of list or specification about these markers?
Logged
Matt Ashland, JRiver Media Center

paronsoda

  • World Citizen
  • ***
  • Posts: 102
Re: Video: Format subtitles (srt files)
« Reply #6 on: August 12, 2013, 03:21:13 pm »

No I don't think <32> is a marker for italic. The subtitle file are from Swedish public service and I think it might be a colour code. Unfortunately I don't have any specification about them. But if I remember correct its usually blue when some ones sings. Also in the beginning of the file its another code <35> and its for hearing impaired, describing a background noise. They use to be yellow.

For my personal use its not so important what colour or type face it is. I just want to change it to something different so it doesn't show <32> in the subtitle text.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42376
  • Shoes gone again!
Re: Video: Format subtitles (srt files)
« Reply #7 on: August 13, 2013, 09:19:07 am »

I've moved this here hoping it might get a few more views and someone might know more about these <number> markers.

Thanks for any help.
Logged
Matt Ashland, JRiver Media Center

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10940
Re: Video: Format subtitles (srt files)
« Reply #8 on: August 13, 2013, 11:11:32 am »

I've never heard of pure numeric tags in SRT, it usually only supports some basic HTML tags, like <font color="#00FF00" size="6">Test</font>, or some other basic tags for italic, bold, underlined, etc.
I quickly checked a few implementations of SRT that i know, and no mention of any numeric tags, in short they only handle "font" and the "bisu" family (bold, italic, strikethrough, underlined), plus some anchoring tags {\anX} and some other metacharacters, \h, \N, etc.

Does some other player handle those properly, that you know of?
Logged
~ nevcairiel
~ Author of LAV Filters

paronsoda

  • World Citizen
  • ***
  • Posts: 102
Re: Video: Format subtitles (srt files)
« Reply #9 on: August 14, 2013, 08:37:56 am »

Thanks Nevcairiel

No I don't know of any other player that handles those codes. I just know that Swedish Public Service uses them.

But I think I can use HTML tags. With a text editor I could probably use a "search and replace" command and change the codes to some of the HTML tag you mentioned.

Thanks again
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42376
  • Shoes gone again!
Re: Video: Format subtitles (srt files)
« Reply #10 on: August 29, 2013, 11:49:31 am »

Next build of MC19:
Changed: SRT subtitles suppress mystery <32> and <35> markers used by Swedish public television.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up