Replies: 12 comments 17 replies
-
?? @zdyshine |
Beta Was this translation helpful? Give feedback.
-
|
You will also need the ffprobe, no maters it is self compiled or downlod from online. use the Or Put both ffmpeg & ffprobe binay in the below ffmpeg folder. On windos or put binary in the system or user path variables.There name should be same ffmpeg.exe, ffperobe.exe or ffmpeg, ffprobe.
On linux put them in the path variable. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply! from ffmpegio import ffmpeg I'm not sure if it's a code modification issue or a command issue |
Beta Was this translation helpful? Give feedback.
-
|
Try noto modify the path.py directly use the Hav you read the Docs. |
Beta Was this translation helpful? Give feedback.
-
|
There is a ffmpeg function in the ffmpegio. Use the import ffmpegio.ffmpeg as fio
fio.ffmpeg()Sory for me being rood do you know how the python works. |
Beta Was this translation helpful? Give feedback.
-
|
@tikuma-lsuhsc I thing he (@zdyshine) caught a bug or outdated doc or reame.md file. I can't test the code. My laptop charger burner could you test it. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks all. I use ffmpegio.set_path() and solved the problem~ How can I directly write the output to IO or get numpy output? |
Beta Was this translation helpful? Give feedback.
-
|
@zdyshine - You got it: Finally, I'll move this thread to the discussions later as you're not raising an issue. But, feel free to ask additional questions on this thread. |
Beta Was this translation helpful? Give feedback.
-
|
Actually...
Do you mean to retrieve the image data as an AVIF-encoded byte sequence or as a raw RGB matrix? |
Beta Was this translation helpful? Give feedback.
-
I want to obtain an RGB matrix and continue with other processing using Python. |
Beta Was this translation helpful? Give feedback.
-
|
Then, as I said above, use F = ffmpegio.image.read('/test/deg.png', vf='scale=ceil(iw/4):ceil(ih/4):flags=lanczos+accurate_rnd+full_chroma_int:sws_dither=none:param0=5')This should output Note that the encoder options ( |
Beta Was this translation helpful? Give feedback.
-
I used this command earlier, but I reported an error: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Great Work, and How to use self compiled static ffmpeg?
Beta Was this translation helpful? Give feedback.
All reactions