Is 'rawvideoparse' element reading the wrong amount of bytes?

Antonio Ospite ao2 at
Mon Dec 30 09:02:16 UTC 2019

On Mon, 30 Dec 2019 09:24:55 +0100
Aschwin Brandt <aschwin.brandt at> wrote:

> Hello all,
> This is my first post, so please inform me if I break any rules.
> I'm reading a byte-stream YUV420 at 972x720 pixels from a file with
> Gstreamer using the following command:
> gst-launch-1.0 filesrc location=testfile blocksize=1049760 ! rawvideoparse
> width=972 height=720  framerate=1/1 ! xvimagesink

When using rawvideoparse you can pass the format explicitly and let the
element figure out frame boundaries by itself, and if you pass the
format then specifying blocksize upstream becomes unnecessary.

The element documentation can be read with:
gst-inspect-1.0 rawvideoparse


Antonio Ospite

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

More information about the gstreamer-devel mailing list