How to Decode one frame of video, from a .264 file?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to Decode one frame of video, from a .264 file?

vivekr
Hi,

I am using appsrc to feed one frame of video which is being received through TCP socket,
If the source would have been reading the file, how does the destination with the decoder for H.264 be aware that the incoming data is a NAL unit (PPS/ SPS information) or a video frames data,
or do we need to take care of this before populating the appsrc buffer.
Also, I am unable to get the instance of the renderer (internal renderer ) that GStreamer creates, when we
use a dshowimagesink; as the video sink element.

Kindly throw some light on this.

Regards,

Vivek Ramakrishnan