Tweaking htm and swf produced from encore

2 replies [Last post]
Dave R Smith
Offline
Joined: May 10 2005

Objective: To use swf and xml files produced via by encore to play flv files from p.pro CS5

Encore CS5 provides a few presets to export a htm file, which includes a swf file and, according to the help (copied below), the swf file calls the xml file which in turn calls the flv file.
I gather the xml can be edited to play different flv files.

I have used encore to produce a htm, swf xml and flv of 480 * 270.
I have used p.pro to produce a flv from same source of 768*432 ( a size not in the encore range of presets).
I have edited the htm and xml files to reference 768*432 instead of 480*270 and to point to the p.pro version of the flv.
All this works, to pick up the larger version, but:
i) Only a portion of the flv appears in its correctly sized (smaller) window.
ii) The transport controls cease to appear on the player.

Any suggestions what is causing the flv to display larger than its window size?

How export to Flash works

You can export your project to your desktop or to a server.

In both cases, you specify the folder in which the output is stored. Encore creates the following files and a folder that contains the generated output:
flashdvd.swf The SWF file enables the browsers or Flash players to play the video content that you upload to a server. The flashdvd.swf file does not contain the actual video—it is, instead, a front end for the generated video output. The flashdvd.swf file reads the AuthoredContent.xml file and plays the Flash output accordingly and remains static even when your video has changed.
AuthoredContent.xml This XML file contains the information about the video output files such as filenames, association of videos with menus, and navigation. You update this XML file when your video files or the menu structure change. If you choose to upload your Flash output to a server, the URLs of the videos are updated in this file.
index.html The HTML file that hosts the flashdvd.swf file. This file gathers the required information about the first play setting and menu structure from the AuthoredContent.xml file.
Sources folder This folder contains the Flash videos and the menu images and icons. The Flash video files are either FLV or F4V format, based on your choice.
If you are publishing the video directly to the server, Encore updates the AuthoredContent.xml file with the URLs for the assets received from the server. In this process, each video file in the Sources folder is uploaded to the server. All video files (FLV and F4V files) in the Sources folder are uploaded to the server.

If you do not have access to a server, choose the Keep With Flash SWF option. The FlashDVD content is saved in the specified destination folder. Because your video now resides in the local or a shared network folder, the AuthoredContent.xml file contains the relative path to the Sources folder.

Typically, you host the video files on a server and host the image files on a web server.

You can choose one from the fifteen export quality presets that provide you five frame sizes, each with three quality presets: Low, Medium, and High quality. Of the five frame sizes, two are standard size and the remaining are widescreen formats. For a video tutorial on exporting your project to Flash, see adobe.com/go/lrvid4118_enc.

harlequin
harlequin's picture
Offline
Joined: Aug 16 2000

are the dimensions within the html/xml files too ?
thereby giving you a window smaller than the video you are trying to play.

Gary MacKenzie

sepulce@hotmail.com ( an account only used for forum messages )

Thinkserver TS140 , 750ti Graphics card  & LG 27" uws led backlight , Edius 8

Humax Foxsat HD Pvr / Humax Fox T2 dvbt

Dave R Smith
Offline
Joined: May 10 2005

Thank-you Gary.
I missed your reply on earlier visits to DVDoctor, so I apologise for the slow acknowledgement.

The html and xml do have references to screen size, which I transposed and crossed checked, so I don't know where or how it doesn't acknowledge its defined size.

I even started afresh and cross checked all files that can be opened in a text editor (xml/html) but swf of ocurse is compiled gobbley gook.

The swf is compiled, so not editable, so thought maybe, this contains part of the frame definition, but if that were the case, the provided help text copied below is misleading.

If others have been able to replace flv's within encore output, with those of other frame sizes generated by premiere, as described in the help, then I'll know it's possible.