There are scenarios where you need to manage categories separately for different contents. e.g you need to create separate category listing for photos, videos, classified, forums, blogs etc.
In order to manage categories separetly for different types of contents, asp.net category listing script provide a property "Type" through which you can
You can create list of types and add these types in dropdowns in order to allow administrator to add categories and assign category with correct type in order to load it in correct section.
- Type -> 0 for Video Categories
- Type -> 1 for Group Categories
- Type -> 2 for User Channels
- Type -> 4 for Abuse Types
- Type -> 5 for Photos / Galleries
- Type -> 6 for Blogs / Articles
- Type -> 7 for Audio Files
You can easily add types in Type Drop Down under manage categories, process categories section in control panel. Sample drop down listing as shown below.
[code]<asp:ListItem Text="General" Value="3"></asp:ListItem>
With iPhone OS 3 update came the ability to do live streaming. There are a few types of streaming and each requires a certain encoding and segmentation. In this example i am building stream using asp.net media handler pro, open source ffmpeg and segmenter utility.
Requirements
i: asp.net media handler pro
ii: open source ffmpeg utility
iii: segmenter
Steps
Publish video to iphone device
Supported Settings For Iphone
The supported bitrates for streaming are: 100 Kbps to 1.6 Mbps
The suggested bitrates for streaming are*: Low – 96 Kbps video, 64 Kbps audio
Medium – 256 Kbps video, 64 Kbps audio
High – 800 Kbps video, 64 Kbps audio
The iPhone screen size is: 480×320
Suggested ffmpeg command for encoding iphone video
ffmpeg -i <in file> -f mpegts -acodec libmp3lame -ar 48000 -ab 64k -s 320×240 -vcodec libx264 -b 96k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -maxrate 96k -bufsize 96k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect 320:240 -g 30 -async 2 <output file>
Segment Video For Http Streaming
Now you have a complete video but you don't want to toss the entire thing up or you wouldn't be reading about HTTP streaming. What you need is a way to segment the video stream into smaller chunks. You can download Apple's segmenter
Publishing Iphone .TS Video and Making Playlist Segment via ASP.NET Media Handler Pro
Below sample code will help you to publish .ts (video/MP2T) video and create .m3u8 (application/x-mpegURL) segments via segmenter tool.
[code]MediaHandler media = new MediaHandler();
&
complete story
ASP.NET Video Starter Kit support both google sitemap and yahoo ror sitemap generator and yahoo ror sitemap generator for posting dynamic content listing urls to google, yahoo, bing and other search engines.
These sitemaps helps your website contents to be fastly crawled and index by google, yahoo, bing and other search engines and in result with organic visitors increase (visitors comes through search results)
List of sitemaps supported by asp.net video starter kit 6.0
- Category Urls (for submitting category urls to search engines)
- Tag Urls (for submitting tag cloud urls to search engines)
- Video & Audio Urls ( for submitting videos and audio file urls to search engines)
- Photo Urls (for submitting photo urls to search engines)
- Gallery Urls (for submitting gallery urls)
- Blog Urls (for submitting blog urls)
- Forum Urls (for submiting forum urls)
- Forum Topic Urls (for submitting forum topic urls)
Both Google and Yahoo sitemaps supported for content types mentioned above.
All sitemap files located at /sitemaps/ folder.
You can register these sitemaps through webmaster tools e.g Google Webmaster Tool, Yahoo Webmaster Tool, etc
Each sitemap can generate upto 50,000 Urls (maximum restriction of search engines), if your website records exceeds 50,000 records for specific section e.g videos you can generate another sitemap for next 50,000 records by pass
complete story
ASP.NET Video Starter Kit version 6.0 introduced new level of membership management. Now site administrator can allocate resources, restrict account usage for free members and allow paid members to enhance their account usages and credits by purchasing paid packages.
Now site administrator can
- Enable, Disable Resource Allocation and Membership Process
- Create unlimited number of free and paid packages
- Assign any free package with free user
- Free user can upgrade their membership by purchasing any of available paid package.
- Paypal integration of payment
- Payment history will be generated for user under purchase history section and for site administrator.
- User account resources will be upgraded according to package purchased.
Enable Package Management:
It can be enabled from control panel -> settings -> configurations -> features -> display packages
Manage Packages:
Packages can be managed through control panel -> settings -> package management section
Site administrator can add unlimited number of free and paid packages and can update package information any time.
Features Available in Each Package:
In each package site administrator can manage
- Package Name
- Package Description
- Price
- Credits (available credits to be used for purchasing premium contents)
- No of uploaded videos (maximum allocation for uploading videos)
- No of uploaded audio files (maximum allocation for uploading audio files)
- No of photo galleries (maximum photo galleries to be allowed to create)
- No of uploaded photos
complete story
ASP.NET Video Starter Kit 6.0 introduced new approach for managing multiple language, culture user interface to provide ability for user to switch user interface language according to their desired region specific culture or languages settings.
Previous versions of asp.net video starter kit only support multiple culture specific resource files and admin can only set website specific culture via web.config file, so user have no ability to change language, culture with their own will.
Now using asp.net video starter kit 6.0, site administrator can
- Enable Disable Multi Language User Interface Support
- Manage all languages through control panel / settings / language management section.
- Set default language
- Add or register new language
- Choose languages from list of country specific languages to appear on front page.
- Advance options to filter contents based on user culture specific language settings.
If multi language option is enabled from /control panel / settings / configurations / features , list of enabled languages will be shown on front section of website. When user click on any of country flag, whole user interface of website will be translated to selected language or culture.
User language selection will be stored in cookie in order keep preserved user selected language without setting it ag
complete story
In this article we will provide information and sample codes for creating image handler file in asp.net, c# or vb.net which can be used to resize image, generate highest quality output and show image preview in real time.
You can directly use image handler in image src path to process and display output on browser.
Such handler file have lots of advantages, e.g
- Provide ability to resize image in real time and display output on browser.
- Protect image direct path from access.
- Add lots of other validation to protect images from anti leeching.
Image handling have some drawbacks
- Consume resources and performance issues so should be used in cases where its needed. e.g if you provide system for user to prepare image for mobile photo, iphone, psp, high definition, and according to different screen resolutions.
Handler file can be called as
<img src="imagehandler.ashx?filename=abc.jpg"...
Code for generating image handler.
GenerateThumbnail function will be used to generate highest possible quality output based on three paramters,
lcFilename (complete path of source photo), width (output width of photo), height (output height of photo)
Code is shown below
[code]private byte[] GenerateThumbnail(string lcFilename, int Width, int Height)
{
//Image img = Image.FromStream(fStream);
//Image thumbnailImage = img.GetThumbnailImage(Width, height),
// new Image.GetThumbnailImageAbort(ThumbnailCallback), IntPtr.Zero);
 
complete story
New advance role based permission system has been introduced for users in asp.net video starter kit 6.0. Via role based management site administrator can provide different levels of permission to certain users or default registered users.
Site administrators can create unlimited role based permission settings and assign any role based settings to default users. If there is no role based settings set, then all user will be free to use all website resources without any validation.
The following types of permissions can be set in each settings.
- Permission to upload videos
- Permission to upload audio files
- Permission to upload photos
- Permission to create galleries
- Permission to post blog posts
- Permission to create groups
Site administrators can manage permissions via
Control Panel / Settings / User Role Based Permissions Section
Site administrator can create permissio settings and assign any permission settings for default users (user who register directly via registeration process or using facebook login)
Site administrator can give specific permission settings to any user through member management section.
In this way site administrator can control which type of users to give which type of permissions while using website.
complete story
ASP.NET Video Starter Kit & Youtube Clone 6.0 has been release with addition of more advance features, introducing new sections, updates hundreds of existing features, more infrastructure changes, restructured configuration section and provide sdk to developers to make customization of solution easy fastly and reliably.
What's New in ASP.NET Video Starter Kit 6.0
SDK Section
New Configuration Management
Live Demo
Live Theme Previews
We appreciate customer feedbacks to introduce and build more powerful products in future.
complete story
Both MP4 and FLV videos can be played back with a mechanism called HTTP
Pseudostreaming. This mechanism allows your viewers to seek to not-yet
downloaded parts of a video. YouTube is an example site that offers this
functionality.
Previously we implement HTTP Pseudostreaming concept based on server
side scripting. Such a script have lots of disadvantages such a script
consumes a lot of resources, has security implications and can only be
used with FLV files mostly.
Now we encourage user to implement proper HTTP Pseudostreaming through
their webserver rather than using any script. HTTP Pseudostreaming does
not work by default on any webserver. A serverside module is needed to
enable it.
The most popular module is H264 Streaming Module which allow user to
implement Http Pseudo streaming for mp4 videos through IIS web server.
How to Setup?
IIS 6 Instructions
IIS 7 Instructions
Once module is enabled, it will stream mp4 videos properly through JW
Player as already implemented in
ASP.NET Video Starter Kit.
complete story