Request aid to translate from an old avconv code to ffmpeg

40 Views Asked by At

I am working on an old script which uses avconv to manipulate some videos. I wanted to ask help to convert the following code into ffmpeg as I aknowledged avconv is not supported anymore.

The code is:

subprocess.call('avconv -i %s -an -filter_complex "select=between(n\,%s\,%s),setpts=PTS-STARTPTS, crop=%s:%s:%s:%s, scale=-2:224" %s'%(
            input_video_folder+clip.video_name,
            clip.start_frame,
            clip.end_frame,
            crop_width,
            crop_height,
            crop_left_distance,
            crop_top_distance,
            video),
                        shell=True)
0

There are 0 best solutions below