Hey @Joytanapp I keep getting this error message when I try to make an audiobook:
Error occurs while creating audiobook. System stops with exception 'Decoding failed. ffmpeg returned error code: -5
Output from ffmpeg/avlib:
b'dyld: Library not loaded: /usr/local/Cellar/ffmpeg/3.3.2/lib/libavdevice.57.dylib\n Referenced from: /Applications/Joytan.app/Contents/MacOS/ffmpeg\n Reason: image not found\n''
ffmpeg in my terminal returns sth like this
ffmpeg version 3.3.2 libavutil 55. 58.100 / 55. 58.100 libavcodec 57. 89.100 / 57. 89.100 libavformat 57. 71.100 / 57. 71.100 libavdevice 57. 6.100 / 57. 6.100 libavfilter 6. 82.100 / 6. 82.100 libavresample 3. 5. 0 / 3. 5. 0 libswscale 4. 6.100 / 4. 6.100 libswresample 2. 7.100 / 2. 7.100 libpostproc 54. 5.100 / 54. 5.100
Maybe missing the link to libavdevice?
Same kind of issue: https://superuser.com/questions/877510/ffmpeg-dyld-library-not-loaded-usr-local-lib-libmp3lame-0-dylib/877511
brew install libavmight work.
if not still working
brew uninstall ffmpeg brew install faac lame xvid brew install ffmpeg
brew install libav
The quickest way should be running this command from the terminal.
You need to know your password for the security privilege.
This allows my app to write files (MP3 audio) and do networking etc.
Permissions should be granted automatically, but there's something wrong in a casual download.
Sorry for the inconvenience and thank you for bug reports. I will work on this.
Related topics on wikiHow
import inspect import boto3 from contextlib import closing polly = boto3.client('polly') print(polly.describe_voices()['Voices'].keys()) _voice_list = [ (item['Name'], "%s (%s)" % (item['Name'], item['LanguageName'])) for item in sorted(polly.describe_voices()['Voices'], key=lambda x: x['LanguageCode']) ] for item in _voice_list: print(item) print("Total: %d voices" % len(polly.describe_voices()['Voices'])) print(inspect.signature(polly.synthesize_speech)) # # response = polly.synthesize_speech(VoiceId='Kendra', # Text='<speak>&</speak>', # TextType='ssml', # OutputFormat='mp3') # # # with closing(response['AudioStream']) as stream: # with open('test_polly.mp3', 'wb') as f: # f.write(stream.read())
@lyp-bobi Haha probably yes. There is also a new pre-release available only for Ubuntu. https://github.com/kokimame/joytan/releases/tag/latest-draft-ubuntu
Was the script working? If you get an error, let me know. Even though there is an issue regarding ffmpeg, I confirmed that Polly is working in Windows at least in my environment. I am here as long as you need help :) or on our Slack. http://slack-invite.joytan.pub/
If you have a list of vocabulary or sentences or memrise courses, I can make an audio/textbook for free. If it's Japanese, I can provide native pronunciation.
NOTE: Videos were created from two resources. One is audiobooks which were created with Joytan, the other is image clips which were created separately from the app. Video-making feature is not included in the current version of Joytan.