steveway / papagayo-ng

Papagayo is a lip-syncing program designed to help you line up phonemes (mouth shapes) with the actual recorded sound of actors speaking. Papagayo makes it easy to lip sync animated characters by making the process very simple - just type in the words being spoken (or copy/paste them from the animation's script), then drag the words on top of the sound's waveform until they line up with the proper sounds.
http://steveway.github.io/papagayo-ng/
18 stars 3 forks source link

Perhaps expected: Drag and drop audio files is not functioning #20

Closed Hunanbean closed 3 years ago

Hunanbean commented 3 years ago

I do not know if it is just not in this version, but drag and drop to gui of audio files does not work.

Thank you

steveway commented 3 years ago

That is strange, I can not reproduce that. Here it will try to load the files you drag onto the Window.

Hunanbean commented 3 years ago

Yes, the drag and drop is working today. I have no explanation as to what i may have done incorrectly.

Thank you

Hunanbean commented 3 years ago

Ok, i am having the problem again, but it is more involved. This is with the Allosaurus version, Installer release. I can only open one specific .wav file, and that is only if i open an existing project first, and it requests the audio file. The first thing i did was press download ffmpeg, it did that and told me to restart, which i did. I am however getting this message pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work I cannot seem to bring in any audio files, except one old .wav, the way described. I have tested the audio files against the last version i am running from source (the first version with Allosaurus) and it works correctly. Perhaps ffmpeg is not getting installed correctly on my system? I do not know.

Thank you

Hunanbean commented 3 years ago

Ok. It was probably a windows permission problem with writing to a the 'program files' folder. I manually downloaded a version of FFMPEG and copied ffmpeg.exe, ffplay.exe and ffprobe.exe into the Papagayo-NG root, where papagayo-ng.exe os. Now i can open audio files, but i cannot drag and drop them for some reason. If i start the program from an admin command line, it will not allow me to try, just a blocking icon. if I run the program through double clicking the program icon, it displays the proper icon, but does not actually work.

Hunanbean commented 3 years ago

The drag and drop issue was a windows permission problem. I installed it in a non-protected i.e. Not "program files" location and drag and drop is functioning perfectly.

Thank you. This is amazingly cool!

steveway commented 3 years ago

I've now changed it so that FFMpeg and the AI Model are saved in a User Directory. That should prevent permission problems in the future.

Hunanbean commented 3 years ago

That worked well, thank you. The files download into the user folder, and both the ai model and ffmpeg work as expected. One suggestion, perhaps notify the user of where those files ended up.