-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSError: [WinError 193] %1 n’est pas une application Win32 valide #221
Comments
Have a look in the previous issues I think I have already seen that error somewhere. Another thing you can do is intall ffmpeg and tell me if it makes things better. If no luck, please provide the moviepy version you are using as well as the windows version. For moviepy:
Bonne chance ;) |
Thanks you, |
? |
?? |
What can I do ? |
Switch to Linux ! Just kidding. I don't have enough infos to know what went wrong. Did you install ffmpeg the conventional way (and are you sure you're using the 32-bit version) ? Did you change the settings (path to binaries) of moviepy in any way ? Are you running on a server ? (not sure if it matters). |
xD I think i going to switch on linux :) |
Did you go to the config.py file of moviepy and change anything ? |
No i don't touch config.py. |
Ah ok. Then try this at the beginning of your script (this will force the use of your locally installed ffmpeg):
(I assumed that the ffmpeg binary you installed is actually named ffmpeg.exe) |
At time it working !!! So I deduce the ffmpeg version of imageio is wrong ! |
Not clear what you mean by : Can I get the step of mounting in python to send this in AJAX ? I need a longer description. |
2 hours later ... It finily working !! |
? |
I'm closing this because the original question/problem was answered/resolved and the follow-up actually posted separately as well (#224). |
Hello,
When I want to to concateante two videos, I have a probleme:
My code:
from moviepy.editor import *
clip1 = VideoFileClip("clip1.mp4")
clip2 = VideoFileClip("clip2.mp4")
final = concatenate_videoclips([clip1,clip2])
final.write_videofile("final.mp4")
Error code:
Traceback (most recent call last):
File "C:\wamp\www\LinkMyFriends\montage\test.py", line 3, in
clip1 = VideoFileClip("clip1.mp4")
File "C:\Python34\lib\site-packages\moviepy\video\io\VideoFileClip.py", line 55, in init
reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt)
File "C:\Python34\lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 32, in init
infos = ffmpeg_parse_infos(filename, print_infos, check_duration)
File "C:\Python34\lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 237, in ffmpeg_parse_infos
proc = sp.Popen(cmd, **popen_params)
File "C:\Python34\lib\subprocess.py", line 859, in init
restore_signals, start_new_session)
File "C:\Python34\lib\subprocess.py", line 1112, in _execute_child
startupinfo)
OSError: [WinError 193] %1 n’est pas une application Win32 valide
The text was updated successfully, but these errors were encountered: