filesink location /dev/stdout

Jerry Geis jerry.geis at gmail.com
Tue Jan 30 16:39:30 UTC 2018


Hi all,

When I run filesink location=/dev/stdout on the command line it is fine.
(see below)
When I try to run that from a script file from http apache I get errrors:

[Tue Jan 30 11:32:10.075068 2018] [cgi:error] [pid 19290] [client
192.168.1.8:43186] malformed header from script 'smframe_camera.cgi': Bad
header: Setting pipeline to PAUSED ...
[Tue Jan 30 11:32:10.075238 2018] [cgi:error] [pid 19290] [client
192.168.1.8:43186] AH01215: ERROR: Pipeline doesn't want to pause.
[Tue Jan 30 11:32:10.075480 2018] [cgi:error] [pid 19290] [client
192.168.1.8:43186] AH01215: ERROR: from element
/GstPipeline:pipeline0/GstFileSink:filesink0: Could not open file
"/dev/stdout" for writing.
[Tue Jan 30 11:32:10.075503 2018] [cgi:error] [pid 19290] [client
192.168.1.8:43186] AH01215: Additional debug info:
[Tue Jan 30 11:32:10.075553 2018] [cgi:error] [pid 19290] [client
192.168.1.8:43186] AH01215: gstfilesink.c(438): gst_file_sink_open_file ():
/GstPipeline:pipeline0/GstFileSink:filesink0:
[Tue Jan 30 11:32:10.075575 2018] [cgi:error] [pid 19290] [client
192.168.1.8:43186] AH01215: system error: Permission denied

My script that I'm trying to run looks like this:
#!/bin/sh

/usr/bin/gst-launch-1.0 souphttpsrc location="http://user:pass@IP/channel1"
is-live=true do-timestamp=1 ! filesink location=/dev/stdout

My file has the correct owner and permissions and +x is set.

How do I get the multipart data to goto stdout in the above way?
Thanks,

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180130/639628c9/attachment.html>


More information about the gstreamer-devel mailing list