Re: Captioning source for encoder
- From: "Neil Smith [MVP Digital Media]" <neil@xxxxxxxxxx>
- Date: Thu, 09 Jun 2005 15:12:35 GMT
On Wed, 8 Jun 2005 16:19:02 -0700, "CC_VITAC"
<CCVITAC@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>> >2) Is there a way for the encoder on computer X to accept script data from
>> >computer Y (i.e. specific IP address)?
>>
>> Again, not that I'm aware of. I can see where you're going with that
>> idea though. Would it be worth considering the other option, of
>> creating a SAMI file either directly at the time you add the captions,
>> or programatically from a file which principally contains only script
>> commands ?
>
>Not quite sure I understand. I can probably create/update a file on
>Computer X from Computer Y. Would the encoder on Computer X pick up the
>change/addition to the file and encode it?
Well no. The SAMI file is a standalone text subtitle file, distinct
from the media file. You can just place it in the same directory as
the media file, where media player will pick it up *automagically* and
display the captions - this is the case when you have local files, on
a hard disk or network share.
For streamed media files, you can mount the SAMI file on a web server
and reference it by adding a query string like this :
mms://streamserver.com/streamfile.wmv?sami=http://webserver.com/subtitles.smi
or (just so you can see the path to the subs can differ from the path
to the video, and they needn't even be on the same server)
http://webserver.com/video/streamfile.wmv?sami=http://webserver.com/subs/subtitles.smi
Media player will then pick up the SAMI file and apply the contained
subtitle timing to the video. In the case of SAMI, there's no need to
use script commands at all - you can consider it a form of HTML (the
syntax is very similar).
The 2nd route is what I use on Captionkit for media player's subtitles
and it's pretty effective. The SAMI format documentation is found here
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc/html/atg_samiarticle.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/addingclosedcaptionstodigitalmedia.asp
Doesn't get you any closer to making the captions scroll in the
stand-alone player though !
HTH
Cheers - Neil
.
- Follow-Ups:
- Re: Captioning source for encoder
- From: CC_VITAC
- Re: Captioning source for encoder
- References:
- Captioning source for encoder
- From: CC_VITAC
- Re: Captioning source for encoder
- From: Neil Smith [MVP Digital Media]
- Re: Captioning source for encoder
- From: CC_VITAC
- Captioning source for encoder
- Prev by Date: Re: Live streaming from IP Webcams
- Next by Date: Re: capturing from ip camera
- Previous by thread: Re: Captioning source for encoder
- Next by thread: Re: Captioning source for encoder
- Index(es):
Relevant Pages
|