How to Convert the Multiple images to the Video. #19
-
|
How to Convert the Multiple images to the Video Using the ffmpegio module While tracking the progress. I Am Asking this question because the documentation is too much confusing. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
And what does this do. |
Beta Was this translation helpful? Give feedback.
-
|
@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 Let's say your command looks like this one from the official wiki: This FFmpeg command translates to 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 check_cancel_command(): # return True to kill immediately
ff.transcode('*.jpg', 'out.mp4',
framerate_in=10,
pattern_type_in='glob',
**{'c:v': 'libx264'},
pix_fmt ='yuv420p',
progress=progress)Note that:
|
Beta Was this translation helpful? Give feedback.
@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:
This FFmpeg command translates to
ffmpegio.transcodecall as follows