Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does gstreamer have a command-line interface in addition to the libraries?


Indeed it does; it's about as complex as ffmpeg, and in my opinion has a somewhat more intuitive interface for building up complicated pipelines of processing steps:

https://gstreamer.freedesktop.org/documentation/tools/index....


There is a "test tool" for gstreamer pipelines: gst-launch, but generally it's encouraged to run the gstreamer more as a library instead.

Example, if you have gstreamer libs installed:

gst-launch-1.0 videotestsrc ! videoconvert ! autovideosink


You can use gst_parse_launch to create a pipeline using the launch syntax.

I've found this helpful to prototype with gst-launch-1.0 and then pull into a separate program down the road. I found it to be pretty hairy trying to create and link all the individual elements manually in complex pipelines.

https://gstreamer.freedesktop.org/documentation/gstreamer/gs...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: