Posted by Derrick on February 5, 2010 under Video Streaming and Compression |
Encoding Flash Linked Downloadable Streaming videos with Sorenson Media’s Sorenson Squeeze 6 is enhanced. This tutorial will help you if you’ve upgraded to Sorenson Squeeze 6 or purchased the new version and new Squeeze 6 license. This workflow in this tutorial is helpful if you need to encode Flash Linked .SWF and .FLV using the Sorenson Media player skins for Download Streaming. We’ll show you how to create a Flash Linked Downloadable Streaming video that is geared for high broadband users. The video that we’re encoding is a 720 x 480 DV progressive source with PCM audio and black edges.
Now, let’s get started.

Navigate to the Formats tab located in the Presets section. Twirl down the Adobe Flash Movie (.swf) templates and navigate to the F8 SWF 360p (4×3) compression preset. Now copy the preset to create a version you can customize. Select the preset and Right-click your mouse and select Copy Audience Preset from the Contextual Menu. You can also select the Creates a Copy button below the presets. Locate your new preset which should have copy at the end of the Preset name. Double-click the preset to open it for editing.

Once your preset opens you can adjust your settings but first you need to name your new preset. For this tutorial name your preset F8_flashlinked_DL_360. Remember it’s best to make sure you don’t have any spaces in your preset names as they are included in the name of your output file. Removing spaces mainly helps in the web authoring process.

OK. Now move to the Codec settings within the Video Tab. You’ll adjust our preset for Downloadable Streaming video for high broadband users. Keep in mind this is general preset. You might have to do some additional tweaking to get your desired quality for output. In your preset the On2 VP6 Pro Codec should be selected along with 2-Pass VBR. Since the video frame rate is 29.97 frames per second adjust your output frame rate to 15 fps. By doing this you’re cutting the frame rate in half which will give you smooth motion. For your target Data Rate adjust it to 600Kbps. You can keep VP6-E for the Profile with Auto Key Frames Enabled with an Auto Key Frame Threshold of 70.

For Frame Size select 480 x 360. You can select Maintain Aspect Ratio with Key Frames set to Key Frame Every 90 frames. So in this case the codec will ad a new key frame at least every 6 seconds since 15 fps is our output frame rate.

Moving onto the Audio settings within the Audio tab. The Fraunhofer MP3 Codec should be selected. Adjust your datarate to 40Kbps, Sample Rate set to 22050, Channels to Stereo and 16 bit for your Sample Size.

Next move to the Player Options Tab. At this point you’re going to determine the Player/Skin that you want to surround your video for playback on the web. For this tutorial select the Aluminum Player.

For the Video location you can leave the default value of http:// for the URL/Path and make sure Play Automatically is selected.

A new feature in Squeeze 6 is you can actually attach Filter presets within your compression presets. However, in this tutorial you want to create a filter that we can apply to other videos as well. Moving on, navigate to the Filters section on the left hand side within Squeeze 6.

Move down to the Web Generic Filter and select it then click the Creates a Copy button. Now double-click the Web Generic copy Filter you just created. When the Filter preset opens change your filter name to SD_Cropping_NoDeinterlace. You’re giving your Filter this name because you’re making a Filter preset for encoding Progressive SD sources that have blacking edges.

In the Filter preset settings you can check on uncheck items you don’t want to include. For this Filter uncheck Deinterlace since the source is progressive. Now check Crop, Brightness, Contrast and Audio Volume. For Brightness adjust to your setting to 10. For contrast adjust your setting to 15, and for Audio Choose Normalize and adjust to 90. Keep in mind if your source file is really bright you might need to deselect the Contrast and Brightness values.

For cropping off our black edges you’ll multiply the aspect ratio of 4:3 times 8 in which you’ll crop 32 pixels off the left and right and 24 pixels off the top and bottom. So for the Top input 12 pixels, for Bottom input 12 pixels, for the Left 16 pixels and for the Right input 16 pixels. Click OK once you’ve made all of your adjustments.

