Roku Direct Publisher

Roku Direct Publisher - the easiest way to create a great TV experience. Learn more about how to create a Roku channel and share your experiences with others.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
melkat
Binge Watcher

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
Roku Guru

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
Binge Watcher

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
Roku Guru

Re: Required caption url is unreachable

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

FREE Windows desktop software for converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.