morevnaproject-org / 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.
236 stars 51 forks source link

Added a few changes from MaskedRetriever and me #2

Closed steveway closed 8 years ago

steveway commented 8 years ago

This adds support for a few things: -Export of Imagesequences -Mouths can now be any (not everything tested) by wx supported image type instead of only jpegs -A converted example mouth as a .png with transparency is included.

morevnaproject commented 8 years ago

Looks cool! I need some time to test those change. Thank you! ^__^

morevnaproject commented 8 years ago

@steveway I have tested the latest commit and it gives me error when I choose "Images" output type and click "Export voice...":

Traceback (most recent call last):
   File "/home/konstantin/Seafile.studio/workfiles/papagayo/LipsyncFrame.py", line 605, in OnVoiceExport
     self.doc.currentVoice.ExportImages(dlg.GetPaths()[0],self.mouthChoice.GetStringSelection())
   File "/home/konstantin/Seafile.studio/workfiles/papagayo/LipsyncDoc.py", line 377, in ExportImages
     for file in os.listdir(os.path.join(os.path.dirname(os.path.abspath(__file__)), "rsrc/mouths/")+currmouth):
 NameError: global name 'currmouth' is not defined
steveway commented 8 years ago

You are right, there was a typo in there. Fixed this in the newest version.

morevnaproject commented 8 years ago

Merged now. Thank you! It turns to be a cool feature! ^__^

steveway commented 8 years ago

Yeah, I still have a few ideas for that. I'll add one as an Issue here.