Haihaisoft
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Protect Audio/Video Introduction (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Protect Audio/Video Introduction
#234
Jason (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Protect Audio/Video Introduction 1 Year, 5 Months ago Karma: 0  
In Haihaisoft DRM-X Packager, you can protect your audios/videos for online
streaming or downloading playback. They are:

1. “Generate Protected file for local playback”;

2. “Generate index file for protected file”;

3. “Generate index file for source file(not protected)”;

4. “Set output file extension to .hup”.

We will introduce them one by one in the following steps.
 
Report to moderator   Logged Logged  
 
Last Edit: 2010/06/29 00:48 By admin.
  The administrator has disabled public write access.
#235
Jason (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Re:Protect Audio/Video Introduction 1 Year, 5 Months ago Karma: 0  
1.What is "Generate Protected file for local playback"?

If you choose the "Generate Protected file for local playback" when you protect your media files, as shown in the picture above, you will get the files which are used for downloading to play on local computers.
You can upload the file to your web server and ask your users to play them on their computers.
It supports protecting most popular media formats, such as WMV, WMA, ASF, AVI, MP4, MP3, FLV, RM, RMVB, MP4, H.264 and so on.
After you finish encrypting the videos, you will get the protected files whose names will be ended with "_P" , shown as below:
 
Report to moderator   Logged Logged  
 
Last Edit: 2010/06/29 00:53 By admin.
  The administrator has disabled public write access.
#236
Jason (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Re:Protect Audio/Video Introduction 1 Year, 5 Months ago Karma: 0  
2. What is "Generate index file for protected file"?



If you choose the "Generate index file for protected file". when you protect your media files, as shown in the picture above, you will get an index file in ".txt".

It is used for playing the protected file generated in previous step in Streaming. You just need to upload the index file to the same folder of the protected media file. What's the left is just to use Haihaisoft ActiveX Control to invoke the index file.

Sample Code:

<object id="MyActiveX1" width="400" height="300" classid="CLSID:1A01FF01-EA62-4702-B837-1E07158145FA" VIEWASTEXT>
<param name="_Version" value="65536">
<param name="_ExtentX" value="9149">
<param name="_ExtentY" value="1582">
<param name="_StockProps" value="0">
<param name="Src" value="http://www.drm-x.com/download/DRM-X_Sample_P.wmv">
<param name="UIStyle" value="15">
<param name="Volume" value="80">
<param name="updateurl" value="http://download1.haihaisoft.com/HaihaisoftUniversalPlayer_ActiveX.exe">
<param name="bufferTime" value="10">
<a href="http://download1.haihaisoft.com/HaihaisoftUniversalPlayer_ActiveX.exe" style="text-decoration: none;"><img alt="Click here to download Haihaisoft online Player" src="http://www.drm-x.com/images/Installonlinehup_en.png" style="border-style: none" /></a></object>

Copy the code above and paste it on the page you want to play the media and then
change the URL in highlight into the URL of your own.

Note: If you input the URL of the index file of the protected media, then the media
will be played in streaming.

If you input the URL of the protected media, you can still play it online. But it is not
played in streaming but in progressive download playback.

This new streaming technology is called Haihaisoft Smart Streaming. The revolutionary streaming is developed by Haihaisoft Limited. With the Haihaisoft Smart Streaming, you will own a lot of benefits, such as:

  • No Streaming Server

    You can publish the WMV files encoded in the ways of "Generate index file for protected file" or "Generate index file for source file (not protected)" directly through http, https, just like publish images. That means you don't need to use Streaming Server for publishing your media contents any more. It will help you a lot of saving time and money.


  • No Waiting – Playing at once

    The users can play the video at once and don't need to wait until the whole video has been downloaded. The users can also skip to anywhere they want to watch of the video directly.


  • Less Streaming Cost

    As usual, the streaming cost is calculated by how many times a video is played. So it will cost a lot when a user plays the same video for many times.
    But now, through Haihaisoft Smart Streaming, it only costs one streaming fee however many times the user plays the video. So it will help you save a lot of streaming fee.


  • Easy to Play

    You just need use Haihaisoft ActiveX Control (its size is only about 2.3MB ) to play the Streaming file online directly. Don't need to download any software.


  • After you finish encrypting the videos, you will get two new HSS files in the end of the name, shown as below:



    Now, this method only supports protecting WMV, FLV files. We will extend it to protect other media formats in the coming days.

    Check more…

    To view protected files online by IE
     
    Report to moderator   Logged Logged  
     
    Last Edit: 2010/06/29 01:12 By admin.
      The administrator has disabled public write access.
    #237
    Jason (User)
    Fresh Boarder
    Posts: 17
    graphgraph
    User Offline Click here to see the profile of this user
    Re:Protect Audio/Video Introduction 1 Year, 5 Months ago Karma: 0  
    3. What is "Generate index file for source file"?



    If you just want to use Haihaisoft Smart Streaming to publish your videos and play them online in streaming, but don't want to add DRM protection, DRM-X provide you the choice either.

    You just need to choose "Generate index file for source file", as shown in the picture above.

    After you finish encrypting the videos, you will get two new HSS files in the end of the name, shown as below:



    After uploading your source file and the index file to web server, you can use Haihaisoft ActiveX Control to play the media file online.

    Now, this method only supports protecting WMV, FLV files. We will extend it to protect other media formats in the coming days.

    Sample Code:

    <object id="MyActiveX1" width="400" height="300" classid="CLSID:1A01FF01-EA62-4702-B837-1E07158145FA" VIEWASTEXT>
    <param name="_Version" value="65536">
    <param name="_ExtentX" value="9149">
    <param name="_ExtentY" value="1582">
    <param name="_StockProps" value="0">
    <param name="URL" value="http://drm-x1.haihaisoft.com/DRM-X_Sample.wmv">
    <!-- Input the URL of the media clips you want to play here.-->
    <param name="UIStyle" value="15">
    <param name="Volume" value="80%">
    <param name="updateurl" value="http://www.drm-x.com/download/HaihaisoftUniversalPlayer_ActiveX.exe">
    <!-- The URL of the Update for the player. -->
    <param name="buffertime" value="10">
    <!-- Set the default buffer time. -->
    </object>

    Copy the code above and paste it on the page you want to play the media, then you
    need to change the URL in highlight into the URL of your own.

    Note: If you input the URL of the index file, the source media will be played in
    streaming.

    If you input the URL of the source media file, you can still play it online. But it is not
    played in streaming but in progressive download playback.
     
    Report to moderator   Logged Logged  
     
    Last Edit: 2010/06/29 01:19 By admin.
      The administrator has disabled public write access.
    #238
    Jason (User)
    Fresh Boarder
    Posts: 17
    graphgraph
    User Offline Click here to see the profile of this user
    Re:Protect Audio/Video Introduction 1 Year, 5 Months ago Karma: 0  
    4. What is "Set output file extension to .hup"?

    If you choose the "Set output file extension to .hup" when you protect your files, all the protected files' name extension will be changed into ".hup".

    To see what is ".hup"

     
    Report to moderator   Logged Logged  
     
    Last Edit: 2010/06/29 01:20 By admin.
      The administrator has disabled public write access.
    Go to top Post Reply