Re: EPUB videos

Hi,

Remember to add a line in the OPF file:

<manifest>
…
<item media-type="video/mp4" href="media/video01" id="Video01"/>
…
</manifest>

Using HTML 5 way to combine WebVTT caption in video tag is great, its media-type is "text/vtt".
I'm afraid that EPUB validator may see it as unsupported file format. So better embed the caption into the video file.
Subler is a nice tool on macOS that you can add a caption channel with WebVTT. If any trouble, rename the .vtt to .srt.

------------------
Bobby Tung
W3C Invited Expert



> Kevin Callahan <Kevin@bngobooks.com> 於 2018年7月12日 上午2:23 寫道:
> 
> I did mean to mention that the YouTube-generated captions needed editing, particularly for phrasing and sentence structure. My job was relatively brief, so not a big deal.
> 
> I’ll look at CADET next go-round.
> 
> 
> KEVIN CALLAHAN
> http://www.bngobooks.com/ <http://www.bngobooks.com/>
> @BNGObooks
> 
> 212 741-0296
> 
> <BNGO_2013 copy.jpg>
> 
>> On Jul 11, 2018, at 2:20 PM, Madeleine Rothberg <madeleine_rothberg@wgbh.org <mailto:madeleine_rothberg@wgbh.org>> wrote:
>> 
>> If you are looking for a way to author captions, take a look at CADET, which is our free, downloadable captioning and description authoring software. You can use it to generate VTT files.
>> https://www.wgbh.org/foundation/what-we-do/ncam/cadet <https://www.wgbh.org/foundation/what-we-do/ncam/cadet>
>>  
>> I caution against using the auto-created captions that YouTube offers. They are poorly structured and often contain inaccuracies. For short clips it isn't a lot of work to type accurate captions yourself. If you have a large amount of video that needs captioning, there are many agencies that can provide captions that will be much better than the auto-captions.
>>  
>> However, it sounds like from Jeff Buehler's note that there is still no way to add the VTT to the EPUB except to hand edit the HTML.
>>  
>> -Madeleine
>>  
>> -- 
>> Madeleine Rothberg
>> Senior Subject Matter Expert
>> National Center for Accessible Media at WGBH
>> http://ncam.wgbh.org <http://ncam.wgbh.org/>
>> madeleine_rothberg@wgbh.org <mailto:madeleine_rothberg@wgbh.org>
>>  
>>  
>> From: Kevin Callahan <Kevin@bngobooks.com <mailto:Kevin@bngobooks.com>>
>> Date: Wednesday, July 11, 2018 at 2:06 PM
>> To: Madeleine Rothberg <madeleine_rothberg@wgbh.org <mailto:madeleine_rothberg@wgbh.org>>
>> Cc: sirisha gubba <nsfsiri2014@gmail.com <mailto:nsfsiri2014@gmail.com>>, "public-epub3@w3.org <mailto:public-epub3@w3.org>" <public-epub3@w3.org <mailto:public-epub3@w3.org>>
>> Subject: Re: EPUB videos
>>  
>> I’ve uploaded video to YouTube, which can create captions. 
>>  
>> Then, I downloaded the captions and combined them with the video using Wondershare Video Converter.
>>  
>> You can create captions in YouTube, but you can’t embed them and then download the captioned video. You can only create the captioning, then download as a text file.
>>  
>> All this is on the Mac.
>>  
>>  
>> KEVIN CALLAHAN
>> http://www.bngobooks.com/ <http://www.bngobooks.com/>
>> @BNGObooks
>> 
>> 212 741-0296
>> 
>> <image001.jpg>
>> 
>> 
>>> On Jul 11, 2018, at 1:42 PM, Madeleine Rothberg <madeleine_rothberg@wgbh.org <mailto:madeleine_rothberg@wgbh.org>> wrote:
>>>  
>>> Hi Siri,
>>>  
>>> We tried this a year or so ago and found that adding captions to video in epub required hand-editing the HTML of the epub file. However, I'd be thrilled to hear if anyone knows of better solutions that have come along.
>>>  
>>> -Madeleine
>>>  
>>> -- 
>>> Madeleine Rothberg
>>> Senior Subject Matter Expert
>>> National Center for Accessible Media at WGBH
>>> http://ncam.wgbh.org <http://ncam.wgbh.org/>
>>> madeleine_rothberg@wgbh.org <mailto:madeleine_rothberg@wgbh.org>
>>>  
>>>  
>>> From: sirisha gubba <nsfsiri2014@gmail.com <mailto:nsfsiri2014@gmail.com>>
>>> Date: Tuesday, July 10, 2018 at 7:46 PM
>>> To: "public-epub3@w3.org <mailto:public-epub3@w3.org>" <public-epub3@w3.org <mailto:public-epub3@w3.org>>
>>> Subject: EPUB videos
>>> Resent-From: <public-epub3@w3.org <mailto:public-epub3@w3.org>>
>>> Resent-Date: Tuesday, July 10, 2018 at 7:45 PM
>>>  
>>> Hi,
>>> I have couple of questions regarding videos in EPUB file.
>>>  
>>> 1) In windows:
>>>       Using Sigil I tried to embed mp4 files to an EPUB file.
>>>       I am not able to embed the video. 
>>>  
>>> This approach works on MAC.
>>>  
>>> Can you please advise how I can embed mp4 files to an EPUB file in windows?
>>>  
>>> 2) How can we add captions and audio description  to the embedded video?
>>>  
>>>  
>>> Thank you all for you input!!
>>>  
>>> Thanks,
>>> Siri
>> 
>>  
> 

Received on Wednesday, 11 July 2018 19:39:41 UTC