v4l2h264dec Raspberry PI

Nicolas Dufresne nicolas at ndufresne.ca
Thu May 16 22:39:19 UTC 2019


Le jeu. 16 mai 2019 14 h 55, horai <ivo.hora at seznam.cz> a écrit :

> Ok, if I understand correctly. You want me to run this pipeline in GDB, ok?
> gst-launch-1.0 -e filesrc location=/home/pi/jellyfish-3-mbps-hd-h264.mkv !
> matroskademux ! h264parse ! v4l2h264dec capture-io-mode=4 ! v4l2convert
> output-io-mode=5 capture-io-mode=4 ! video/x-raw,format=BGRA !
> clutterautovideosink
>
> I ran:
> gdb gst-launch-1.0
> and then:
> run -e filesrc location=/home/pi/jellyfish-3-mbps-hd-h264.mkv !
> matroskademux ! h264parse ! v4l2h264dec capture-io-mode=4 ! v4l2convert
> output-io-mode=5 capture-io-mode=4 ! video/x-raw,format=BGRA !
> clutterautovideosink
> From other command line I sent the STOP signal:
> kill --signal STOP 15873
> after the first warrning appeared I ran:
> bt
> result this:
> #0  0x76bf0120 in poll () at ../sysdeps/unix/syscall-template.S:84
> #1  0x754000f4 in ?? () from /usr/lib/arm-linux-gnueabihf/libxcb.so.1
>
> I don't think this is what you want, sorry to ask like an idiot, but all
> this work is just my hobby and I am not a professional, could you point me
> how to get exactly what you want?
>

In your log I saw a crash (sigsev), I was curious to find why, it should
have stopped by itself on that.


> Anyway, what dma-buf concerns I build Gstreamer 1.16 myself.
> I am missing this during the base plugins build
> :checking for mmap... yes
> checking linux/dma-buf.h usability... no
> checking linux/dma-buf.h presence... no
> checking for linux/dma-buf.h... no
>
> I have a testing kernel 4.19.* but I cannot obtain headers easily (this
> kernel is not in repository therefore no headers present). I downloaded the
> entire appropriate kernel source code but command:
> make headers_install
> does not install headers to proper directory, moreover exporting header
> path
> where dma-buf.h is (for ./autogen.sh:
> export
>
> CPPFLAGS="-I/home/pi/linux-2f5a6b906ad86ef6570863a75b204551c2c62fec/include/linux
>
> -I/home/pi/linux-2f5a6b906ad86ef6570863a75b204551c2c62fec/include/uapi/linux"
> Does not help either
>

The .h itself have no effect, you have to rebuild gst-plugins-good. That
being said, I'm not sure your strictly need it.


Another option, if you don't mind runners as root, is to use kmssink on top
of X. I cannot tell though if it will just work or if you need plane
parameters. It's quite low level.


>
>
>
>
>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190516/40a3b634/attachment.html>


More information about the gstreamer-devel mailing list