Single-image slideshow

Arjen Veenhuizen arjen.veenhuizen at tno.nl
Sun Jul 31 12:55:13 UTC 2016


You can add -e to gst-launch-1.0 to make the pipeline emit an EOS just before
shutting it down using control+c (which is required when using mp4mux),
e.g.:

gst-launch-1.0 -e mp4mux name=mux ! queue ! filesink 
location=BringThatThing.mp4 filesrc location=IMG_2226.JPG ! jpegdec ! 
imagefreeze ! video/x-raw,framerate=1/10 ! x264enc ! mux. filesrc 
location=btt.mp3 ! decodebin ! voaacenc bitrate=256000 ! mux. 

The problem is that the video source will run indefinitely. Not sure how you
can make it stop after a specific number of frames or duration (see also
http://gstreamer-devel.966125.n4.nabble.com/Stopping-command-line-gst-launch-after-processing-certain-no-of-frames-td3919867.html)
I think you will have to write some code to get that kind of functionality.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Single-image-slideshow-tp4678902p4678914.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list