A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Google Videos "Smooth Video" for FLVPlayback

  1. #1
    Member
    Join Date
    Sep 2003
    Location
    Chicago
    Posts
    72

    Google Videos "Smooth Video" for FLVPlayback

    I am trying to make a full browser video using the FLVPlayback component, and everything has gone well so far. My only issue is that when it is scaled up the video is massively pixelated.

    Now Google Video does the same thing since those are just FLV's, but they have a "Smooth Video" feature which seems to smooth it out in real-time with no lag.

    I have tried applying a blur filter to my component but that just lags it down. Any suggestions on smoothing the video when its scaled?

  2. #2
    Member
    Join Date
    Sep 2003
    Location
    Chicago
    Posts
    72
    I am actually going to answer my own question since I just figured it out and have seen this question asked before.

    Steps to smooth, or antialias your FLV in the Flash 8 video component:
    (We will assume the instance name of your component has been set to "FLVPlayer")

    MovieClip(FLVPlayer.getVideoPlayer(FLVPlayer.activ eVideoPlayerIndex))._video.smoothing = true;

    The only issue I have found is that it needs to be called AFTER your video has loaded (and possibly buffered as well). This code is thanks to Julian over at http://julian.empiregn.com/

  3. #3
    Junior Member
    Join Date
    Sep 2016
    Posts
    1
    There is no reason to do the cast to MovieClip
    VideoPlayer inherits from Video so the line

    MovieClip(FLVPlayer.getVideoPlayer(FLVPlayer.activ eVideoPlayerIndex))._video.smoothing = true;

    can be written more simply as

    FLVPlayer.getVideoPlayer(FLVPlayer.activeVideoPlay erIndex)).smoothing = true;

  4. #4
    FLV player now is the most common player plugin. let try it

  5. #5
    Junior Member
    Join Date
    Feb 2018
    Posts
    2
    wow thanks for sharing
    saim malik

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