Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Playing Big size video files
Started by harish@axsys-healthtech.com at 07-29-2008 6:13. Topic has 3 replies.

Print Search « Previous Thread Next Thread »
  07-29-2008, 6:13
harish@axsys-healthtech.com is not online. Last active: 7/30/2008 11:26:50 AM harish@axsys-healthtech.com

Top 500 Posts
Joined on 04-27-2005
Posts 10
Playing Big size video files
Reply Quote
Hi All,

I have a very big video file. I am saving that file in Database. Now i want to play that file in client side.

Is ther any mechanism where i can fetch chunks of files and buffer them to Lead control.

Best example i can give is that of Youtube where it fetches the video file on demand.

I need ideas to implement this feature.

Thanks and Regards,
Harry

   Report 
  07-29-2008, 11:42
Qasem Lubani is not online. Last active: 11/25/2008 3:28:58 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,147
Re: Playing Big size video files
Reply Quote

Harry,

I'm afraid that we do not have an example that does this or a method that can access a file in a Database.

However, one way to do this is by storing the video file to desk in a file format that supports seeking(Such as OGG) and store the file name in a Database. Then use our ltmmConvert upon the customers request to access the file and stream the portion of it that the client wants through the ltmmConvertCtrl.SelectionStart Property and the ltmmConvertCtrl.SelectionEnd properties.


Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
  07-30-2008, 1:35
harish@axsys-healthtech.com is not online. Last active: 7/30/2008 11:26:50 AM harish@axsys-healthtech.com

Top 500 Posts
Joined on 04-27-2005
Posts 10
Re: Playing Big size video files
Reply Quote

Hi Qasem ,

Thanks for you suggestion. While searching for the approach i came accross this one also where i can divide the main vidoe files into multiple files and save them indivisually in database. That we can do easily using ltmmConvertCtrl.SelectionStart  and ltmmConvertCtrl.SelectionEnd porpoerties, but my problem is coming when i want to play this file.

Let us say I have one file of size 100KB named as MainFile.avi. I am dividing this file into four small size files of 25 KB each with diffrent names.

Now for this first time i will load first part of file in ltmmPlay control, if user reaches the end of this file again i will request DB for next part of file and so on.

But my problem is that how can i combine all these files once user reaches the end of last section.

As we are providing slider to user, after reaching end of file he can go use slider to see any part of file.

Regarding OSG, I dont have much idea.

I hope you understood what exactly I want. If you feel that OSG can solve  my problem, please advise me how I can use OSG.

 

Thanks,

Harish

 

 

 


   Report 
  07-30-2008, 10:44
Qasem Lubani is not online. Last active: 11/25/2008 3:28:58 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,147
Re: Playing Big size video files
Reply Quote

This approach might work, but it will have its own problems. One of them is the jump from one of the smaller files to the next. Our ltmmConvert control at the transmitter side (server) will have to switch between files, which will cause a discontinuity in playback, and possibly a disconnection between client and server. You could program the application to re-connect, but the delay might not be acceptable.

 

About the OGG files, this is just a file format like AVI and WMV. However, OGG has better seeking capabilities than AVI, so it might be easier to jump from one position to another in the file.
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
Post
LEAD Support Fo... » Developer » Multimedia » Re: Playing Big size video files

Powered by Community Server, by Telligent Systems