See also
attachVideo (Video.attachVideo method)
deblocking (Video.deblocking property)
public deblocking : Number
Indicates the type of deblocking filter applied to decoded video as part of postprocessing. Two
deblocking filters are available: one in the Sorenson codec and one in the On2 VP6 codec.
The following values are acceptable:
0 (the default)—Let the video compressor apply the deblocking filter as needed.
1—Do not use any deblocking filter.
2—Use the Sorenson deblocking filter.
3—Use the On2 deblocking filter and no deringing filter.
4—Use the On2 deblocking and the fast On2 deringing filter.
5—Use the On2 deblocking and the better On2 deringing filter.
6—Same as 5.
7—Same as 5.
If a mode greater than 2 is selected for video when you are using the Sorenson codec, the
Sorenson decoder defaults to mode 2 internally.
Use of a deblocking filter has an effect on overall playback performance, and it is usually not
necessary for high-bandwidth video. If your system is not powerful enough, you may
experience difficulties playing back video with this filter enabled.
Availability: ActionScript 1.0; Flash Player 6
Example
The following example plays video1.flv in the
the deblocking filter behavior on video1.flv. Add a video object called
ComboBox instance called
ActionScript to your FLA or AS file.
var deblocking_cb:mx.controls.ComboBox;
var my_video:Video; // my_video is a Video object on the Stage
var my_nc:NetConnection = new NetConnection();
my_nc.connect(null);
var my_ns:NetStream = new NetStream(my_nc);
my_video.attachVideo(my_ns);
my_ns.play("video1.flv");
deblocking_cb.addItem({data:0, label:'Auto'});
1278
ActionScript classes
my_video
to your file, and then add the following
deblocking_cb
video object, and lets the user change
my_video
and a
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?