Finksink offline video faster than video duration

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Finksink offline video faster than video duration

GStreamer-devel mailing list
I have the following pipeline:

filesrc location=./resources/street.jpg ! decodebin ! imagefreeze
name=\"imagefreeze\" num-buffers=500 ! videoconvert  ! compositor
name=composite ! x264enc ! h264parse ! mp4mux
reserved-moov-update-period=100000 ! filesink location=./file.mp4  filesrc
location=./resources/cars/1.mp4 ! video/x-raw, width=100, height=100!
decodebin ! videoconvert ! composite.

If the overall  video is 20s, it takes me atleast 20s to save the video. But
since there is no streaming, can this be done any faster? Like process the
pipeline within a few seconds if the processor is capable enough?

Also, How can I control the duration of the whole video? Say the video is
20s, but I want to cut it short to 10s. How could that be achieved?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel