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
SRT support for gstreamer #54380
SRT support for gstreamer #54380
Conversation
For my records: With the upgrade to
now results in:
Probably not a packaging problem though. |
|
@jtojnar Reproducing the crash requires running the code from #54398; I have debugged that and filed problem and solution upstream: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/874
I too haven't figured out how to actually run this thing yet; I'll post here once I have. |
@jtojnar I realise I didn't actually address the key thing you mentioned: That you can't test it because of lack of webcam. Here is how you can test it with a fake video source,
Note that this is for the version of gstreamer 1.14 on which this PR is based. These commands will change slightly for 1.16, says upstream.
I have now successfully tested this stuff and the basic functionality works. Ready to merge from my side. |
Hmm, I cannot seem to find the decode plug-in: $ nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/31981d2cd9ae4eb3bf77e3fb904f0e8b45ea828d.tar.gz --pure -p gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-ugly --run "gst-launch-1.0 srtclientsrc uri=srt://127.0.0.1:5000 ! decodebin ! autovideosink"
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Missing element: H.264 decoder
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0: Your GStreamer installation is missing a plug-in.
Additional debug info:
../gst/playback/gstdecodebin2.c(4640): gst_decode_bin_expose (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0:
no suitable plugins found:
Missing decoder: H.264 (video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal, parsed=(boolean)true)
Execution ended after 0:00:00.154163330
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ... The server side seems to run without a hitch. |
I think that's because you'll have to run with the #54398 I mentioned, because (unrelated to SRT) nixpkgs current gstreamer modules are built without support for |
Thank you. |
Motivation for this change
SRT support for gstreamer. See:
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)