Skip to content
Discussion options

You must be logged in to vote

@SohamTilekar - First of all, I moved the issue over to the discussion as you're asking a howto question rather than reporting an issue/bug (aside from poor documentation).

What is the exact FFmpeg command that you wish to execute with ffmpegio?

Let's say your command looks like this one from the official wiki:

ffmpeg -framerate 10 -pattern_type glob -i '*.jpg' -c:v libx264 -pix_fmt yuv420p out.mp4

This FFmpeg command translates to ffmpegio.transcode call as follows

import ffmpegio as ff

# progress callback template (straight out of the readme example
def progress(info, done):
    pprint(info) # bunch of stats
    if done:
        print('video decoding completed')
    else:
        return 

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tikuma-lsuhsc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #18 on December 24, 2023 15:30.