Export mp4 doesn't work in script mode ?

44 views
Skip to first unread message

Le Petit Caradeuc

unread,
Jan 1, 2013, 4:38:50 PM1/1/13
to phoshar...@googlegroups.com
Hello and thanks you for this application !!!

I use it for back-up my library with the script mode. But, with this mode, my .mp4 videos are not exported. The other format (.m4v,.mov) works fine. The mp4 export works fine with the user interface. 
This is my script : ./Phoshare --export "/Volumes/Lacie/Phoshare/Pictures1920Video/2013" --iphoto "/Volumes/Photo/iPhoto Library" -e ".*2013" --foldertemplate "{mm}-{name}" --nametemplate "{event}" --captiontemplate "{description}" -u -d -f -K --gps --size 1920
Do you have an idea about this problem ?

Regards,

Thomas

Tilman

unread,
Jan 13, 2013, 12:05:25 AM1/13/13
to phoshar...@googlegroups.com
There is a bug in phoshare that triggers on .mp4 files if you use the --size option. 

If you are handy with editing text files, you can fix it yourself. In the file
   Contents/Resources/lib/python2.7/tilutil/imageutils.py
in the Phoshare folder, you need to add 
    , "mp4"
to line 155:

<     return su.getfileextension(file_name) in ("mov", "avi", "m4v", "mpg", "3pg")
---
>     return su.getfileextension(file_name) in ("mov", "avi", "m4v", "mpg", "3pg", "mp4")

Tilman

Le Petit Caradeuc

unread,
Jan 14, 2013, 4:48:49 PM1/14/13
to phoshar...@googlegroups.com
Great, that work fine.

Thanks a lot.

Thomas
Reply all
Reply to author
Forward
0 new messages