GStreamer issue on TX2

Nicolas Dufresne nicolas at ndufresne.ca
Wed Dec 13 17:26:17 UTC 2017


Le mardi 12 décembre 2017 à 10:35 -0700, MonkeyWithComputer a écrit :
> Anyone know why the following command does not seem to work?
> gst-launch-1.0 udpsrc port=[port_num] ! tee name=t ! queue ! filesink
> location=/some/path/test.mpg t. ! queue ! tsparse ! tsdemux !
> h264parse !
> omxh264dec ! nveglglessink -e

That is because the queue before filesink is full, make it bigger and
it will work.

  1) udpsrc produce 1 buffer
  2) "queue ! filesink" received it and preroll
  3) "queue ! dec" will queue, but not produce anything yet
  4) "queue ! filesink"" stores data
  5) 3) happens again
  ....
  N) "queue ! filesink" the queue is full, we are blocked on pre-roll.

Considering you don't really care if you start writing to disk before
you have reached play, I'd just set async=FALSE on filesink, and safe a
some RAM.

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171213/ad3f81bd/attachment.sig>


More information about the gstreamer-devel mailing list