Closed sugizo closed 7 months ago
I think -ss
and -t
can only be used when an input is provided with ffmpeg. For this kind of trimming imageio-ffmpeg is not a good fit. You can better use ffmpeg directly and specify both -i
and -o
.
The way this could work with imageio-ffmpeg is to read the frames, trim these in Python (i.e. make a selection), and then write the result. A bit different approach.
objective can trim video duration
code
result
another trials trying to use -ss 2 and -t 3 parameter put in output_params trying to use -ss 2 and -to 3 parameter put in input_params and output_params but got the same result
question how to face this problem ?
best regards