Rendering .flv with cue points but maintaining video size
When I render an .flv by exporting in After Effects I cannot get cue points however when I import the .flv to a Flash doc, the controller is the same width as the video.
However, in order to get cue points, you have to add the video to the Render Queue in AE in order to see the cue points in Flash. But the video controller ends up wider than the video itself when imported to Flash.
My video is 495 wide by 360 high. When I render in AE in the Render Queue, and then import to a Flash doc, the video controller is about 30 pixels wider on both the left and right of the video. This looks goofy. Is their a way to resolve this?
Thank you.
Thank you for responding. I tried to but what happens is that that there is about 15 pixels of black space on the left and 15 pixels on the right side of he video. This does not happen when I export to Flash, only when I add to the Render Queue.
So If I adjust the video size in Flash, the video size changes however the black space still remains. Somehow AE is creating extra space black space on both sides of the .flv. Again, this does not happen when export to .flv.
Similar Messages
-
Exporting FLV With Cue Points In Adobe Premiere Pro CS5
Hello
I am currently using Adobe Premiere Pro CS5 to export to a FLV file with flash cue points. I have managed to do this but I also want to export (separately) a list of all the time codes of the cue points in the clip. I see that you can save the cue points to an xml file but it doesn't come up with the time codes (well it does, but it is in milliseconds and amongst other things). Is there any way I can save a list of the time codes of the cue points on my FLV file, rather than having to manually type it out?
Thanks,
RvnistelrooyI don't think there is any easy way to do this, but one thing I could suggest is to export the metadata as an xml side car and then use the text editor to extract the times. I'm not sure this would work, but it's worth a try.
Cheers,
Dennis -
Reading cue point parameters on video start
Im trying to create a table of contents to navigate to various points in an .FLV file. I've encoded the flv with cue points in media encoder. I've also added a parameter to each cue called toc_title with the lable that should represent the time in the video to jump to. It occurred to me though that those parameters might not be available to my flash player until the frame of the cue was reached. I need my toc to be visible when the video starts. First of all, is this entirely the wrong approach? I want to make this video player as dynamic as I can and would like to reuse it for several different videos with different TOCs. Is the parameter data set on cue points available at any time in the video playback or only when the cue is reached? Thanks, John
Hi John, You may receive more advice and help on the Flash forum. You can start a thread there or perhaps some threads may already be discussing your concerns.
http://forums.adobe.com/community/flash/flash_general?view=discussions&start=0
Hope that helps.
eidnolb -
Need several buttons that each target a video cue point but only one works
I have the code that works for one button to find a cue point but how can I make this work for several buttons and their respective cue points?
"seek-btn2" to find cue 2(named "lou2")
import fl.video.*;
// Video component instance name
var flvControl:FLVPlayback = display;
var flvSource:String = "lou.flv";
// Set video
flvControl.source = flvSource;
// Add seek functionality to the button
function seekHandler(event:MouseEvent):void
flvControl.seekToNavCuePoint("lou1")
//seek_btn is the button instance name
seek_btn.addEventListener(MouseEvent.CLICK, seekHandler);
when i repeat the last part of the code it does not work, thanks for your time....Thanks but where would I insert that code and what would I take out from the original code I posted?
i tried this....
import fl.video.*;
// Video component instance name
var flvControl:FLVPlayback = display;
var flvSource:String = "lou.flv";
// Set video
flvControl.source = flvSource;
seek_btn1.cuePointName = new String();
seek_btn1.cuePointName = "lou1";
seek_btn1.addEventListener(MouseEvent.CLICK, onButtonPress);
seek_btn2.cuePointName = new String();
seek_btn2.cuePointName = "lou2";
seek_btn2.addEventListener(MouseEvent.CLICK, onButtonPress);
// onButtonPress function
private function onButtonPress(evt:MouseEvent):void {
flvControl.seekToNavCuePoint(evt.target.cuePointName); -
Streaming Video with Cue Points
I have made a video with cue points, when it is in a local
file, lingo can check its cuepointtime and cuepointnames as well,
but when it is put in streaming server, its cuepointtime and
cuepointnames are both empty when get by lingo.
Could anyone please tell how to get the cue points of a video
when getting it from streaming server?
Lindayou're welcome.
for anyone else with a similar issue, using the info property of the MetadataEvent is the correct way to proceed. (that event has no object property.) -
Importing wav with cue points?
I’m trying to import a WAV file with cue points and I
get a “Director having trouble importing…” error
message. I created the cue points in Sound Forge 9 using markers
and save the file with meta data. From what I recall I should be
able to simply import this file but Director (MX04) seems to be
choking on the meta data (imports fine without cue points).
I’ve been working with Director for over 10 years but lately
it’s been mostly application development and not narrated
multimedia, I feel like I’ve forgotten something very
basic.Fixed it, sort of… Apparently by default Sound Forge
doesn’t name the cue points at all and Director doesn’t
like this (at least up to MX04, don’t know about 11). To
create wav files with metadata that Director will read:
In Sound Forge navigate to Options > Preferences >
Labels.
Check the box “label markers”, I also used the
prefix and leading zero options
Any new markers will now have labels
For my present project I already had 83 cue points accurately
positioned that I didn’t want to remake. In this case I
renamed each cue point by hand, one at a time. Insanely tedious but
better than marking the file again. -
Cue point code in video to open URL?
I have a cue point in a video, named "CUE_POINT" and I'm trying to get a new URL to open when the cue point is reached.
This is the code I've tried. Any suggestions??
import fl.video.MetadataEvent;
mymovie.addEventListener(MetadataEvent.CUE_POINT, fl_CuePointHandler_2);
function fl_CuePointHandler_2(event:MetadataEvent):void
getURL("Black_Vault/vault.html");
thanks,
GL1. A cuePoint has to be attached to a certain point in time. Look up the docu: http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d1 18a9c65586-7feb.html
2.In as3 the getURL method is not valid anymore, use navigateToURL() instead [google for examples how to use it] -
Stopping streaming video with cue points
I've been searching for a solution to this problem for weeks now. All i want to do is make a video streaming in a video object to stop on a cue point, and play from abother when a button is pushed. It's relatively simple, right? Wrong. Over a hundred $s in how-to books and several hours wasted searching online later and I have nothing. I have checked and re-checked the cuepoints are correct (i made them in flash video encoder CS3) and tried just about everything as far as AS is concerned. Here is my latest attempt: (obmintro is the player instance name, i have the rtmp info in source under player parameters and it plays fine)
import fl.video.MetadataEvent;
obmintro.addEventListener(MetadataEvent.CUE_POINT, cp_listener);
function cp_listener(eventObject:Object):void
if (eventObject.object.name == "site_end");
obmintro.pause();
//i have also used stop, stop("obmintro"); and i don't even know what else.
please tell me what i'm doing wrong and how it's really supposed to be done. i'm feeling very hopeless and blonde right now. help a girl out?you're welcome.
for anyone else with a similar issue, using the info property of the MetadataEvent is the correct way to proceed. (that event has no object property.) -
I cannot figure out how to get a embedded event cue point to
advance to the next scene of a movie and have zero experience at
writing action code. The event cue point is on the last frame of
video and was encoded with Flash 8 video encoder. The application I
am working on has three scenes. The first and third have audio and
graphics. The second scene uses the FLVPlayback component to play
the flv file. On test movie, the first scene plays fine and
advances to the second where the video plays. When video is over
the movie does not advance to the third scene. Thoughts? Any
assistance would be greatly appreciated.I truly apperciate you assistance but I am still doing
something wrong. I am getting the following error:
**Error** Scene=Scene 2, layer=Actions, frame=1:Line 3:
Identifier expected
var.vidList : Object = new Object();
I changed the name of the FLV instance to "vid" and changed
the "vid.contentPath = peopleStyle.flv" for my video.
Here's the code.
vid.contentPath = video_PS.flv // put in your flv file here
var.vidList : Object = new Object();
vidList.Complete = function (){
nextScene();// this is what will occur when the end of the
video is reached
vid.addEventListener ("Complete",vidList)
T
hanks again for your help. -
Actions for flv event cue point
I have an flv playing back from component in a nested
timeline (an actionscript 2 proj) and I want at the end of the
video to gotoAndPlay the label"vidend" in the this timeline. I
embedded the the event cue point called "end" on the last frame of
video when I encoded it in my new CS3.I placed the following on the
first frame of the nested timeline... The video plays fine but does
not trigger the action. Any suggestions???...I 've found reams of
info on navigation events but this is the result of everything I
could find on the adobe site and I still not there.
I'd really appreciate any direction anyone can give me.
//leave this as is
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object):Void {
//change this info..."end" is the name that you called your
cuepoint when
//you embedded it into the video
if(eventObject.info.name == "end"){
//tell your movie what you want it to do once your cuepoint
has been hit
this.gotoAndPlay("vidend");
//_root.SessionPlay.mov_loadcard.gotoAndPlay("vidend");
//my_FLVPB is the name of your video on the stage, the rest
stays as is
my_FLVPB.addEventListener("cuePoint", listenerObject);I have an flv playing back from component in a nested
timeline (an actionscript 2 proj) and I want at the end of the
video to gotoAndPlay the label"vidend" in the this timeline. I
embedded the the event cue point called "end" on the last frame of
video when I encoded it in my new CS3.I placed the following on the
first frame of the nested timeline... The video plays fine but does
not trigger the action. Any suggestions???...I 've found reams of
info on navigation events but this is the result of everything I
could find on the adobe site and I still not there.
I'd really appreciate any direction anyone can give me.
//leave this as is
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object):Void {
//change this info..."end" is the name that you called your
cuepoint when
//you embedded it into the video
if(eventObject.info.name == "end"){
//tell your movie what you want it to do once your cuepoint
has been hit
this.gotoAndPlay("vidend");
//_root.SessionPlay.mov_loadcard.gotoAndPlay("vidend");
//my_FLVPB is the name of your video on the stage, the rest
stays as is
my_FLVPB.addEventListener("cuePoint", listenerObject); -
Problem with cue point from After Effects to Flash (CS5.5)
Hello,
anyone has, or has not problems reading, in Falsh, cue points included with After Effects? (Navigartion cue points).
It is possible export from Flash movie in .flv format? (Both versione CS5.5).
Thank you.No I don't believe it's the footage, as I've been able to transfer the same files on my school computer and use it with ease.It's just any type of footage, if I attempt to drag any of my imported files (whether they're images of any kind or .mp4, .mov, .wav, .mp3) just as I would click and hold the file, my cursor turns into the Mac loading ball. Perhaps is there something these programs require such as Java? I'm not sure if it's related, but I've also not been able to play some games via Steam that I have been able to play in the past with the same system.
-
Need Help with Cue Points/Custome Code
So I've figured out that videos with a playback component need cue points in order to set up all the interactivity I want to use. The only way to make animated graphics, interactive graphs and text is to apparently create custom code, which I no zip about.
Should I hire someone to do that for me? I was thinking elance, but does anyone have any suggestions on how to make an interactive video other ways (or cheaper)ways.
p.s
how much do you think I should charge for that:)?My advice... start with a very simple "proof of concept" project before you attempt the entire package.
It will be much easier to scale up if you first have a very good understanding of what's going on.
So one simple video with just one cuepoint and only one button and additional display. You'll also have to work out the interaction of pausing the video when a cuepoint is reached or button pushed to display the graph, giving the viewer time to read the graph... then when the viewer closes the graph, the video should "resume".
Start very simple and build on that only after you understand the fundamentals.
Second, you mention "video reports"... plural. So that most likely means that you will need a video player with a "playlist".
This may mean that you'll need to learn to use a little .xml to bring in the playlist data. You may also find xml an excellant way to bring other data into you project.
At the link listed above there is an excellant tutorial on "Integrating Flash and XML"
"Flash and XML"
"XML Video Playlist"
"ActionScript 3 XML Basics"
"ActionScript 3 Advanced XML"
Personally I would not even begin a project like this without considering how I could use xml to feed data into the project.
Here's an example of a video player I created that has a playlist, thumbnails, categories, transcipts, "Now Playing" etc. All that data comes into the main .swf via various xml files. Super good way in input data into Flash.
http://www.drheimer.com/video/
Yours is a rather ambitious project and will take awhile to gain the skill and assemble the pieces. So when you come to a new part... first create a real simple "proof of concept" model so you can learn how that section works. Don't expect to be able to assemble the entire project all at once.
Best wishes,
Adninjastrator -
Problems Using Cue points to Loop Video
Ok, so I want to use cue points to navigate through video. I want to start by simply looping the video from the end back to the beginning. I keep getting an invalid seek error 1003. Here is my code. Any help would be much appreciated. Thanks
import fl.video.MetadataEvent;
Movie.addEventListener(MetadataEvent.CUE_POINT, loopFunction);
function loopFunction(e:MetadataEvent):void
if (e.info.name == "end1")
Movie.seekToNavCuePoint("beginning1");
Movie.play();At least you are getting notified even if the seek doesn't work.
A brief workaround could be to iterate over the cue points you detect in metadata, assigning each cue point name and time in an object. Once you hit the cue point you desire, see if the object has the time value and seek() to the time for that cue point rather than seeking for it by name.
e.g. (written briefly, you get the idea):
// object to hold time values
var cuePointArr:Object = new Object();
function onMetaData(infoObject:Object):void
var cueIndex:String;
for (cueIndex in infoObject.cuePoints)
trace("Adding cue name[" + infoObject.cuePoints[cueIndex].name + "] at time[" + infoObject.cuePoints[cueIndex].time + "]");
// store as name = time
cuePointArr[infoObject.cuePoints[cueIndex].name] = infoObject.cuePoints[cueIndex].time;
function loopFunction(e:MetadataEvent):void
// correct cue point and has a value in cuePointArr?
if ((e.info.name == "end1")&&(curPointArr[e.info.name] != null))
// seek to time value
Movie.seek(Number(cuePointArr[e.info.name]));
Movie.play();
Moving 900mph here so forgive any typos but turning it into a normal seek based on the time value should work for now. -
FLV/Mp3 Cue Points for Accessing Frame Labels on the Main Timeline in Flash 8
Hello,
In Flash MX2004, creating cue points for syncing locations on
flv and mp3 files to locations on the main timeline included:
1) Dragging a media component onto the stage
2) Entering file path, frame label name, and time code
information in the component inspector
3) Creating the frame label names on the main timeline, and
4) Enabling the Media Labeled Frame Cue Point Navigation
Behavior
Flash 8 documentation details a considerably different
process of creating cue points. While it discusses how to create
cue points in the flv, I have not been able to locate how to enable
linking locations in flv and mp3 files with frame labels on the man
timeline. It appears that there would need to be ActionScript
necessary to accomplish this that is not available in the docs.
Please advise what ActionScript/process would enable this
function.
Thank you!
James
[email protected]I usually start off solving problems with the livedocs, as I
recommend for anyone. The following link will take you to the
NetStream.onCuePoint handler. This is what you need.
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context= LiveDocs_Parts&file=00002561.html
You can have this code on the main timeline. When the
cuepoint is hit, it will invoke this event handler and inside is
where your gotoAndPlay( ) should go.
Your other question about the text will get activated by the
same handler. Just have a conditional statement (if, switch, etc.)
to differentiate between the two events. The text itself can be
mask inside a movieclip.
Does this help? -
FLVPlayback with cue Points (2.0)
HI,
I'm new to working with cuePoints and listeners. i using
actionscript 2.0 and i want to make a video clip (called "video")
to stop playing and become invisible after playing for 30 seconds.
does anyone no a good cut and dry way to pull this off?
thanks.Xero000,
> great. that will certainly do the trick.
> any suggestions on making use out of the 'complete()'
event?
> could i use that instead of having to hard code in the
milliseconds?
Sure. The events all work the same for FLVPlayback, so once
you get the
process, you'll be good.
var listener:Object = new Object();
listener.complete = function(evt:Object):Void {
video.stop();
video.visible = false;
video.addEventListener("complete", listener);
Still assuming an FLVPlayback instance name of "video," the
above should
do it. In AS2, there are at least four ways to handle events
-- much more
simplified in AS3 -- but the above shows how to do it for
FLVPlayback.
You need a generic Object instance, which you may as well
call
"listener," because it listens for the events. You'll assign
a function to
the complete event, which gets stored as a property of your
listener object.
The funtion, in this case, stops, the video and hides it.
Finally, you subscribe the complete event, and that listner
object, to
the FLVPlayback instance.
David Stiller
Co-author, Foundation Flash CS3 for Designers
http://tinyurl.com/2k29mj
"Luck is the residue of good design."
Maybe you are looking for
-
How can I sort albums by album artist while keeping compilations together?
Argh, I'm getting a bit exasperated. Basically I just want to be able to scroll through cover flow and see all my albums with one cover representing each album, with all the compilations near the end under "V" for various. Surely most people would wa
-
CSS Template in Dreamweaver, Submeny dissapears?
Hi All, I've got yet another problem with CSS, To try to get a hang of CSS page designs I've used the Page Design (CSS) Halo Right nav that comes with DW8. I've learnt pretty much how it works BUT, the submeny dissapeared, or is not visible anymore a
-
It appears that you cannot create a Network Stream datatype of a cluster that contains a variant. For example a datatype of a cluster containing a string, a variant and a boolean does not work correctly. I am not sure if this is a bug or a restrictio
-
Hi All, I have the requirement like this I want to trigger sap event in the Application server level so that It has to execute the SAP program. My client requirement clearly is they will place the flat file in the application server as soon as the fi
-
Can I limit what Apps are tranfered to an iPad?
Quick background, I just bought an iPad2 for my class and I want to only have apps related to education. My wife has an iPad 2 and whenever I buy a song, it automatically syncs it with her iPad. I don't want that with my class' iPad. Is there a way t