Welcome to LEAD Support Forum Login | Register | Faq  

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

Re: video trimming fails on .asf files
Started by photo boy at 11-17-2008 6:38. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  11-17-2008, 6:38
photo boy is not online. Last active: 11/12/2008 4:48:44 PM photo boy

Not Ranked
Joined on 11-12-2008
Posts 6
video trimming fails on .asf files
Reply Quote
Hi,
   I'm trying to trim a video file (.asf) by using ltmmConvert in C++ with the put_SelectionStart and put_SelectionEnd functions.  put_SelectionEnd gives a direct show HRESULT "E_NOTIMPL" and the video is allowed to run to the end of the clip.  Is there some problem with the MPEG4 parser?

Thanks

   Report 
  11-17-2008, 10:10
Qasem Lubani is not online. Last active: 12/21/2008 9:12:09 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,187
Re: video trimming fails on .asf files
Reply Quote
Usually, seeking and selection issues are related to splitters and demultiplexers, not to codecs. ASF format (which is similar to WMV) is a Microsoft Windows Media format and uses Microsoft parsers. If these do not support selection end, you can try a different approach to split the file.

One way is to do this is to split the file into bitmaps and then join them, this will avoid the selection end problem. For information on how to split the file into bitmaps, you can see the help topic "Splitting an AVI File into Multiple Bitmaps Using ltmmSampleTarget Example" in the Multimeda help file. And you can see the GenAVI demo[LEADTOOLS Multimedia 15\Examples\Ltmm\Cpp\GenAVI] to see how to join them in s single video file.
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
Post
LEAD Support Fo... » Developer » Multimedia » Re: video trimming fails on .asf files

Powered by Community Server, by Telligent Systems