Welcome to LEAD Support Forum Login | Register | Faq  

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

Re: filter connection problem with ffdshow
Started by GrUResS at 05-30-2008 3:39. Topic has 4 replies.

Print Search « Previous Thread Next Thread »
  05-30-2008, 3:39
GrUResS is not online. Last active: 4/30/2008 1:19:14 PM GrUResS

Top 50 Posts
Joined on 12-28-2005
Posts 30
filter connection problem with ffdshow
Reply Quote
Dear support!

I am using Leadtools MM 15 and trying to capture live stream to dvd-compatible mpeg2 format. I have attached a screenshot of the filtergraph that is working with LEAD Mpeg2 Encoder. I build the graph in my app and it works fine. Now i am trying to replace the LEAD Mpeg2 Encoder with the encoder by ffdshow, but this constellation doesnt even allow to build the filtergraph. A COMException is thrown saying like "LTMM error: couldnt find any proper in-between filters to connect the filters".

Original version of the error:

System.Runtime.InteropServices.COMException was unhandled
  Message="LTMM Error: Es wurden keine Zwischenfilter für die Herstellung der Verbindung gefunden."
  Source="LTMM.ltmmCapture.151"
  ErrorCode=-2147220969
  StackTrace:
       at LTMMLib.ltmmCaptureClass.StartCapture(Int32 Mode)

Source code of how I start the capture process:

captureControl.TargetFormat = (int)LTMMLib.ltmmCapture_TargetFormat.ltmmCapture_TargetFormat_MPEG2_PROGRAM;
captureControl.StartCapture((int)LTMMLib.ltmmCapture_Mode.ltmmCapture_Mode_Video);

When I set the target-format-property to TargetFormat_AVI the filtergraph works with "ffdshow mpeg2 encoder" and successfully creates a video file, but this video is not recognised by media players due to wrong headers because of the wrong target format.

Hope you can help!
Thanks in advance
Dominik


   Report 
  05-30-2008, 3:43
GrUResS is not online. Last active: 4/30/2008 1:19:14 PM GrUResS

Top 50 Posts
Joined on 12-28-2005
Posts 30
Re: filter connection problem with ffdshow
Reply Quote
mhm...attaching doesnt work and editing posts seems to be "disabled"...i ll send the filtergraph screenies to support@leadtools.com with a link to this post

Best regards
Dominik

   Report 
  06-02-2008, 3:30
Adam Boulad is not online. Last active: 7/23/2008 4:14:05 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 403
Re: filter connection problem with ffdshow
Reply Quote
Our multiplexer accepts the following video input subtypes:
MEDIATYPE_MPEG1Video
MEDIASUBTYPE_MPEG1Payload
MEDIASUBTYPE_MPEG2_VIDEO
MEDIASUBTYPE_mp4v
MEDIASUBTYPE_MP4V
MEDIASUBTYPE_h264
MEDIASUBTYPE_L264
MEDIASUBTYPE_avc1

If the ffdshow codec produces valid compressed video streams of any of these formats, it should connect to our multiplexer. If you try to connect the codec directly to our multiplexer in GraphEdit, does it work?

To attach files, put them in a ZIP or RAR file, which seems you already did. However, don't use the Preview feature because it loses the attachment.


Adam Boulad
LEADTOOLS Technical Support

   Report 
  06-06-2008, 7:12
GrUResS is not online. Last active: 4/30/2008 1:19:14 PM GrUResS

Top 50 Posts
Joined on 12-28-2005
Posts 30
Re: filter connection problem with ffdshow
Reply Quote
Thanks for your answer.

Direct connection between the ffdshow codec and the LEAD multiplexer in GraphEdit doesn´t work. Same error is shown as described above...

   Report 
  06-08-2008, 10:07
Adam Boulad is not online. Last active: 7/23/2008 4:14:05 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 403
Re: filter connection problem with ffdshow
Reply Quote

I have sent you an email regarding this issue from support@leadtools.com.


Adam Boulad
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Enduser » Capture & Conve... » Re: filter connection problem with ffdshow

Powered by Community Server, by Telligent Systems