While using SAMI files is simple and quick, care should be taken to ensure that the files for both the media content and the captioning stay in the same folder and that they are distributed together. If the caption file becomes separated from the media file, viewers will no longer have access to the captions. To address this problem, you can embed the caption data directly in the file using Microsoft Expression Encoder.
Microsoft Expression Encoder accepts several file formats: DFXP, SAMI, SRT, SUB, and LRC.
1. Log into CaptionSync, and choose the Windows Media Player captions (.smi .asx) format under the Advanced Settings. Click Apply Changes. You can check the Save Above Settings as Default box, if you need this output for multiple submissions. Make your Captioning request.
2. Once you get the caption files back, download and install the free Microsoft Expression Encoder 4 from Microsoft. Note that the free version of Expression Encoder 4 does not include support for live IIS Smooth Streaming and H.264 encoding.
3. Launch Microsoft Expression Encoder, and start a new Transcoding Project. On the File menu choose Import and open your file. Note that the Microsoft Expression Encoder free version supports these file extensions: WMA, MP3, WAV, WMV, MOV (if QuickTime is installed), DVR-MS/WTV (depending if OS supports it), MJPEG, most AVI and many other formats with the use of appropriate DirectShow decoders. With the Pro version you have more: MPEG-2, TS, MP4/H.264, AVCHD, M2TS, AAC and AC3 files.
4. Import the caption file: on the Script Commands panel (Metadata panel), select Import (you can get the Script Commands panel to show by clicking on the Window tab and then checking the Metadata option), and choose the .smi file.
5. To have better results, go to the System panel, under Encoding Quality, choose Best Quality and then click Apply.
On the Encode panel, select your output options (again, use the Window menu to make this panel appear): on the Video and the Audio panel choose the “CBR-2 pass” Mode option.
6. You can also choose a nice Silverlight template for your output file. Go to the Templates panel and choose a template from the drop-down menu. If you can't see this panel, select it under the Window menu, and it will appear:
Note that the default Windows Media Player template will show left-justified captions with a Serif font. So if you choose to have a single output file (without framing it with a Silverlight template) - to be viewed on Windows Media Player, you will not have the same appearance as with one of the Silverlight templates.
7. Finally, you can also change the output directory and file name: on the Job Output panel (Output panel), change the file name on the Media File Name box and browse your output folder on Directory.
8. To begin the encode process, click the Encode button (lower left hand corner) (it shows when you click on the Encode panel). Expression will now embed the captions into your output file. The .html output file looks like this:
Note that captions must be enabled by the end user in the Windows Media Player:
- Make sure Windows Media Player is running in its own window, and not in the IE Media bar. To force Windows Media Player to use a new window, right-click the link and select Open in new window.
- Within the Player, choose the Play menu, then the Lyrics, captions and subtitles option, and make sure On if Available is selected.
- In Windows Media Version 10 and greater, you'll also need to open the Tools/Options menu, select the Security tab, and then:
- Check Show local captions when present. Click Apply.
- Exit the Player and relaunch for the changes to take effect.
Also, ensure the user is on the Now Playing mode, as opposed to the Library mode: