So, we had Audiobook Builder setting up each export to fit within the maximum length per the output audio sample frequency. It works fine if you simply flatten the data to an MOV - but that's not how we roll. One major cause of -43 errors that we uncovered in preparing Audiobook Builder 1.1.3, and that may apply in your case, is that QuickTime allows us to get away with setting up an export that exceeds its 32-bit limitation (approximately 2.1 billion audio samples) but will fail when asked to go through with the export to MPEG-4/AAC. close () > # de-serializing > file = open ( "save.p", "rb" ) > jalali = pickle. timedelta ( 365 ) Serializing and de-serializing > from persiantools.jdatetime import JalaliDate > import pickle > # Serializing > file = open ( "save.p", "wb" ) > pickle. ar_to_fa ( "كيك" ) 'کیک' Operators > from persiantools.jdatetime import JalaliDate, JalaliDateTime > import datetime > JalaliDate ( 1367, 2, 14 ) = JalaliDate ( datetime. %f %p %z %Z" ) '01:49:22.518523 PM +0000 UTC' Digits/Characters Tools > from persiantools import characters, digits > digits. utc ) JalaliDateTime ( 1395, 4, 17, 21, 23, 53, 474618, tzinfo = ) Formatīased on python strftime() behavior > from persiantools.jdatetime import JalaliDate, JalaliDateTime > import pytz > JalaliDate ( 1367, 2, 14 ). timezone ( "Asia/Tehran" )) # Timestamp to Jalali JalaliDateTime ( 1367, 2, 14, 8, 0, tzinfo = ) > JalaliDateTime. to_gregorian () # Jalali to Gregorian datetime. fromtimestamp ( 578707200 ) # Timestamp to Jalali JalaliDate ( 1367, 2, 14, Chaharshanbeh ) Datetime > from persiantools.jdatetime import JalaliDateTime > import datetime, pytz > JalaliDateTime. date ( 1990, 9, 23 )) # Gregorian to Jalali JalaliDate ( 1369, 7, 1, Yekshanbeh ) > JalaliDate. today () JalaliDate ( 1395, 4, 18, Jomeh ) > JalaliDate ( 1369, 7, 1 ) JalaliDate ( 1369, 7, 1, Yekshanbeh ) > JalaliDate ( datetime. ( for python 2.7 and 3.5 use 1.5.x version) How to use Date > from persiantools.jdatetime import JalaliDate > import datetime > JalaliDate. Install Package python -m pip install persiantools
0 Comments
Leave a Reply. |