After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752998 - splitmuxsink: specify sink element properties in gst-launch
splitmuxsink: specify sink element properties in gst-launch
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.5.2
Other Linux
: Normal minor
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-29 07:22 UTC by Baby octopus
Modified: 2015-07-30 15:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Baby octopus 2015-07-29 07:22:19 UTC
Hi, 

I'm trying to fragment output files and upload them to an FTP server. Splitmuxsink does not have a way to set "user" and "password" field present in curlftpsink element

Sample pipeline
gst-launch-1.0 filesrc location=big_buck_bunny_1080p.mp4 ! qtdemux ! video/x-h264 ! h264parse ! splitmuxsink max-size-time=12000000000 location=ftp://192.168.2.103/usertest/video%05d.mp4 muxer=mp4mux sink=curlftpsink
Comment 1 Tim-Philipp Müller 2015-07-29 08:44:14 UTC
Does

 sink="curlftpsink user=xyz password=xyz"

not work?

In any case, the property is of type GstElement, so in code you can definitely do it.
Comment 2 Jan Schmidt 2015-07-29 09:14:05 UTC
Yes, just supplying the parameters like that should work, but you probably can't mp4mux directly to curlftpsink unless it supports seeking and rewriting.