Re: Gstreamer 1.0 for raspbian
aah finally.
Can you include the gstreamer-openmax package in jessie?
Can you include the gstreamer-openmax package in jessie?
Re: Gstreamer 1.0 for raspbian
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 wrote:hmm I still can not reproduce it.
Please make a bugreport.
Re: Gstreamer 1.0 for raspbian
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.
In in doubt I would report to the higher level first, which is gst-omx.
-
- Posts: 6
- Joined: Tue Jun 04, 2013 10:59 am
- Location: Berlin, Germany
Re: Gstreamer 1.0 for raspbian
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:
The trunk version of gst-omx from the freedesktop.org git repository master branch won't even compile:
Any suggestions/ideas what went wrong ?
see also https://github.com/matthiasbock/gstreamer/issues/8
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.
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'
see also https://github.com/matthiasbock/gstreamer/issues/8
Re: Gstreamer 1.0 for raspbian
To compile the latest gst-omx from git you also need a newer gstreamer 1.0 from git.
-
- Posts: 6
- Joined: Tue Jun 04, 2013 10:59 am
- Location: Berlin, Germany
Re: Gstreamer 1.0 for raspbian
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.
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.
Re: Gstreamer 1.0 for raspbian
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/
gst packages 1.0.5, 1.0.6 and 1.0.7 are in http://vontaene.de/raspbian-updates/dists/main/
Re: Gstreamer 1.0 for raspbian
Updated to GStreamer 1.0.8
-
- Posts: 9
- Joined: Fri Jul 19, 2013 9:10 am
Re: Gstreamer 1.0 for raspbian
@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.
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.
Re: Gstreamer 1.0 for raspbian
I think that you won't be able to achieve this, as those plugins work well only in EGL environment.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.
-
- Posts: 9
- Joined: Fri Jul 19, 2013 9:10 am
Re: Gstreamer 1.0 for raspbian
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 ?
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 ?
Re: Gstreamer 1.0 for raspbian
Any chance of providing gstreamer1.0-libav?Defiant wrote:Updated to GStreamer 1.0.8
Re: Gstreamer 1.0 for raspbian
I don't have any plans to add libav. Can't you get it from raspbian jessie?
Re: Gstreamer 1.0 for raspbian
Yeah - no problem - turns out I don't believe I need it anywayDefiant wrote:I don't have any plans to add libav. Can't you get it from raspbian jessie?
Re: Gstreamer 1.0 for raspbian
gstreamer1.0-omx updated to commit 09f5eb9beba9657e1b6ca15b09d848488e58350d
Re: Gstreamer 1.0 for raspbian
Any plans to update to gstreamer 1.0.9? (bug fix release)
Re: Gstreamer 1.0 for raspbian
When Debian is updated:
http://packages.qa.debian.org/g/gstreamer1.0.html
http://packages.qa.debian.org/g/gstreamer1.0.html
Re: Gstreamer 1.0 for raspbian
Updated to GStreamer 1.0.9
Re: Gstreamer 1.0 for raspbian
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.
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.
Re: Gstreamer 1.0 for raspbian
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
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
Re: Gstreamer 1.0 for raspbian
Updated to GStreamer 1.0.10
Re: Gstreamer 1.0 for raspbian
Hi!
I have problems with gs-omx and the last version available in vontaene.de repo
When i try to record in a file the streaming from an ip cam:
This is the result:
Thanks!
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
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
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 ...
Re: Gstreamer 1.0 for raspbian
Can you try the pipeline with videotestsrc?
e.g.
e.g.
Code: Select all
gst-launch-1.0 videotestsrc ! omxh264enc ! "video/x-h264,profile=high" ! h264parse ! matroskamux ! filesink location=output.avi
Re: Gstreamer 1.0 for raspbian
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:
With my network cam source:
And output.avi with size 0 
Thanks!
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

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 ...
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 ...

Thanks!
Re: Gstreamer 1.0 for raspbian
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...
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...