Defiant
Posts: 176
Joined: Tue Oct 30, 2012 6:17 pm
Location: Hamburg, Germany

Re: Gstreamer 1.0 for raspbian

Wed Jun 26, 2013 1:38 am

aah finally.

Can you include the gstreamer-openmax package in jessie?

cmarty
Posts: 38
Joined: Thu Jul 19, 2012 7:23 am
Location: Czech Republic

Re: Gstreamer 1.0 for raspbian

Wed Jun 26, 2013 4:50 am

Defiant wrote:hmm I still can not reproduce it.

Please make a bugreport.
The question is if it is problem with gstreamer (gst-plugins-bad, gts-omx) or raspi firmware. Whom to I need to report this ?

Defiant
Posts: 176
Joined: Tue Oct 30, 2012 6:17 pm
Location: Hamburg, Germany

Re: Gstreamer 1.0 for raspbian

Wed Jun 26, 2013 6:44 am

Maybe you could try http://www.raspberrypi.org/phpBB3/viewtopic.php?t=15463 and check you have the same problem with it.

In in doubt I would report to the higher level first, which is gst-omx.

MatthiasBock
Posts: 6
Joined: Tue Jun 04, 2013 10:59 am
Location: Berlin, Germany

Re: Gstreamer 1.0 for raspbian

Wed Jun 26, 2013 9:49 am

gst-omx for gstreamer-1.0 is not included in the Raspbian repository.

I compiled gst-omx-1.0.0 with gstreamer-1.0.7, but it won't run:

Code: Select all

$ gst-launch-1.0 udpsrc port=9078 ! 'application/x-rtp,payload=96,encoding-name=H264' ! rtph264depay ! h264parse ! omxh264dec ! eglglessink
ERROR: from element /GstPipeline:pipeline0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0: Internal data stream error.
The trunk version of gst-omx from the freedesktop.org git repository master branch won't even compile:

Code: Select all