Now onto compressing your video. Drag your source file into the Batch Tree. You can also choose Import File from the Input Options and navigate to your desired video and click Open.
Next Select your F8_flashlinked_DL_360 Compression preset and drag it onto your video. In my case, I’ll drag the F8_flashlinked_DL_360 preset on top of my video called Car02 in the Batch Tree. Then drag your Filter preset over top of your Compression Preset in the Batch Tree. Looking at the image above you would drag your Filter preset over top of F8_flashlinked_DL_360 located under Source Settings. You’ll know your filter is applied when you see Filter : SD_Cropping_NoDeinterlace display within your applied Compression preset.

To select a custom output for you file you can adjust this within the Squeeze Preferences. Click the Edit Pull-down menu and choose Preferences.

When the dialog opens click the Output Tab and the Browse button to create an output location for all of your encodes. If you don’t select a custom output for your video Squeeze will put your output videos in the same location as your source. Click OK on the Preferences tab once you’re done.

Now you’re all set to encode your video. Click the Squeeze It! button.

Once your video is finished encoding you will have 3 files in your output location. All files will have the same name except for the file extension. One file is the .SWF file, another if the Flash .FLV file and the final file is an .HTML file. You will need these files when you author your video for your Web Page. For details on the authoring process for Flash Linked .SWF and .FLV files view the tutorial Authoring a Web Page for Flash Linked Downloadable Streaming with Dreamweaver CS4. Other tutorials are available on our blog as well.
Tags: .FLV, codec, Compression, Downloadable, encode, encoding, flash, Linked, On2, Player, preset, skin, Sorenson, Squeeze 6, streaming, SWF, tutorial, videos, vp6
Posted by Derrick on October 19, 2009 under Video Streaming and Compression |
Downloadable Streaming with Sorenson Squeeze and Dreamweaver is very common. Today we’ll show you how to encode a Real Media video with Sorenson Squeeze and then author that video in Dreamweaver with a RAM file. RAM files are beneficial to use because you can hide the absolute path to the video file on your Server. Let’s begin.

Open up Sorenson Squeeze and click the Import File button to bring your source files into Squeeze.

When you click the Import File button you’ll see a dialog window open up. Select you file and click the open button. For this tutorial I’ll select the Step10DraggingaPreset.mov file and click the Open button.

Now you’ll can see you source file in Squeeze. Notice that the Batch Tree display the file Step10DraggingaPreset.mov video ready for encoding in the Batch Tree. You can also see a still frame of the video in the Squeeze Preview Window.
Let me take a moment to talk about the source and explain our approach for encoding this video. The source is a 720 x 480 video with Animation for the video codec and IMA for the audio codec. This is a video tutorial that has edited screen captures. Our delivery will be for downloadable streaming with Real Media. OK, now let’s move forward with out tutorial.
Now, that we have our source ready for encoding we need to create our compression preset.

Navigate to the Audience presets. Switch to Format view by adjusting the pull-down and open up the Real Media presets (Real Media presets are only available for PC users). Once you open the presets click the Lg setting. Once selected click the Copy a Preset button which is the second button from the left.

When the Audio/Video Compression Settings dialog opens your preset will be labled Lg copy.

By highlighting your text in the Name text box you can change the name. For this tutorial change the name of your preset to 1000k_DL.

Now it’s time to custom your Real Media downloadable streaming preset. For the video codec we want to make sure RealVideo 10. This is the latest codec for Real Media and it’ll give you the best quality. Since we’re doing downloadable streaming we want to use 2-Pass VBR for our compression method. We definitely want to vary our bit rate to achieve the highest quality for our output. For our the Video datarate you can type in 1000 kbps. For Frame select 640 x 480 and select Maintain Aspect Ratio. For the frame rate you can use 10 frames per second since this video is screen captures with very little motion.
For our Key Frame Every value we’ll use 300 frames. This will produce a key frame at least every 300 frames. A higher keyframe value or a longer period before new key frames is better with this type of content since many of the frames are similar. Since our Frame Rate is 10 frames per second. This Key Frame Every interval produces a key frame a least every 30 seconds. If the codec feels that it needs to insert a key frame it will do it automatically. You can need the Video Mode at Normal with the default Startup Latency of 4 Secs.

Moving on to the Audio settings you can select 64 kbps for the audio datarate leaving 16 for the Sample Size, 44.1 kHz for the Sample Rate with Stereo audio.

