video frame type identification

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

video frame type identification

rohitratri@gmail.com
Hi,

Is there a way to identify the type of video frame within an encoded packet returned by qtdemux? May be there are some caps I can check on the GstBuffer returned by qtdemux?

Note - I use appsink to pull buffers out of the pipeline and process them - need to know the type of frame for processing the encoded packet

Thanks
Rohit
Reply | Threaded
Open this post in threaded view
|

Re: video frame type identification

Sudarshan Bisht
 
I think this has been already asked by you in previous mail, and you got the answer also :)
 
 
> Hi Guys,
>
>
> Is there a way to tell if an encoded frame returned by a demuxer(say
> qtdemux) is an inter-Frame (iFrame) or not?
> Right now, I've written a routine to do this by parsing the initial
> few bits but that becomes difficult with increase in number of formats
> to support. Is there a GstBuffer property I can check to see if its an
> iFrame?
>


 Check if the GST_BUFFER_FLAG_DELTA_UNIT flag is set or not. If it's
not set... it's a keyframe.

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBufferFlag

On Wed, Dec 15, 2010 at 9:31 PM, [hidden email] <[hidden email]> wrote:

Hi,

Is there a way to identify the type of video frame within an encoded packet
returned by qtdemux? May be some caps I can check on the GstBuffer return by
qtdemux?

Note - I use appsink to pull buffers out of the pipeline and process them -
need to know the type of frame for processing the encoded packet

Thanks
Rohit
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/video-frame-type-identification-tp3089291p3089291.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



--
Regards,

Sudarshan Bisht

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: video frame type identification

rohitratri@gmail.com
In reply to this post by rohitratri@gmail.com
Yes this was an old mail. Didn't get a response so reposted :) Edward was kind enough to offer help.
Sorry for spamming :)

Thanks

On Wed, Dec 15, 2010 at 9:31 PM, [hidden email] <[hidden email]> wrote:

Hi,

Is there a way to identify the type of video frame within an encoded packet
returned by qtdemux? May be some caps I can check on the GstBuffer return by
qtdemux?

Note - I use appsink to pull buffers out of the pipeline and process them -
need to know the type of frame for processing the encoded packet

Thanks
Rohit
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/video-frame-type-identification-tp3089291p3089291.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel