Flex :: FLV Video Shows Wrong Playhead Time?
Jan 2, 2012
I am recording FLV videos with Red5 server and playing them back in a Flex app. I am aware that Red5 does not properly inject the FLV MetaData, so I am using an external commandline tool to get the metadata in there.
Because I am injecting the metadata, my duration of the video is correct.
The problem I am having, and this is true with all FLV players I try to play the video with (even 3rd party stand-alone video players), is the PlayHead time is never started at 0. When I load up the FLV to play and lets say the video is 10 seconds long, the current time label on the playhead starts at 1-2seconds instead of 0 and the horizontal slider current time indicator also is moved away from 0 and is set to 1-2 seconds along the slidebar. the video plays back fine from what I can see though.
Is there a byte in the FLV that I need to change so that it will start the playhead at 0? I realize this is probably something to do with Red5, so if anyone has any work-arounds or potential things to watch out for that may be causing this
View 1 Replies
Similar Posts:
Jul 16, 2010
I have created a flex chart with multiple Y axis. I want that it shows origin for one of the data series. It shows the line, but on the wrong plase.
Maybe it is because I didn't tell to GridLines which axis use as a source? But, I am not sure if it is possible to do...
how to show horizontal origin on a chart with multiple axis.
Here is an examle which reproduses my problem.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[Code]...
View 1 Replies
May 23, 2011
We have an hsb- color wheel (.png) and we have create a circle which is rotating on the color-wheel. It should grab the color on the wheel, but there is the problem --> It doesn't. We try to make it with the getPixel function and flash traces some numbers, but the wrong ones. In addition there is a rectangle which gets the (wrong) values and shows them as a color.
function mouseDownHHandler(e:MouseEvent):void {
sButtonH.startDrag(false, rechteckH);
/ROTATION
stage.addEventListener(Event.ENTER_FRAME,rotate);
function rotate (e:Event){[code]....
View 3 Replies
May 13, 2011
I am querying to server through flex,first time its show the result but when I insert a new record and query next time,its shows previous results only(problem facing in IE but not in chrome).
View 2 Replies
Jul 29, 2009
I created simple swf. It contain more than one video (for example 4). FLVPlayback component used to play the video.It works fine. When i enter full screen of the first video it shows the fourth video. If i did continuously means the component size changed automatically.
View 8 Replies
Feb 16, 2011
var nextDay:Date = new Date("Mon May 1 2006 15:30:00"); // yields Mon May 1 15:30:00 GMT-0400 2006 (I''m in ET zone, so it should be -0500)
View 5 Replies
Dec 21, 2011
If you load up a FLVPlayback component in Flash or VideoDisplay in Flex and try to seek to a specific location or set playheadTime to a specific location, the movie always rounds up or down by very large amountsIn flash, drag a FLVPlayback component to stage and set source to Then try to video.seek(6) or video.playheadTime = 6;It will just goto 10. Likewise if you use their built in scrubber the only intervals are 0, 5, or 10. So at most the scrubbing frame you see is 3Here is an example of flex with the same result.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:media="com.synapsegroup.media.*">
[code].....
View 1 Replies
Jan 29, 2006
I'm makking a simple flash player which loads movies as the songs.The song file is simply a preloader then in the next scene one frame which plays the song.I would like to know how I can have a display which shows the song time.
View 1 Replies
Feb 23, 2012
i made a camChooser using camboBox component.every thing is fine. but first time (page loading) camCombo(video combo) component x,y positions is ok, but micCombo(mic) x,y positions going to 0, 0.after i refresh the page then going to correct position.[code]
View 10 Replies
Mar 28, 2007
I am having a problem with a little trivia game that I am in the process of developing. What I am trying to do is have flash fade out one wrong answer at a time. All questions are being pulled from an XML file that has hundreds of questions. Keep in mind that the correct answer will not always be in the same spot. I also have it so that one question fades into another after a specific time. Here is the code
Code:
System.useCodepage = true;
//
function loadXML(loaded) {[code].....
View 8 Replies
Jun 23, 2010
I am having an issue with my recently created flash site. I have loaded and tested this site on many different computers. There is a preloader which shows percentage of site loaded and bytes loaded. As far as I am concerned everything works great. When the owner of the company I designed the site for goes to check out things he gets an infinite load percentage and the site never shows up, only the preloader screen with an "infinite" percentage. The only difference between his setup and mine is he uses AOL online.?
View 5 Replies
Jan 19, 2011
I'm trying to create a clock which shows the time returned by the server. get this code working with the server time on..(E.g.: time.php returns 1295532770)
server = new LoadVars();
server.onData = function (src){
clock_txt.onEnterFrame = time;[code]....
View 25 Replies
Oct 21, 2010
I am using Flash Media Server 3 hosted by Influxis.I use to upload flash videos (flv) to view from our company website, which uses Flowplayer.I got a new video which is F4V, but this video is little wierd, It plays well but the duration shows as 3:00:00 (3 hours) which is actually 11minutes 30 seconds.
[Code]...
View 1 Replies
Apr 14, 2010
I was working through the example AS code in Adobe's documentation[url]..
Usually, when working with video, I use the FLVPlaybackComponent, but for this project I don't really need any fancy skins/features, I just need to load and play an external video.
Anyway, I have a .MP4 video that when I right-click and look at its properties... its dimension is 640x480.However, when I try and test the [code]...
View 4 Replies
Jan 30, 2010
How to record Audio and Video at the same time into flv in Adobe air 2.0 ? So that Video and Audio will be sinchronised?
View 1 Replies
Mar 9, 2012
I'm trying to attach a camera stream to a video object (Working fine). only problem is, there is a delay up to 4 seconds until the stream shows up. adding an event listener to the video object like VideoEvent.READY or to the camerea object like Event.ACTIVATE seems not to be thrown. (onReady would capture both events with Event type = *). I need to know because while screen is white i want to show a buffer and remove it when webcam data is shown.
[Code]....
View 1 Replies
Mar 14, 2012
I am trying to export a flash animation as a mov, so i can convert it for html5. When I export the movie, the animation has artifacts in it, strange things do not erase correctly, they do not show when i view it in Flash, or when I view the exported flv file.
So as you can see, there is a 1/2 drawn image. They round things are floating down, but for some reason, as they float down to stack, they leave behind some partial images.
View 2 Replies
Oct 11, 2010
So I built a videochat client that uses the adobe stratus protocol. Its very simple and just connects two users. However, after about a minute of video chatting the clients freeze and the browser crashes.what might have caused this? Is there some sort of cache that I need to clear every so often or a possible memory leak? I am not sure where to start
View 1 Replies
Dec 5, 2010
How to get timestamp with milliseconds or better nanoseconds of currently playing video?
View 1 Replies
Apr 29, 2011
I can still create the video and the files and it all works in dreamweaver when I preview in iexplore. When I put the files and the page into the host server it shows the skin and no video. If my paths are wrong I do not know where to check them. I need help MY whole career is on hold until I know how to do this like clockwork/ I need step by step with creating and changing paths and uploading using cpanel or dreamweaver. getting the files made and uploaded is easy part. I have been here before and cheers to the help. I really need an in depth answer about how to do this from start to finish. I have looked at all tutorials and they all make it seem so easy but dont show anything on paths. If my video works in dreamweaver but not online live what is wrong? I am lost and on edge lost many weeks of sleep over this simple process.
View 12 Replies
Sep 8, 2010
In Internet Explorer 7 and 8 (WinXP/Flash 10), if I play my videos using the JW Player in the slider they work. However if I move to the next slide and then return to the original slide the video is no longer displayed - the audio is still audible and the video can be played and paused, but there is no image.
I've asked this question on [URL], but the support member cannot see this problem on their computer. Does anyone else see this issue, and if so, You can view the slider and video here: [URL]
View 1 Replies
Dec 9, 2010
I've build a live video/audio chat application. All works fine only the issue is latency of 5 secs. I'm using FMS 3.5 and FLEX.
View 1 Replies
Jul 6, 2009
I've loaded a video into the FLVPlayback component and I'm looking for a way to get the total time and the time played so far and output them to two text fields so the end result would look something like "00:12/00:50".
Right now I'm defining the video by the components inspector but I'm eventually hoping to define this bit by actionscript as well.
View 6 Replies
Jan 10, 2011
I am using iframes in flex 4 but it is shows always top.i am not able to show the tooltip.how to solve this?
look at the picture.Here i wnat to show the full tooltip of the button but it's hide half becouse of the iframe i need to solve this,how to do this?
View 1 Replies
Nov 6, 2009
I have a List, that is not showing any items until you scroll, then the items show up. Does anyone know how to fix this? I tried calling list.invalidateDisplayList(); and list.invalidateList();
EDIT: Here is some code:
<mx:Script>
<![CDATA[
[Bindable][code]...........
I found that if I add creationComplete="{list.dataProvider = _xmlList }" It solves the problem.
View 2 Replies
Nov 9, 2009
I have write a simple example that adds a canvas and draw a rectangle with stroke size 20 scale mode none. The problem is that if I call getBounds() first time I will get a correct result but after I call scale(); the getBounds() function will give me a wrong result. It will take in cosideration the stroke but stroke has scalemode to none and on the screen nothing happens but in the result I will have a x value smaller. Can sombody tell me how can I fix this ?
[Code]....
View 1 Replies
Aug 19, 2010
I am using the new Flex4 Spark stuff but I'm stuck at an awful problem. Let me explain a bit of the situation first. I have a container (mx:Canvas) in which I do addElement() of one type instances (DocumentWindow). The document window class is supposed to be the holder for a view according to the type of the document. The DocumentWindow class extends TitleWindow. I also have a task bar which is a mx:Canvas with buttonBar inside so that the windows should be switchable. So in 2 words I got windows holder and a taskbar. The strange thing comes now: When I put a DocumentWindow with type "doc" (which loads swf made by swftools) the window appears in the windows holder and as task on the taskbar.
But if first I open something else - DocumentWindow with type audio or video which causes the DocumentWindow to instantiate different view inside, the window doesn't appear on the screen neither a task button is being shown in the taskBar. I put a trace() on that and it shows that numElements is increasing, the taskBar ButtonBar.dataProvider.length is increased, so the things are there - just that they stay invisible until I open DocumentWindow with type 'doc'? I even tried to make DocumentWindow not to load the view inside because I thought that the only difference is the view... but then even the 'doc' typed DocumentWindow didn't show. A clue may be that creationComplete is never called until a 'doc' view is added.
[Code]...
View 1 Replies
Oct 12, 2010
I have a function that's called when a file download has reported progress:
private function progressHandler(event:ProgressEvent):void
{
var percent:Number = Math.round((event.bytesLoaded / event.bytesTotal) * 100.0);
Alert.show(event.bytesLoaded.toString());
//pb.setProgress(percent, 100);
}
Now, this should work fine but unfortunately, event.bytesLoaded is returning much larger values than it should. For a test file (8555 bytes), bytesLoaded goes all the way up to 8973384.
View 1 Replies
Aug 10, 2011
When I use a descendant of the SkinnableContainer (eg BorderContainer) which itself is included or excluded in a state, the child elements in the default state appears in incorrect order. This problem disappears when using a Group instead of BorderContainer, or when the container itself is not included or excluded in a state, or when states changes forth and back. What is going on here? Am I missing something or is this a bug in Flex?
[Code]...
View 1 Replies
Mar 9, 2010
I want to find out whether the scroll bar shows up in my Datagrid or not.
View 1 Replies