Welcome to LEAD Support Forum Login | Register | Faq  

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

Re: H264 Decoder
Started by GauravPatel at 07-03-2009 6:46. Topic has 5 replies.

Print Search « Previous Thread Next Thread »
  07-03-2009, 6:46
GauravPatel is not online. Last active: 7/7/2009 5:08:22 PM GauravPatel

Not Ranked
Joined on 07-03-2009
Posts 3
H264 Decoder
Reply Quote
I am trying to develop application using Lead SDK. In my application I am getting encoded H264 frame from some other source in buffer in my application. I want to decode these frames and dump decoded frames in YUV format in to the file. Please suggest me how I can do. Please note that, I don't want to display the decoder data. In my application I am only interested in decoder funactionalities only.
   Report 
  07-03-2009, 11:15
GregR is not online. Last active: 7/22/2010 10:21:50 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 2,302
Re: H264 Decoder
Reply Quote
There's several ways to do this, but the easiest would be to use out ltmmConvertCtrl and the Still Image Writer format.  This will save each frame as a still image and YUV JPEGs are one of the many options.  You can test this functionality in the Convert demo that ships with the SDK.  Select Still Image from the formats and then click the Properties button to configure it.

Greg Ross
LEADTOOLS Technical Support
   Report 
  07-04-2009, 9:03
GauravPatel is not online. Last active: 7/7/2009 5:08:22 PM GauravPatel

Not Ranked
Joined on 07-03-2009
Posts 3
Re: H264 Decoder
Reply Quote
Thanks for prompt reply. I think i have made some progress. But still i am not able to meet 100% of my requirement. I am able to decode H264 frames stored in file and stored decoded frames into the another file.

But in my requirement I want to supply H264 encoded frame from my application buffer. I don't want decoder API or filter to read encoded frame from file. Also I want decoded YUV or RGB frame into the buffer.

Can you please suggest me how I can achieve this? It will be great, if you can provide me some sample which show how to do this.
   Report 
  07-07-2009, 11:12
GregR is not online. Last active: 7/22/2010 10:21:50 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 2,302
Re: H264 Decoder
Reply Quote
I'm not completely sure I understand your goal.  Are you not wanting to use DirectShow?

Where are you getting the h264 data that you want to decode?

Greg Ross
LEADTOOLS Technical Support
   Report 
  07-07-2009, 12:13
GauravPatel is not online. Last active: 7/7/2009 5:08:22 PM GauravPatel

Not Ranked
Joined on 07-03-2009
Posts 3
Re: H264 Decoder
Reply Quote
We just want H264 decoder, no matter whether it is directshow filter or ordinarly library.

We are getting H264 data from some video server and we have our own library which receives H264 video stream. We are getting RTP packets from some server. Our RTP library provides a complete H264 encoded frame. Currently we are using some FFMPEG H264 decoder to decode this H264 frame. We just want to replace FFMPEG with LeadTools H264 decoder. We don't want to do much modification in application. We want to use just decoder functionality where we will supply encoded H264 frame in buffer and want to receive YUV or RGB buffer after decoding.
   Report 
  07-07-2009, 16:01
GregR is not online. Last active: 7/22/2010 10:21:50 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 2,302
Re: H264 Decoder
Reply Quote
Our h264 decoder will only work in a DirectShow environment.  It is possible to use it in low level DirectShow without the use of our tools and you can provide the input pin and get the data from the output pin, but we don't provide support for low level DirectShow since our SDK is designed to eliminate that need.

Since you want to provide the h264 data, you can use our ltmmConvertCtrl and use the SourceObject rather than the SourceFile property.  Similarly, to get the uncompressed video data, you would use the TargetObject property.

Greg Ross
LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Enduser » Multimedia Code... » Re: H264 Decoder

Powered by Community Server, by Telligent Systems