2007 Adobe Systems Incorporated. All Rights Reserved.1
MAX 2007CONNECT. DISCOVER. INSPIRE.
Giovanni Antico
AdobeGuru | Italyhttp://labs.gantico.com/archive/2007/adobemax/
Barcelona, October 16, 2007
2007 Adobe Systems Incorporated. All Rights Reserved.2
Intro
start with good plan, shooting, editing & postproduction
choose appropriate codec, encoder and workflow
search the best compromise between:
your content: image & audio quality (compression), smooth motion (fps), resolution (image size)
your target: constrains of bandwidth and processing power.
32007 Adobe Systems Incorporated. All Rights Reserved.
For details on all the new features: http://labs.adobe.com/technologies/flashplayer9/
What’s new in Moviestar?
Acceleration
Full screen mode with hardware scaling
Multi-core support for vector rendering
New Codecs
H.264 video
HE-AAC audio
VP6-S video
2007 Adobe Systems Incorporated. All Rights Reserved.4
* = Data registered in September 2007: http://www.adobe.com/products/player_census/flashplayer/version_penetration.html
Video codecs supported by Flash Player
not yetH.264
99.2%* 6No
Yes
yes
Alpha + cue points
93.7%*9
99.2%*
98.2%*
1%**
UbiquityVersion
Codec
7Spark
8VP6-E
9,0,64
(Moviestar)VP6-S
** = Unofficial data just based upon server logs in September: http://www.jeroenwijering.com/?item=FLV_Video_Compression
Flash Player
52007 Adobe Systems Incorporated. All Rights Reserved.
Supported:
Base, Mainline, High and High-10 profiles (ISO 14496-10 standard)
In other words: ipod and podcast video (mp4, mov)
AAC support ISO 14496-3 standard. (Default for iPod and PS3)
Not supported:
H.264 & AAC protected with Fairplay DRM
Mpeg-4 Part 2 (Xvid, Divx)
H.263, Sorenson 3
H.264 & AAC in Flash Player
62007 Adobe Systems Incorporated. All Rights Reserved.
Immediate:
Very high quality and efficiency
Port existing .m4a podcast to Flash
MPEG-4 is an industry standard
Many encoders available
Future:
HW acceleration by graphic cards
HW encoders (more then real-time)
Digital TV adopting H.264
H.264 advantages
72007 Adobe Systems Incorporated. All Rights Reserved.
Slices of videos compressed with QuickTime Pro Export to H.264 with quality set at 96%, 50%, 0%
H.264 Comparison
Original 380 Mb 96% - 28,4 Mb 50% - 3,18Mb 0% - 0.50 Mb
82007 Adobe Systems Incorporated. All Rights Reserved.
"With the addition to VP6-S in Moviestar, we are providing our customers more options to provide high-resolution, full-screen video to millions of viewers worldwide," said Jen Taylor, group product manager for Flash at Adobe.
“VP6-E video remains the recommended format for […] video delivered at or below 500Kbps, and VP6-S is recommended to achieving higher resolutions ….”
*Source: www.on2.com/company/news-room/press-releases/?id=421
VP6-S
92007 Adobe Systems Incorporated. All Rights Reserved.
VP6 + Diffusion / Compatibility
Alpha support
Supported in Flash Lite 3
Existing media library for Flash
Low power utilization
Cue Points
VP6 vs H.264 in Flash Moviestar
H264 + Acceleration by graphic cards
High quality
Existing content already in H.264
Huge library ready (podcast + DVD)
More encoders available
VP6 - “Blockiness” (better in VP6-S?)
Fewer encoders available (VP6-S only withOn2 Flix)
H.264 - “Smoothiness”
More processor intensive
licensing determined by MPEG-LA
No cue points & alpha yet
2007 Adobe Systems Incorporated. All Rights Reserved.10
* =Illustration from http://en.wikipedia.org/wiki/Image:Vector_Video_Standards2.png
Video standards
2007 Adobe Systems Incorporated. All Rights Reserved.11
Video standards
HD 1080p1920 x 1080
HD 720p1280 x 720
16x
4x
1x
32x
VP6
H.264
VP6-S
Spark
Web L640 x 360
Web S320 x 180
HD 480p854 x 480
XGA1024 x 768
PAL720 x 576
SXGA1280 x 1024
122007 Adobe Systems Incorporated. All Rights Reserved.
2 Edit 3 Encode 4 Decode
Encoding workflow
1 Acquire
Adobe Media Encoder
Flash Video Encoder
Flash Media Encoder
132007 Adobe Systems Incorporated. All Rights Reserved.
Tripod to reduce camera movement
Good Lighting
Best camera possible
Moving subjects under control
Moderate use of zoom and camera movements
On-location: check video signal
Ultra: check chromakey
Shooting
142007 Adobe Systems Incorporated. All Rights Reserved.
Select the best scenes
Moderate use of transitions
De-interlace
Reduce video noise
Remove audio noise
Stabilize motion
Resize / remove borders
Editing and Post-producing
152007 Adobe Systems Incorporated. All Rights Reserved.
1. (Analyze video)
2. Determine bandwith target
3. Choose target data rate and player
4. Choose codec and encoder
5. Choose video dimensions
6. Choose frame rate
7. Set key frame interval
8. Set cue points (if needed)
9. Set audio compression
10. Alpha channel settings (if needed)
Encoding
points inspired by : http://www.flashconnections.com/?p=35
162007 Adobe Systems Incorporated. All Rights Reserved.
Editing Rendering Encoding
Separating Rendering from Encoding?
ARender encoded:Render each time a new encoding is required
BRender and encode:render once and encode later in multiple formats
Video high quality
Video high quality Video high qualityFormat 2
Format 1
Format 3
Format 4
Format 1
Format N.
…
172007 Adobe Systems Incorporated. All Rights Reserved.
1) Uncompressed formats Avi or Mov uncompressed
Tiff, Targa, PSD sequence
Video formats for Editing
2) Lossless compression QT: Animation codec 100%
Tiff sequence with LZW
3) Perceptively loss-less compression QT: Motion Jpg or Photo Jpg
Jpg sequence
4) Lossy PAL / NTSC: DV
Mpeg, all families
FLV
182007 Adobe Systems Incorporated. All Rights Reserved.
1. Rename .mov and .mp4 in .flv
2. In QuikTime always set prepare for streaming
3. Test and fine tune encoding settings on few seconds selection
4. Force key frame with cue point
5. Render once, encode in multiple formats
6. Animation codec at 100% = lossless!
7. Deinterlace not necessary if reducing the height to half size or smaller
8. If clients give you DVD-Video and they are the only available source just rename .vob in .mpg and open it in Premiere.
Tips & Tricks
192007 Adobe Systems Incorporated. All Rights Reserved.
1) codec vs containers Codec = H.264, MP3, ACC, VP6…
Container = FLV, MOV, M4V, MP4V, 3GP, 3G
Tricky concepts
2) Frame rate vs keyframe FPS = frames per seconds
Keyframe = full uncompressed image used as reference by codec
Keyframe interval = frames between keyframes
3) Frame size vs file size Frames size = pixel dimension of a
single frame
File size = KB or MB dimension of the video file on your disk
2007 Adobe Systems Incorporated. All Rights Reserved.20
Creating FLVs – Adobe Software
Flash Professional CS3 Direct import into Flash CS3
(deprecated)
Flash Video Encoder (standalone)
Flash Video Exporter - Plug-in to enable FLV output from external encoding tools
CS3 Production Premium Premier Pro CS3
After Effects CS3 Professional
212007 Adobe Systems Incorporated. All Rights Reserved.
Web Small
Web Medium
Web Large
4/3 16/9 2.35/1
Web frame resolution: Standard ratios
320 x 240
480 x 360
640 x 480
320 x 180
480 x 272
640 x 360
320 x 136
480 x 204
640 x 272
standard wideFilm
Settings from the article “Best Practices for Encoding Video with the VP6 Codec”: http://www.adobe.com/devnet/flash/articles/encoding_video.html
2007 Adobe Systems Incorporated. All Rights Reserved.22
Settings from the article “Best Practices for Encoding Video with the VP6 Codec”: http://www.adobe.com/devnet/flash/articles/encoding_video.html
KeyframeInterval
Frame RateFrame sizeAudio Bit Rate
Video Bit Rate
Total Bit Rate
8 sec.30/25 fps640 x 48096K stereo 504K 600KX-Large
8 sec.30/25 fps480 x 36064K mono286K350KLarge
8 sec.30/25 fps320 x 24048K mono132K180KMedium
8 sec.30/25 fps240 x 18032K mono68K100KSmall
8 sec.30/25 fps160 x 12016K mono34K50KModem –Progressive
8 sec.30/25 fps160 x 12016K mono24K40KModem –Streaming
Recommended with VP6 Codec & Low-Motion Video
2007 Adobe Systems Incorporated. All Rights Reserved.23
Recommended with VP6 Codec & High-Motion Video
KeyframeInterval
Frame RateFrame sizeAudio Bit Rate
Video Bit Rate
Total Bit Rate
8 sec.30/24 fps640 x 48096K stereo 1304K 1400KX-Large
8 sec.30/24 fps480 x 36096K mono754K850KLarge
8 sec.30/24 fps320 x 24064K mono336K400KMedium
8 sec.30/24 fps240 x 18032K mono188K220KSmall
8 sec.30/24 fps160 x 12016K mono64K80KModem –Progressive
8 sec.30/24 fps160 x 12016K mono24K40KModem –Streaming
Settings from the article “Best Practices for Encoding Video with the VP6 Codec”: http://www.adobe.com/devnet/flash/articles/encoding_video.html
2007 Adobe Systems Incorporated. All Rights Reserved.24
Creating FLVs – Third Party Software
Desktop tools: Flix from On2 Squeeze from Sorenson ProCoder from Canopus Cleaner from Autodesk
Server solutions Carbon Coder from Rhozet Agility from Anystream FlipFactory from Telestream
Hardware solutions Digital Rapids ViewCast
SDKs On2 (for VP6 video) Ffmpeg.org (for Spark video)
2007 Adobe Systems Incorporated. All Rights Reserved.25
Sorenson Squeeze 4.5
Software: http://www.sorensonmedia.com/pages/?pageID=2
2007 Adobe Systems Incorporated. All Rights Reserved.26
Sorenson Squeeze 4.5
Software: http://www.sorensonmedia.com/pages/?pageID=2
2007 Adobe Systems Incorporated. All Rights Reserved.27
On2 Technologies Flix Pro
Software: http://www.on2.com/products/flix/
2007 Adobe Systems Incorporated. All Rights Reserved.28
On2 Technologies Flix Pro
Software: http://www.on2.com/products/flix/
2007 Adobe Systems Incorporated. All Rights Reserved.29
Flash video learning guidewww.adobe.com/devnet/flash/articles/video_guide.html
Best Practices for Encoding Video with the VP6 Codecwww.adobe.com/devnet/flash/articles/encoding_video.html
Exploring Flash Player support for high-definition H.264 video and AAC audiowww.adobe.com/devnet/flashplayer/articles/hd_video_flash_player.html
Devnet Links
2007 Adobe Systems Incorporated. All Rights Reserved.30
Adobe Labs - Flash Player 9 Update Full-Screen Mode Demohttp://labs.adobe.com/technologies/flashplayer9/fullscreendemo/
Wiki - Flash Player:9:Update:Full-Screen Mode HWhttp://labs.adobe.com/wiki/index.php/Flash_Player:9:Update:Full-Screen_Mode_HW
Wiki - Flash Player:9:Update:H.264http://labs.adobe.com/wiki/index.php/Flash_Player:9:Update:H.264
Adobe Labs Links
2007 Adobe Systems Incorporated. All Rights Reserved.31
What just happened to video on the web?www.kaourantin.net/2007/08/what-just-happened-to-video-on-web_20.html
Advanced Video Encoding session at Adobe Max USA 2007http://www.flashconnections.com/?p=35
Player used for demoshttp://www.jeroenwijering.com
Blog Links
2007 Adobe Systems Incorporated. All Rights Reserved.32
THANK YOU ALL!http://labs.gantico.com/archive/2007/adobemax/
Special thanks to:
Adobe and Adobe Max team
Adobe Italia (most of all Andrea Amadeo & Matteo Oriani)
Claudia Castaldi for studio shooting
Masato Furusawa for 3D illustration
Lisa Larson-Kelley for having shared her presentation on her blog