Live Chat with Operator
Home >  ASP.NET Video Publishing Script >  Doumentation

ASP.NET Video & Audio Uploader, Encoder User Control Doumentation

Here you can find detail documentation of asp.net video and audio uploader and encoder user control. Asp.net video upload and encoder user control properties and settings are divided into the following parts.

  1. Video Uploader User Control Module Settings
  2. Path Settings
  3. Encoding Settings
  4. Cloud Storage Settings

Video Uploader Module Settings:

These settings can be set from page where video uploader module is embedded and is independent of centralize settings. You can set multiple video uploaders to achieve different level of video and audio processings. e.g you can set one uploader to video processing and one for audio processing. List of asp.net video uploader properties and detail shown below.

Property Type Default Description
Type int 0 Set media type as video or audio for processing. 0: video, 1: audio file
VideoExtensions string --- List of allowable video formats separated by comma.
AudioExtensions string --- List of allowable video and audiofile extensions separated by comma.
MaxVideoSize int 50 Maximum allowable video size in MB.
MaxAudioSize int 50 Maximum allowable video size in MB.
EnableCloudStorage bool false Enable / Disable Cloud Storage for Media Files.
SuccessMessage string --- Display message after video uploading and processing stage completed.

Video Uploader Path Settings:

You must set path settings properly in order to work video storage and encoding properly. You can access path settings under app_code/encoder/PathSettings.cs or .vb file.

List of properties available with path setting section.

Property Type Default Description
FFMPEGPATH string --- Complete path of /ffmpeg.exe
FLVTOOLPATH string --- Complete path of /flvtool2.exe
MP4BoxPath string --- Complete path of /mp4box.exe
MP4_Preset_Path string --- Complete path of libx264 preset file for encoding mp4 videos.
WEBM_Preset_Path string --- Complete path of libvpx preset file for encoding webm video
SourceDirectory string --- Directory path where original videos and audio files store.
PublishedDirectory string --- Directory path where published videos and audio files will store after encoding.
ThumbsDirectory string --- Directory path where video thumbs will store.

Video Uploader Cloud Settings:

These settings will only be used and required if cloud storage is enable at time of video publishing. Once enabled, all videos and audio feils will be transferred to cloud storage according to cloud settings. Video Uploader builtin support Amazon Cloud Storage, you can use other cloud storage according to your requirements by just manipulation cloud storage logic.

Property Type Default Description
AccessKeyID string --- Amazon Access Key ID required for verification or authentication.
SecreteKey string --- Amazon Secrete Key required for verification or authentication.
MakePublic string true add a x-amz-acl header with the value of public-read to make the uploaded file public
StorageClass int 0 0: Default: STANDARD , 1: REDUCED_REDUNDANCY
Streaming_Domain_Name string --- Cloudfront streaming bucket url. e.g rtmp://amazoncloudfrontid.cloudfront.net/cfx/st, just needed to stream videos from amazon cloud via amazon cloud front.
VideoBucketName string --- Amazon Bucket Name for storing videos and audio files.
OriginalVideoBucketName string --- Amazon Bucket Name for storing original videos if required. (optional)
ThumbsBucketName string --- Amazon Bucket Name for storing video thumbs

Which type of naming used for videos if more than one video is encoded at a time?

ASP.NET Video Uploader script will use the following naming logic in order to avoid any duplication of video file names

videoname_uniquevalue_itag.extension e.g sample_a934b_5.mp4 (where itag value 5 denote 360p mp4 video)

How meta information processed on mp4 videos?

Video Uploader Script will process mp4 video in two steps.

  1. publish mp4 video as temp video via ffmpeg.
  2. set meta information to temp mp4 video, generate final mp4 video via mp4box utility and remove temp mp4 video.
  3. resulted mp4 video will be fully streameabl on the web.

Which tools used by asp.net video uploader utility?

Currently ASP.NET video uploader and encoder uses the following open source utility along with asp.net media handler pro video proccessor.

  1. open source ffmpeg utility for publishing videos
  2. open source flvtool uility for setting meta information to flv videos.
  3. open source mp4box utility for settings meta information to mp4 videos.

Can i disable video processing just in case i want to grab thumbs only?

Yes you can disable video processing through video encoder script "EnablePublishVideos" property.

Can i disable grabbing thumbs from video?

Yes you can disalbe grabbing thumbs through encoder property "GrabThumbs".

ASP.NET Video Uploader User Control:

  1. Main Section
  2. Sample Usage Guide

ASP.NET Video Encoding Script:

  1. Documentation
  2. Encoding Settings
  3. Example Codes
  4. Error Codes
© 2007 - 2012, mediasoftpro.com  | Site Map | Privacy Policy | Terms of Use