statistics about received H264 NAL units

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Feb 5 07:16:49 PST 2013


On Tue, 2013-02-05 at 08:38 +0000, Ottavio Campana wrote:

Hi,

> I need to create a program that allows me to extract a statistic about
> the packets of an H.264 received video. Particularly,  I would like to
> count the total NAL units received and the number of the units that
> were corrupted and that were therefore not decoded.
> 
> I'd like to know if it possibile to do it with gstreamer. I don't need
> to play the video, I just need a simple output that for each NAL unit
> signals whether it was correctly decoded or not, so that I could
> execute the program with a pipe from another program and evaluate all
> the statistics that I need.
> 
> Do you think it is possibile to do it? Can you please help me make it?

I think you would want/need decoder support for what you want to do. You
could probably detect whole frames that don't get decoded at all, but
not if individual NALs or slices weren't decoded correctly and you still
get a frame with some artefacts.

Cheers 
 -Tim




More information about the gstreamer-devel mailing list