Once you’ve made all of the adjustments to your Audio/Video Compression Settings you can click the OK button. Now you have a Real Media preset called 1000k_DL inside your Audiences.

Now that your setting is created you need to apply it to your video source. Select the Real Media 1000k_DL setting and drag it over top of your source.

You can now see the compression setting applied to the video in the image above. Once applied it appears below the source video.

Before we encode the video we need to create a filter preset for this encode. Under the Filters select the Generic Web filter setting. Once selected click the Copy a Preset button.

You can now see the new copy of the Filter preset labled Generic Web Copy in the Name Text Box.

Select the text and rename the Filter preset Deinterlace_Blend. This gives our filter a good description just in case we want to use it for other projects in the future.

In the filter preset there are checked boxes that a enabled which shows the values being used in this setting. For your setting you should have the Deinterlace, Contrast, Brightness and Audio Volume filters checked.

Let’s adjust the Deinterlace filter first. Generally, when performing encodes with screen captured tutorials content it’s better to Deinterlace by using a Blend where the 2 fields are blended together. This works better than totally discarding one of your fields.

Adding a Contrast and Brightness boost is good for delivering web content so we’ll leave our Contrast value at 15

and you can leave your Brightness value at 10.

For the Audio Volume select Normalize from the pull-down and input a value of 90. This will increase the lower audio levels to match the higher audio levels. There’s also an option to do a volume adjust by selecting Adjust from the pull-down menu.

Once all of your adjustments are made click the OK button to save and close your filter.

To apply your filter select Deinterlace_Blend filter and drag onto your Real Media 1000k_DL preset that you have applied.

Notice the Deinterlace_Blend filter appears on the bottom of your applied preset.

To start encoding click the Squeeze It button.

When you video has finished encoding you will see Complete displayed in the Progress section of the Batch Tree. By default the file will output to the same folder as your source file.

Once your Real Media file is encoded you can author it for your website. When you are authoring web pages it’s important that you have a folder on your desktop that has the same folder structure as your website. For example, if you have a folder called html, images and movies in the root directory of your website then you should have folder on your website with the same folder names similar to the image above. In this example we have a folder for the website on the desktop called training_website.

Before you start authoring it’s best to movie your encoded Real Media video to its destination on the web. Navigate to the output location of your video file and copy it to the movies folder which should be inside the training_website folder that you are using for this tutorial.

Open Dreamweaver and select the Site that you want to access. In my case I’m using Freeman for Classes. Make sure you click the connect button to the far left right under you site. Next, click on Expand button to expand your view. You should be able to see your Remote Files and your Local Files. Above is view on the Local Files. This are the files sitting on your desktop. They are located on the right inside Dreamweaver in the Files view.

The Remote Files are located on the left. Notice that there is a movies, images and html file in both locations.

If you open up the movies folder you can see your Real Media Downloadable Streaming video that you moved to the movies folder earlier. Let’s upload it to your website. Select the Real Media video and drag it to the movies folder on your Web Server. This is where the Remote File are located.

When the file starts transferring or uploading to your website you’ll see a Background File Activity dialog appear. This dialog provides you with a status on your upload.

Moving on, let’s author the Real Media video for the web. First, let me talk about what we’re doing here in this step. We’re going to create a web page with a link that when clicked will open up our Real Media downloadable streaming video. However, we want to hide the location of where the file is stored on our server along with any IP address information. To do this we’ll use a RAM file which is a text file with a .ram extension that holds the absolute path to the Real Media Download video. This file will sit on our server in the same folder as our video file.
OK. Open Notepad

and type in the following information highlighted in the image above.
Type in http://www.yourwebsite.com/movies/youvideoname.rmvb?title=”My Video”. Make sure you put the URL to the Real Media video on your own website here. This is where your video is located. It you followed the tutorial correctly your Real Media download streaming video should be located in your movies folder.

Next, choose Save from the File Pull-down menu and call the file RM1000DL.ram.

Place the RM1000DL.ram file in your movies folder. Next upload the 1000DL.RAM file you created to the Movies folder on your web server.

Once your Real Media RAM file is on-line you can create your web page. In Dreamweaver select New from the File Pull-down menu.

