Skip to content
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

Open
sofian opened this issue Oct 17, 2014 · 4 comments
Open

Shmsrc doesn't work #29

sofian opened this issue Oct 17, 2014 · 4 comments
Labels

Comments

@sofian
Copy link
Member

sofian commented Oct 17, 2014

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:

@sofian sofian added the bug label Oct 17, 2014
@aalex aalex changed the title Shmsrc error: problem with gdp_depay and caps Shmsrc doesn't work Oct 18, 2014
vliaskov added a commit that referenced this issue Oct 18, 2014
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.
@vliaskov
Copy link
Contributor

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:
835165c

it still needs some work though

@aalex
Copy link
Member

aalex commented Oct 19, 2014

Oh yes! I forgot about this.
Le 2014-10-18 18:02, "vliaskov" [email protected] a écrit :

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:
835165c
835165c

it still needs some work though


Reply to this email directly or view it on GitHub
#29 (comment).

@aalex
Copy link
Member

aalex commented Jan 21, 2015

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

@aalex aalex self-assigned this Jan 21, 2015
@aalex aalex added this to the 0.3 milestone Jan 21, 2015
@sofian sofian removed this from the 0.3 milestone Feb 3, 2016
@sofian
Copy link
Member Author

sofian commented Feb 3, 2016

Won't fix for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants