I guess the problem is because I play my video with JavaFX Media component wich play video through framebuffer.
I'm using the JavaFX media player component but it's very slow.I want to use the gst1-java to play video.Yes I need to have the video in a JavaFX UI because I want to play video and show Image next to it.Or maybe I'll use a separate window on top of the JavaFX UI ?How can I add gst1 to play videos ?
The native component of JavaFX work but I think it don't use the omx library to read video with hardware acceleration GPU (on Raspberry Pi). Omxplayer do the job pretty great and I want the same in JavaFX :)You think gst binding will be worst than JavaFX media component ?
gst-launch-1.0 filesrc location="location of h264 video/file.avi" ! avidemux ! h264parse ! omxh264dec ! videoconvert ! ximagesink
It return :WARNING : no omxh264dec element (translated from french)
when I grep omx from gst-inspect-1.0 it return only :
libav: avenc_h264_omx: libav OpenMAX IL H.264 video encoder encoder
When I try the command :It return :gst-launch-1.0 filesrc location="location of h264 video/file.avi" ! avidemux ! h264parse ! omxh264dec ! videoconvert ! ximagesinkWARNING : no omxh264dec element (translated from french)
--
You received this message because you are subscribed to the Google Groups "gstreamer-java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gstreamer-java+unsubscribe@googlegroups.com.
To post to this group, send email to gstreamer-java@googlegroups.com.
Visit this group at https://groups.google.com/group/gstreamer-java.
For more options, visit https://groups.google.com/d/optout.
Just did a quick search because I was curious. It looks like it's an RPi specific plugin set. It's discussed here: https://gstreamer.freedesktop.org/releases/gst-omx/1.0.0.html
On Tue, May 15, 2018 at 6:08 AM, Neil C Smith <ne...@neilcsmith.net> wrote:
Hi,On Tue, 15 May 2018 at 10:15 <julien.s...@gmail.com> wrote:When I try the command :It return :gst-launch-1.0 filesrc location="location of h264 video/file.avi" ! avidemux ! h264parse ! omxh264dec ! videoconvert ! ximagesinkWARNING : no omxh264dec element (translated from french)OK, you're going to have to do some searching then. It may be that this element isn't installed, or that the functionality is now built in to something else.I would also recommend asking on the upstream GStreamer devel mailing list - https://gstreamer.freedesktop.org/lists/Best wishes,Neil
----Neil C SmithArtist & TechnologistPraxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org
You received this message because you are subscribed to the Google Groups "gstreamer-java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gstreamer-jav...@googlegroups.com.
To post to this group, send email to gstream...@googlegroups.com.
Yes it's RPI specific because of the OpenMax ILI'll check that, I git clone and compile it and will try to use the same gst-launch-1.0 command like aboveThank you Jim :)
sudo apt-get install epiphany-browser
gst-launch-1.0 filesrc num-buffers=100000 location=/root/file.mp4 ! qtdemux ! h264parse ! omxh264dec ! queue max-size-buffers=4 ! autovideosink -v