When the Dialog Window opens choose HTML

and then choose Create.

Now Save your HTML page and call it RM1000DL.html. Make sure you save the RM1000DL.html page in your html folder inside your training_website folder.

Next, move you cursor to the top of the page in the Design View similar to the image above.

Navigate to the Insert Pull-down menu and select Hyperlink to add a link to our RAM file.

Remember, our RAM file holds the absolute path to our Real Media Downloadable Streaming file. When we create our link to the video we don’t have to reference the video, we can simply reference the RAM file. When viewers click on the link if Real Media Player is installed the video will be automatically open in the player.
Let’s continue. For Text type in My Real Media Video. For Link you need to put the path to your RAM file. This can be a relative path by typing in ../movies/RM1000DL.ram. The reason why we can use this relative path is because the html folder is parallel to the movies folder in this tutorial. It’s best to always use relative paths. One benefit is that you can view all of your pages from your desktop. A greater benefit is that it’ll make your website portable to another Web Server with a different Domain Name. Select _parent for the Target.

This is what you new link looks like.

We’re almost finished. Save your file by selecting Save from the File Pull-down menu.

In the File View in Dreamweaver open the html folder and click on the RM1000DL.html web page. Drag it to the html folder under Remote Files on the left of the File View.

If you see a dialog that asks you if you want to Put dependent files? you can click No.

Now that your new wep page is created and is on your website . Type in the URL to your new page. This should be http://www.yourwebsite.com/html.RM1000DL.html. You should then see the your page appear. Click on the link that displays My Real Media Video.

With Real Media Player installed you should see you video open up in the Real Media Player similar to the image shown here. Congratulations on encodiing a Real Media Downloadable Streaming video in Squeeze and authoring it in Dreaweaver!
Tags: .ram, 2-pass VBR, Authoring, Compression, deinterlace, Downloadable, dreamweaver, encoding, key frame every, page, preset, Real Media, Real Media Player, setting, Sorenson, Squeeze, streaming, web
Posted by Derrick on October 9, 2009 under Video Streaming and Compression |
Video Podcasts are one of the quickest ways to get content on-line. If you need to start putting videos on-line you should consider this approach. Today is a new day for video editors. Many video editors and professionals are now being tasked with getting streaming content on-line along with the continuation of other video production duties. In order to simplify your workflow you should consider creating a Video Podcast. You can go this route if downloadable streaming videos work for your delivery and if you can sell your organization on the benefit of having videos available for view in iTunes, on Video iPods and on iPhones.
Once your Video Podcast is set-up the process for updating new video content is easy.
If your are fortunate to have a version of Sorenson Squeeze 5 Pro around which supports compression presets for Video iPods, updating on-line content becomes a very quick and simple process. Since you can use Squeeze’s automatic FTP feature there’s short list of what you’ll need to do to get your content on-line:
Here’s a short tutorial of the process for adding videos to your Video Podcast.
Step 1. Import your video into Sorenson Squeeze 5 Pro
Step 2. Apply one of the Video iPod presets
Step 3. Apply the appropriate filters for encoding

Step 4. Apply the Copy to FTP filter to your video source

Step 5. Double click the Copy to FTP filter to adjust the settings

Step 6. – Now that the Copy to FTP dialog is open you can adjust the settings. Using this feature will automatically transfer a copy of your output file to your web server after encoding. To use this feature you have to have an FTP account set-up for uploading videos to your web server. Go ahead and fill out the required information which includes: User Name, Password, Host and Path to your videos. Once your information has been typed in click the Test button and you should see a message that displays “Test was successful”

Step 7. – Once encoding is complete your video will be automatically uploaded to your web server. Open up Blogger or the tool you’re using as the blog to your Video Podcast. Add the URL for your video. Look at the image above to see how to add your URL information. Once you save and publish your blog page your video will be available via your Video Podcast. Sometimes it might take a few minutes to appear.
It’s that simple. Now you see why I say Video Podcasts are one of the quickest ways to get video content on-line.
Tags: content, Downloadable, encoding, on-line, Podcast, podcasts, Sorenson, Squeeze, streaming, Video, Video iPod, videos