GNOME Bugzilla – Bug 752998
splitmuxsink: specify sink element properties in gst-launch
Last modified: 2015-07-30 15:55:08 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
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.
Yes, just supplying the parameters like that should work, but you probably can't mp4mux directly to curlftpsink unless it supports seeking and rewriting.