-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shmsrc doesn't work #29
Comments
Shmsrc seems to work with a gstreamer 1.4 build, but not with distro gstreamer (segfault due to missing fix https://bugzilla.gnome.org/show_bug.cgi?id=731093) Reader / writer of live source need to be using same gstreamer build, otherwise some pipeline problems appear in deserializing and caps detection. Playback of the first shape mapped with the live source doesn't seem to work (?), so this bug stiil needs investigation.
Try with current develop and a recent build of gstreamer, gst-plugins-{base, good, bad), gst-libav (e.g. 1.4 version from all repos). I fixed some issues in following commit: it still needs some work though |
Oh yes! I forgot about this.
|
Too bad the latest tags are no longer available as Ubuntu packages from https://launchpad.net/~gstreamer-developers/+archive/ubuntu/ppa?field.series_filter=trusty |
Won't fix for now. |
I tried running the new shmsrc bin from
https://github.com/vliaskov/libremapping (branch: feature/shmsrcbin-rebase-oct2014)
In order to perform the test I first run:
$ gst-launch-1.0 uridecodebin uri=file:///home/tats/Documents/workspace/mapmap/DESTRUCT.mov ! queue ! videoconvert ! video/x-raw, format="RGBA" ! gdppay ! shmsink socket-path=/tmp/sock shm-size=100000000
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Then I run mapmap and try to add a new media file at /tmp/sock:
$ ./mapmap
Using GStreamer version 1 . 2 . 4
Video support: yes
Listening osc.udp://localhost:915912800
Could not add OSC handler Opening movie: "/tmp/sock" .
URI for uridecodebin: /tmp/sock
Pipeline started.
Pipeline state for movie changed from NULL to READY:
Pipeline state for movie changed from READY to PAUSED:
Error received from element deserializer: Could not decode stream.
Debugging information: gstgdpdepay.c(436): gst_gdp_depay_chain (): /GstPipeline:video-source-pipeline/GstGDPDepay:deserializer:
could not create caps from GDP packet
Pipeline state for movie changed from NULL to READY:
Pipeline state for movie changed from READY to PAUSED:
Error received from element deserializer: Could not decode stream.
Debugging information: gstgdpdepay.c(417): gst_gdp_depay_chain (): /GstPipeline:video-source-pipeline/GstGDPDepay:deserializer:
Received a buffer without first receiving caps
Pipeline state for movie changed from NULL to READY:
The text was updated successfully, but these errors were encountered: