Re: [flexcoders] Re: Video Frame Problem

2009-02-12 Thread vinod kumar
Hi,

In this application i have used videodisplay component.Instead of videodisplay 
component , if i use the netstream classs can i solve the frame problem.. 
CurrentFPS method is there in netstream class. Using this method we can get the 
current frame. But we can only seek time not frames. Please give tips to me.

I want to know using netstream class i can solve the Video frame problem

Please help me. I am in deep trouble

--- On Sat, 24/1/09, Chuck Preston Jr. itsmechuc...@yahoo.com wrote:
From: Chuck Preston Jr. itsmechuc...@yahoo.com
Subject: [flexcoders] Re: Video Frame Problem
To: flexcoders@yahoogroups.com
Date: Saturday, 24 January, 2009, 5:43 PM











For the seeking problem, it may be a problem with the video's 
keyframes. If you're not 

using Flash Media Server, you can only seek to the nearest keyframe, not every 
frame. If 

you really need seeking to be frame accurate, then you would have to re-encode 
the video 

and make each frame a keyframe. But that will have an effect on file size and 
quality.



--- In flexcod...@yahoogro ups.com, vinod kumar coolvinu1980@ ... wrote:



 I want an urgent help. I will explain my problem. 

                     I have a videoplayer with a play button and add 
 button. The 

video will play automatically. When i click the add button at any time say 5 
Seconds the 

video will be paused and a title window will appear. There i will enter the 

description. When i click the save button the description will be saved and a 
marker will be 

displayed under the seekbar.  Then click the play button and we can add more 

descriptions like that and that number of markers will be formed. Also  when i 
click the 

marker , for example when i clicked the  5 second marker  , the video have to 
display 

the correct frame(ie 5 second movie frame) .But its not happening.There is a 
Slight 

variation in the frame. But i want the correct movie frame. How to solve this

 

 I am in deep trouble.Please help me.Its urgent.  I have attached the source 
 file. Please 

go through it.. 

 

 

 

   Explore your hobbies and interests. Go to http://in.promos. yahoo.com/ 
 groups/






  




 

















  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

[flexcoders] Video player using netstream class

2009-02-11 Thread vinod kumar
i want a videoplayer using  video and netstream class.can anyone provide useful 
link



  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

[flexcoders] Quicktime API

2009-01-13 Thread vinod kumar
Any one used Quicktime API. Please reply me



  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

[flexcoders] Quicktime API

2009-01-13 Thread vinod kumar
Please send the examples on how to use the QuickTime API functions


  Bollywood news, movie reviews, film trailers and more! Go to 
http://in.movies.yahoo.com/

[flexcoders] Timer Solution

2009-01-12 Thread vinod kumar
I am a newbie in flex. can you please send the code

--- On Mon, 12/1/09, Manish Jethani manish.jeth...@gmail.com wrote:
From: Manish Jethani manish.jeth...@gmail.com
Subject: Re: [flexcoders] Timer Solution
To: flexcoders@yahoogroups.com
Date: Monday, 12 January, 2009, 6:51 PM











On Mon, Jan 12, 2009 at 11:09 AM, vinod kumar coolvinu1980@ 
ymail.com wrote:

 I want an urgent help. From metadata information i got the frame rate as 15.

 So between every second i want to display the values 1 to 15 using timer.



You can listen for the enterFrame event and do it there.



Manish


  




 

















  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

[flexcoders] Timer Solution

2009-01-11 Thread vinod kumar
I want an urgent help. From metadata information i got the frame rate
as 15. So between every second i want to display the values 1 to 15
using timer. But i dont know how to do this . Please help me. its urgent
I have attached code also.





?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical 
verticalAlign=top backgroundColor=white


    mx:Script
    ![CDATA[
    
    import mx.events.VideoEvent;
    import mx.events.SliderEvent;
    
    private function formatTime(item:Date):String {

    return dateFormatter.format(item);
    }

    private function videoDisplay_playheadUpdate():void {
    /* If playhead time is 0, set to 100ms so the DateFormatter 
doesnt return an empty string. */

    var pT:Number = videoDisplay.playheadTime || 0.1;
    var tT:Number = videoDisplay.totalTime;

    /* Convert playheadTime and totalTime from seconds to 
milliseconds and create new Date objects. */

    var pTimeMS:Date = new Date(pT * 1000);
    var tTimeMS:Date = new Date(tT * 1000);

    timeLabel.text = formatTime(pTimeMS) ;
    }

    


    
private function slider_thumbPress():void
{
    videoDisplay.removeEventListener( VideoEvent.PLAYING, onPlayingVideoUpdate 
); 
    videoDisplay.pause();
}

private function slider_thumbRelease():void

{
 videoDisplay.addEventListener( VideoEvent.PLAYING, onPlayingVideoUpdate );
 videoDisplay.playheadTime = slider.value;
 videoDisplay.play();
}

private function videoDisplay_ready():void 

{
 videoDisplay.addEventListener( VideoEvent.PLAYING, onPlayingVideoUpdate );
 videoDisplay.visible = true;
 controlBar.visible = true;
}

private function onPlayingVideoUpdate() :void
{

 slider.value = videoDisplay.playheadTime;
}

    
    
   
   

   
    private function sliderThumbDragHandler( event:SliderEvent ):void 
    {

 
    videoDisplay.playheadTime = slider.value;
    } 


    ]]
    /mx:Script

    !-- Only show minutes and seconds. --
    mx:DateFormatter id=dateFormatter formatString=NN:SS /


    mx:Zoom id=zoom /

    mx:Panel title={videoDisplay.source.split('/').pop()} 
({videoDisplay.state})
    mx:VideoDisplay id=videoDisplay visible=false showEffect={zoom}

    playheadUpdate=videoDisplay_playheadUpdate()
    ready=videoDisplay_ready()
    rewind=videoDisplay.play()
    source=video.flv /


    mx:ControlBar id=controlBar visible=false
    mx:HSlider id=slider width=100%
    allowTrackClick=false
    invertThumbDirection=true

    liveDragging=false
    maximum={videoDisplay.totalTime}
    minimum=0
    thumbPress=slider_thumbPress()
    thumbRelease=slider_thumbRelease()

    tickInterval=1 
 /
    mx:Label id=timeLabel textAlign=right /
    /mx:ControlBar
    /mx:Panel


/mx:Application


  Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

[flexcoders] Timer Solution

2009-01-10 Thread vinod kumar
i am working with video. I know the framerate of a video.My problem is, if the 
framerate is 15 the value have to be shown every second. That is for every 
second value 1 to 15 has to be displayed. How to do this.

Please help me



  Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/

[flexcoders] Timecode

2009-01-09 Thread vinod kumar
I wnt to get the TimeCode of a movie like this  
HourHours:MinMin:SecondsSeconds:FramesFrames

How is it possible



  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

[flexcoders] Image Manipulation

2009-01-08 Thread vinod kumar
 I have dynamically added three images with different colors in a canvas.Now 
when i click a particular color image a border have to be added at the edges to 
notify that i have clicked that image. How is it possible



  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/