Hi,
Ok, so I have compiled: GST_Build/subprojects/gst-plugins-bad/tests/examples/mpegts/ts-parser.c and GST_Build/subprojects/gst-plugins-bad/tests/examples/mpegts/ts-section-write.c for my gstreamer installation (as opposed to building the whole of GStreamer) but how are they to be used once compiled? -- Russel. =========================================== Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (849 bytes) Download Attachment |
On Mon, Jul 15, 2019 at 9:55 PM Russel Winder <[hidden email]> wrote:
> Ok, so I have compiled: > > GST_Build/subprojects/gst-plugins-bad/tests/examples/mpegts/ts-parser.c > > and > > GST_Build/subprojects/gst-plugins-bad/tests/examples/mpegts/ts-section-write.c > > for my gstreamer installation (as opposed to building the whole of GStreamer) > but how are they to be used once compiled? > Hmm, it's not clear to me what you're asking here, exactly. Usage of an example generally has to be figured out by reading the source code, in this case it looks like at least ts-parser takes a pipeline description on argv, plays the pipeline, and then parses element messages from the mpegts element and dumps mpegts sections to stdout. Cheers, Nirbheek _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Tue, 2019-07-16 at 00:18 +0530, Nirbheek Chauhan wrote:
[…] > Hmm, it's not clear to me what you're asking here, exactly. Usage of > an example generally has to be figured out by reading the source code, > in this case it looks like at least ts-parser takes a pipeline > description on argv, plays the pipeline, and then parses element > messages from the mpegts element and dumps mpegts sections to stdout. Thanks for picking up on this, much appreciated. I always though the responsibility of good software developers was to give suitable documentation so that reading the source code in order to use a executable was not required. Thanks for taking a look at the code and deducing that use case. It's just a pity that isn't in the source code file. I shall definitely give it a go based on your thoughts. I'm guessing ts-section-write.c works likewise -- Russel. =========================================== Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (849 bytes) Download Attachment |
On Mon, 2019-07-15 at 20:18 +0100, Russel Winder wrote:
> On Tue, 2019-07-16 at 00:18 +0530, Nirbheek Chauhan wrote: > […] > > Hmm, it's not clear to me what you're asking here, exactly. Usage of > > an example generally has to be figured out by reading the source code, > > in this case it looks like at least ts-parser takes a pipeline > > description on argv, plays the pipeline, and then parses element > > messages from the mpegts element and dumps mpegts sections to stdout. > > Thanks for picking up on this, much appreciated. > > I always though the responsibility of good software developers was to give > suitable documentation so that reading the source code in order to use a > executable was not required. practice. The source code of them is what matters, the compiled output is more or less useless other than a toy and confirming that it actually behaves as the code says. -- Sebastian Dröge, Centricular Ltd · https://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (981 bytes) Download Attachment |
On Mon, 2019-07-15 at 22:22 +0300, Sebastian Dröge wrote:
[…] > > These examples are for developers to see how the API can be used in > practice. The source code of them is what matters, the compiled output > is more or less useless other than a toy and confirming that it > actually behaves as the code says. > The problem is that I actually need to try them, especially ts-section- write.rs, to try and get some data I haven't generated so I can try it with ts-parser.rs and then write it out to file to try with my code. I like toys just at the moment! -- Russel. =========================================== Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (849 bytes) Download Attachment |
Free forum by Nabble | Edit this page |