A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [CS3] FLV setting in flash!

  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    30

    [CS3] FLV setting in flash!

    Hello all,

    I am currently dealing with a 1280x720 AVI video. I would like to encode it into FLV format (highest quality) to put in my swf file to be played on an HD 42" TV for a presentation. What would be the best setting? What should I put for the data rate, frame rate and should I check the deinterlace checkbox? I am new with these video stuff so it would be great anyone could help out.

    I have tried different settings to encode the video into flv but the playback is jerky on horizontal pans (only), it's okay when steady. Anyone encounter this?

    Thanks!

    ka-ka

  2. #2
    Senior Member
    Join Date
    Apr 2008
    Location
    Nottingham, UK
    Posts
    348
    the jerkiness you describe is a "feature" of encoding. have you used any compression to get to the AVI file you're encoding? ideally you'll want to follow this workflow:

    source tape -> editing platform -> flv

    rather than:

    source tape -> edit -> avi -> flv

    as you're losing information which will affect the quality of the final file.

    what sort of video is it? if you've got lots of motion/detail/text, encoding to FLV will look poor compared to the source, no matter what compression settings you use. Things like stuttering pans will have to be lived with!

    however, if you encode to h264 MP4 (or other flash-friendly hd codec) then you're looking at better compression. the only snag with that is that it requires you to use a netstream object rather than an flvplayback component ( i think, you might want to check that for the most recent version of flash player) and also any HD video will need to be hardware accelerated. If your demo machine is struggling with the current video (another possible reason for the stutter) then it will NOT like HD....

    here's a link to the adobe tutorial on getting HD into flash:

    http://www.adobe.com/devnet/flashpla...sh_player.html

    hope this helps,
    Dan

  3. #3
    Member
    Join Date
    Jul 2008
    Posts
    30
    Thanks for the advice. I am currently trying it.

    Are there any codes to insert there so that it will sense the end of the video and jump to another frame after it's done? Add a listener or something?

    Ka-ka

  4. #4
    Senior Member
    Join Date
    Apr 2008
    Location
    Nottingham, UK
    Posts
    348
    yes, have a look for videoEvent.COMPLETE. also, you may like to add a cuepoint for the end of the video -it's just another (slightly less accurate) method of registering for the end of the video.

    Dan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center