GNOME Bugzilla – Bug 753625
splitmuxsrc: add "format-location" signal as a way to specify arbitrarily named files as input
Last modified: 2016-05-05 09:55:55 UTC
Created attachment 309263 [details] [review] splitmuxsrc: support taking a sorted list of files as input in the location property Complementary to https://bugzilla.gnome.org/show_bug.cgi?id=750106 , there is a need to be able to give splitmuxsrc a list of files that are not named after the usual numbered pattern. I wrote a patch for that that abuses the splitmux uri to be able to give a list of files. The list is meant to work like this: splitmux://list?/path/to/file1.mp4+/path/to/file2.mp4+/path/to/file3.mp4 It looks a bit ugly, so I'm not sure if we want to do it this way, but it works quite well.
I don't know, I'm not very keen on this. I don't think it's needed now that there is the "format-location" signal.
Hmm, you misunderstood. The "format-location" signal is on *splitmuxsink*. After the files have been written with custom names, though, *splitmuxsrc* needs a way to take them as input. This is what this bug is about.
I'm not too sure about the magic URI. What about a corresponding signal on splitmuxsrc to request the fragment list? Not really any reason they have to be filenames at that point - they could be URIs too
Right, I've discussed it with Tim a bit already and we concluded on a signal as well. Of course, the advantage of an URI is that you can use it in gst-launch, but I guess it won't be that useful as a feature. I'll work on it as soon as I can.
Created attachment 315134 [details] [review] splitmuxsrc: add a format-location signal that allows bypassing the location property
Created attachment 315135 [details] [review] tests/check: add a splitmuxsrc test for its "format-location" signal
Comment on attachment 315135 [details] [review] tests/check: add a splitmuxsrc test for its "format-location" signal Sorry for the delay, looks good to me!
commit c0dd2029e989e825be2bf8a0c63d3cf07d355140 Author: George Kiagiadakis <george.kiagiadakis@collabora.com> Date: Mon Nov 9 17:55:09 2015 +0100 tests: add splitmuxsrc test for new "format-location" signal https://bugzilla.gnome.org/show_bug.cgi?id=753625 commit bd2a1487cc464910d19bfb8f5f5e3a255d844c2d Author: George Kiagiadakis <george.kiagiadakis@collabora.com> Date: Mon Nov 9 17:51:12 2015 +0100 splitmuxsrc: add a format-location signal that allows bypassing the location property This signal allows a user to directly return a sorted list of files to be joined, so that they don't have to follow the filename pattern that the "location" property expects. https://bugzilla.gnome.org/show_bug.cgi?id=753625