how to cut the first 10 frames of a video file

ynjiun paulwang at microai.systems
Tue Jan 19 04:33:24 UTC 2021


I try to cut out the first 11 frames of a.mov and then convert it to b.h264.

This is my hack solution:
ges-launch-1.0 +clip a.mov i=0.36 -f video/x-matroska:video/x-h264 -o b.mp4
gst-launch-1.0 filesrc location=b.mp4 ! matroskademux ! h264parse !
video/x-h264,stream-format=byte-stream !  filesink location=b.h264

I wonder if there is a simpler one pipeline solution or not. Please help.
Thanks a lot.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list