Igor Churakov
maxpayne
About Me
専門知識
VFX Artist
業界:
Film/TV
Connect
LOCATION
Canada
ウェブサイト
Houdini Engine
Availability
Not Specified
Recent Forum Posts
Running command line from houdini python 2025年3月6日2:28
Hi everyone. I hope you are doing well.
I'm writing a simple script to automate flipbooking process. The idea is to create a flipbook with pre defined settings and convert sequence of images to mp4.
Everything is working well except for the conversion. I'm using ffmpeg for that.
I've tried different functions but no luck.
Let's say I have this one:
subprocess.Popen("cmd /k ffmpeg -framerate 24 -i F:/tmp/flip_%04d.jpg -c nvenc F:/tmp/flip.mp4",cwd='C:/ffmpeg/bin',env=my_env)
And I get this error:
'ffmpeg.exe' is not recognized as an internal or external command,
If I add folder path to a file it seems to run ffmpeg
subprocess.Popen("cmd /k ffmpeg -framerate 24 -i F:/tmp/flip_%04d.jpg -c nvenc F:/tmp/flip.mp4",cwd='C:/ffmpeg/bin')
But then I get error that codec that I specified doesn't exist. So it looks to me that somehow command line won't pick up system variables.
Then I tried to add env to the function but still no luck
my_env = os.environ
subprocess.Popen("cmd /k ffmpeg -framerate 24 -i F:/tmp/flip_%04d.jpg -c nvenc F:/tmp/flip.mp4",cwd='C:/ffmpeg/bin',env=my_env)
Does anyone know how to make it work ?
PS: codec does exist. It's all working well if I run command line myself.
Thanks
I'm writing a simple script to automate flipbooking process. The idea is to create a flipbook with pre defined settings and convert sequence of images to mp4.
Everything is working well except for the conversion. I'm using ffmpeg for that.
I've tried different functions but no luck.
Let's say I have this one:
subprocess.Popen("cmd /k ffmpeg -framerate 24 -i F:/tmp/flip_%04d.jpg -c nvenc F:/tmp/flip.mp4",cwd='C:/ffmpeg/bin',env=my_env)
And I get this error:
'ffmpeg.exe' is not recognized as an internal or external command,
If I add folder path to a file it seems to run ffmpeg
subprocess.Popen("cmd /k ffmpeg -framerate 24 -i F:/tmp/flip_%04d.jpg -c nvenc F:/tmp/flip.mp4",cwd='C:/ffmpeg/bin')
But then I get error that codec that I specified doesn't exist. So it looks to me that somehow command line won't pick up system variables.
Then I tried to add env to the function but still no luck
my_env = os.environ
subprocess.Popen("cmd /k ffmpeg -framerate 24 -i F:/tmp/flip_%04d.jpg -c nvenc F:/tmp/flip.mp4",cwd='C:/ffmpeg/bin',env=my_env)
Does anyone know how to make it work ?
PS: codec does exist. It's all working well if I run command line myself.
Thanks
Nvidia SLI OpenCl 2022年10月15日2:14
Thank you for an extensive reply. I saw people on redshift forum are saying that 2x3090 with NVlink are pooling the memory so I thought perhaps it would be the case for OpenCl as well.
Nvidia SLI OpenCl 2022年10月14日18:21
Hi everyone. Does anyone have experience with several gpu's ? If I use 2x3090 in SLI. Do they add up memory or only 24gb used ?
And does Houdini even support SLI ? I remember there was no support to use 2 gpu's at the same time before.
And does Houdini even support SLI ? I remember there was no support to use 2 gpu's at the same time before.