Making all in omx
make[2]: Entering directory `/usr/src/gstreamer-1.0.7/gst-omx/omx'
  CC     libgstomx_la-gstomx.lo
  CC     libgstomx_la-gstomxvideodec.lo
In file included from gstomxvideodec.c:42:0:
/usr/local/include/gstreamer-1.0/gst/egl/egl.h:43:1: error: unknown type name 'GstVideoGLTextureType'
/usr/local/include/gstreamer-1.0/gst/egl/egl.h:44:1: error: unknown type name 'GstVideoGLTextureOrientation'
/usr/local/include/gstreamer-1.0/gst/egl/egl.h:46:5: error: unknown type name 'GstVideoGLTextureOrientation'
/usr/local/include/gstreamer-1.0/gst/egl/egl.h:51:30: error: unknown type name 'GstVideoGLTextureType'
/usr/local/include/gstreamer-1.0/gst/egl/egl.h:54:49: error: unknown type name 'GstVideoGLTextureType'
/usr/local/include/gstreamer-1.0/gst/egl/egl.h:59:35: error: unknown type name 'GstContext'
/usr/local/include/gstreamer-1.0/gst/egl/egl.h:61:39: error: unknown type name 'GstContext'
Any suggestions/ideas what went wrong ?

see also https://github.com/matthiasbock/gstreamer/issues/8

Defiant
Posts: 176
Joined: Tue Oct 30, 2012 6:17 pm
Location: Hamburg, Germany

Re: Gstreamer 1.0 for raspbian

Wed Jun 26, 2013 10:34 am

To compile the latest gst-omx from git you also need a newer gstreamer 1.0 from git.

MatthiasBock
Posts: 6
Joined: Tue Jun 04, 2013 10:59 am
Location: Berlin, Germany

Re: Gstreamer 1.0 for raspbian

Wed Jun 26, 2013 1:02 pm

I tried that too, but gst-omx doesn't seem to work with the git version either.
So neither the current git version nor the gstreamer-1.0 currently available in Raspbian Jessie (1.0.7) support OpenMAX.

Defiant, do you still have a version 1.0.6 package in your repository ?
Your package worked, also with gst-omx.

Defiant
Posts: 176
Joined: Tue Oct 30, 2012 6:17 pm
Location: Hamburg, Germany

Re: Gstreamer 1.0 for raspbian

Wed Jun 26, 2013 1:12 pm

gst-omx 1.0 should compile.

gst packages 1.0.5, 1.0.6 and 1.0.7 are in http://vontaene.de/raspbian-updates/dists/main/

Defiant
Posts: 176
Joined: Tue Oct 30, 2012 6:17 pm
Location: Hamburg, Germany

Re: Gstreamer 1.0 for raspbian

Tue Jul 16, 2013 7:34 pm

Updated to GStreamer 1.0.8

Giuliano69
Posts: 9
Joined: Fri Jul 19, 2013 9:10 am

Re: Gstreamer 1.0 for raspbian

Fri Jul 19, 2013 9:39 am

@defiant
Could you please tell me if with gstreamer 1.0, firefox/chrome become capable of displaying a h264/mpg2 video streaming with hw decoding ?


I don’t understand if the installation of gstreamer 1.0 also provide plugins for browsers ..

thanks for your kind reply.

10robinho
Posts: 44
Joined: Thu Feb 28, 2013 7:42 pm

Re: Gstreamer 1.0 for raspbian

Fri Jul 19, 2013 11:07 am

Giuliano69 wrote:@defiant
Could you please tell me if with gstreamer 1.0, firefox/chrome become capable of displaying a h264/mpg2 video streaming with hw decoding ?

I don’t understand if the installation of gstreamer 1.0 also provide plugins for browsers ..

thanks for your kind reply.
I think that you won't be able to achieve this, as those plugins work well only in EGL environment.

Giuliano69
Posts: 9
Joined: Fri Jul 19, 2013 9:10 am

Re: Gstreamer 1.0 for raspbian

Fri Jul 19, 2013 12:37 pm

I do not know at which level interact the gstreamer with the window system, but from from http://www.khronos.org/egl/ seems that EGL is laying OVER the window system, that is it should be possible to instance a view-port, and draw the content with a call to gstreamer. The real matter is if such a plug-in for the browsers exist...

a different approach:
considering that the browser could have a content referred as rtsp://, should be possible to set as the application to be called for such protocol/content a gstreamer script/program, that will be embedded in the browser content window ?

jvcleave
Posts: 33
Joined: Thu May 24, 2012 10:27 pm

Re: Gstreamer 1.0 for raspbian

Thu Jul 25, 2013 6:34 pm

Defiant wrote:Updated to GStreamer 1.0.8
Any chance of providing gstreamer1.0-libav?

Defiant
Posts: 176
Joined: Tue Oct 30, 2012 6:17 pm
Location: Hamburg, Germany

Re: Gstreamer 1.0 for raspbian

Sat Jul 27, 2013 2:12 pm

I don't have any plans to add libav. Can't you get it from raspbian jessie?

jvcleave
Posts: 33
Joined: Thu May 24, 2012 10:27 pm

Re: Gstreamer 1.0 for raspbian

Sat Jul 27, 2013 8:27 pm

Defiant wrote:I don't have any plans to add libav. Can't you get it from raspbian jessie?
Yeah - no problem - turns out I don't believe I need it anyway

Defiant
Posts: 176
Joined: Tue Oct 30, 2012 6:17 pm
Location: Hamburg, Germany

Re: Gstreamer 1.0 for raspbian

Fri Aug 02, 2013 10:30 am

gstreamer1.0-omx updated to commit 09f5eb9beba9657e1b6ca15b09d848488e58350d

sofakng
Posts: 4
Joined: Fri Oct 19, 2012 1:47 pm

Re: Gstreamer 1.0 for raspbian

Wed Aug 14, 2013 12:35 pm

Any plans to update to gstreamer 1.0.9? (bug fix release)

Defiant
Posts: 176
Joined: Tue Oct 30, 2012 6:17 pm
Location: Hamburg, Germany

Re: Gstreamer 1.0 for raspbian

Wed Aug 14, 2013 3:50 pm


Defiant
Posts: 176
Joined: Tue Oct 30, 2012 6:17 pm
Location: Hamburg, Germany

Re: Gstreamer 1.0 for raspbian

Sun Aug 18, 2013 6:38 am

Updated to GStreamer 1.0.9

giorgino
Posts: 1
Joined: Mon Sep 30, 2013 10:29 am

Re: Gstreamer 1.0 for raspbian

Mon Sep 30, 2013 3:25 pm

I need to ask you some information. I would like to compile into raspberry following libraries

libgstreamer1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly

Could someone tell me the exact procedure to install them? Which version is now available for raspberry 1.0.9?

Thank you but following all the post I have not recovered exact information

G.

Defiant
Posts: 176
Joined: Tue Oct 30, 2012 6:17 pm
Location: Hamburg, Germany

Re: Gstreamer 1.0 for raspbian

Mon Sep 30, 2013 6:15 pm

Raspbian is based on Debian. Building and Installing Debian packages is well documented.
See http://www.debian.org/doc/manuals/maint-guide/

Yes, last Version I have compiled is 1.0.9.

If you just want to install them, see http://wiki.matthiasbock.net/index.php/ ... spberry_Pi

Defiant
Posts: 176
Joined: Tue Oct 30, 2012 6:17 pm
Location: Hamburg, Germany

Re: Gstreamer 1.0 for raspbian

Sun Oct 06, 2013 5:38 pm

Updated to GStreamer 1.0.10

jgon
Posts: 2
Joined: Sun Nov 17, 2013 2:20 am

Re: Gstreamer 1.0 for raspbian

Sun Nov 17, 2013 2:34 am

Hi!

I have problems with gs-omx and the last version available in vontaene.de repo :(

Code: Select all

ii  gstreamer1.0-omx                      1.0.0+20130802git09f5eb9-1
When i try to record in a file the streaming from an ip cam:

Code: Select all

gst-launch-1.0 --gst-debug=omx:5 souphttpsrc location="http://192.168.2.7/videostream.asf?user=admin&password=1234" ! decodebin ! videoconvert ! omxh264enc ! "video/x-h264,profile=high" ! h264parse ! matroskamux ! filesink location=output.avi
This is the result:

Code: Select all

0:00:00.434299106 25211  0x17c7f60 DEBUG                    omx gstomx.c:2758:plugin_init: Registering element 'omxmpeg2videodec'
0:00:00.446642797 25211  0x17c7f60 DEBUG                    omx gstomx.c:2758:plugin_init: Registering element 'omxmpeg4videodec'
0:00:00.448056761 25211  0x17c7f60 DEBUG                    omx gstomx.c:2758:plugin_init: Registering element 'omxh263dec'
0:00:00.449333729 25211  0x17c7f60 DEBUG                    omx gstomx.c:2758:plugin_init: Registering element 'omxh264dec'
0:00:00.450688695 25211  0x17c7f60 DEBUG                    omx gstomx.c:2758:plugin_init: Registering element 'omxtheoradec'
0:00:00.451978663 25211  0x17c7f60 DEBUG                    omx gstomx.c:2758:plugin_init: Registering element 'omxvp8dec'
0:00:00.456556548 25211  0x17c7f60 DEBUG                    omx gstomx.c:2758:plugin_init: Registering element 'omxmjpegdec'
0:00:00.457977512 25211  0x17c7f60 DEBUG                    omx gstomx.c:2758:plugin_init: Registering element 'omxvc1dec'
0:00:00.459243480 25211  0x17c7f60 DEBUG                    omx gstomx.c:2758:plugin_init: Registering element 'omxh264enc'
0:00:00.461216431 25211  0x17c7f60 DEBUG                    omx gstomx.c:2635:_class_init: No sink template caps specified for element 'omxh264enc', using default 'video/x-raw, width = (int) [ 1, max ], height = (int) [ 1, max ], framerate = (fraction) [ 0, max ]'
0:00:00.466982286 25211  0x17c7f60 DEBUG                    omx gstomx.c:2659:_class_init: No src template caps specified for element 'omxh264enc', using default 'video/x-h264, width=(int) [ 16, 4096 ], height=(int) [ 16, 4096 ]'
0:00:00.468428250 25211  0x17c7f60 DEBUG                    omx gstomx.c:2684:_class_init: Using hack: no-component-role
Setting pipeline to PAUSED ...
0:00:00.559881956 25211  0x17c7f60 DEBUG                    omx gstomx.c:129:gst_omx_core_acquire: Successfully loaded core '/opt/vc/lib/libopenmaxil.so'
0:00:00.561691911 25211  0x17c7f60 ERROR                    omx gstomx.c:139:gst_omx_core_acquire: Failed to initialize core '/opt/vc/lib/libopenmaxil.so': 0x80001009
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0: Could not initialize supporting library.
Additional debug info:
gstvideoencoder.c(1418): gst_video_encoder_change_state (): /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0:
Failed to open encoder
Setting pipeline to NULL ...
Freeing pipeline ...
Thanks!

Defiant
Posts: 176
Joined: Tue Oct 30, 2012 6:17 pm
Location: Hamburg, Germany

Re: Gstreamer 1.0 for raspbian

Sun Nov 17, 2013 7:22 pm

Can you try the pipeline with videotestsrc?
e.g.

Code: Select all

gst-launch-1.0 videotestsrc ! omxh264enc ! "video/x-h264,profile=high" ! h264parse ! matroskamux ! filesink location=output.avi

jgon
Posts: 2
Joined: Sun Nov 17, 2013 2:20 am

Re: Gstreamer 1.0 for raspbian

Sun Nov 17, 2013 8:01 pm

Thanks Defiant.

I have updated all the system (apt-get upgrade) and the raspberry firmware so now i have a most recently version of /opt/vc/lib/libopenmaxil.so and I can start get-launch without errors but I can't get any output :? I think that the problem is now in the type of streaming that the ipcam uses.

With this example with videotestsrc I get a correct output so I think gstreamer now works.

With videoteststrc this is the output:

Code: Select all

# gst-launch-1.0 videotestsrc ! omxh264enc ! "video/x-h264,profile=high" ! h264parse ! matroskamux ! filesink location=output.avi
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 241316733750 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
With my network cam source:

Code: Select all

# gst-launch-1.0 souphttpsrc location="http://192.168.2.5/videostream.asf?user=admin&password=1234" ! decodebin ! videoconvert ! omxh264enc ! "video/x-h264,profile=high" ! h264parse ! matroskamux ! filesink location=output.avi
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
And output.avi with size 0 :(

Thanks!

Anita
Posts: 13
Joined: Thu Nov 21, 2013 10:25 am

Re: Gstreamer 1.0 for raspbian

Thu Dec 12, 2013 8:12 am

Hi,

After executing the below commands,

pi@raspberrypi ~ $ gst-launch-1.0 videotestsrc ! omxh264enc ! "video/x-h264,profile=high" ! h264parse ! matroskamux ! filesink location=output.avi

works fine with videotestsrc. when i try with different video clips, outpit.avi size is zero.

pi@raspberrypi ~ $ gst-launch-1.0 -v filesrc location=Raspberry-Pi-logo.jpg ! decodebin ! imagefreeze ! autovideosink

i could only see little part of leaf clear from Raspberry-Pi-logo.jpg image and remaining is not clear.
I am checking with GStreamer1.0 pre-built binaries.

help me out...

Return to “Raspbian”

Who is online

Users browsing this forum: No registered users and 17 guests