Roku Direct Publisher

The easiest way to create a great TV experience.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
melkat
Level 7

Required caption url is unreachable

I'm trying to provide subtitles/captions for our videos. (We're using Direct Publisher.) However, I keep getting the error: "Required caption url is unreachable." I've tried linking to both srt and vtt files and getting the same result. Here's a snippet of code for one of them:

{
	"content" : 
	{
		"dateAdded" : "2019-10-01T22:20:20+00:00",
		"duration" : 2400,
		"captions" :
		[
			{
				"url": "http://podcast.uctv.tv/srt/35062.srt",
				"language": "en",
				"captionType": "SUBTITLE"
			}
		],
		"videos" : 
		[
			{
				"bitrate" : 1328,
				"quality" : "HD",
				"url" : "http://podcast.uctv.tv/vod/35062.mp4",
				"videoType" : "MP4"
			}
		]
	},
	"episodeNumber" : 4,
	"genres" : [ "educational" ],
	"id" : "35062channel",
	"longDescription" : "Join a panel of distinguished speakers as they explore broad themes woven throughout Geisel's works and its literary and artistic impact. ",
	"releaseDate" : "2019-10-01",
	"shortDescription" : "Themes in Geisel’s work its literary and artistic impact.",
	"tags" : [ "arts and music", "humanities", "educational" ],
	"thumbnail" : "https://www.uctv.tv/images/widescreen/35062.jpg",
	"title" : "SUBTEST LA - The Private Art of Theodor Dr. Seuss Geisel - Dinner in the Library 2019"
},

Also, what's the difference between the "CLOSED_CAPTION" designation and "SUBTITLE"? I've tried indicating both, but I get the same error. 

Thank you,

Melissa

 

 

 

0 Kudos
3 REPLIES 3\
37mediagroup
Level 12

Re: Required caption url is unreachable

Are you sure that's the correct url?  I get a File/Directory not found on the page.

 

As to Subtitles, Closed Captions, generally speaking captions are for the same language, just written for hearing impaired, and subtitles would be for a different language. I'm not sure how it varies in the coding, but from a front end user perspective, I can see how a user could try to select either/or, and be upset if the wrong one was given (if captions were hidden under subtitles instead of CC etc)

0 Kudos
melkat
Level 7

Re: Required caption url is unreachable

Yes, it is. I also get that when I go directly to the url. I'm not sure why. But it absolutely is correct. 

0 Kudos
Baradanikto
Level 13

Re: Required caption url is unreachable

Make sure that the location of the file is public and not private.

FREE Windows desktop software for creating BIF (Trick Play), Direct Publisher (MRSS, JSON), and FireTV feeds @ GitHub/rrirower. No programming knowledge required.
0 Kudos