Video not imported.

Ken D'Ambrosio ken at jots.org
Mon Jun 12 16:49:09 CEST 2017


On 2017-06-12 07:50, Joachim Tingvold wrote:

> 1) Could you add some debug to the TreeWalker.py file, run it again,
> and post the output for one of the errors? See patch below.

Here's the output... hope it's what you were looking for. :-)

2017-06-12T10:43:32.858035   |--[walking]       2008_Terri-flipcam
2017-06-12T10:43:32.858224   |  |--[metainfo]      VID00010.AVI
2017-06-12T10:43:32.872735   |  |--[unreadable]    VID00010.AVI
{'dateTimeFile': datetime.datetime(2015, 6, 9, 0, 50, 5)}
2017-06-12T10:43:32.873049   |  |--[metainfo]      VID00020.AVI
2017-06-12T10:43:32.878029   |  |--[unreadable]    VID00020.AVI
{'dateTimeFile': datetime.datetime(2015, 6, 9, 0, 50, 43)}


> 2) Can you maybe try to call the same avprobe/ffprobe command via
> Python?

I admit I'm not entirely certain what you were looking for, so I went 
and found an ffprobe-in-python link on Stack Overflow and tried that out 
(https://stackoverflow.com/questions/9896644/getting-ffprobe-information-with-python):

root at hal:/bigdisk-01/photofloat/web/albums# /tmp/ff.py
./2011_Grandma_Video_March/100VIDEO/VID00008.MP4
==========output==========
[FORMAT]
filename=./2011_Grandma_Video_March/100VIDEO/VID00008.MP4
nb_streams=2
nb_programs=0
format_name=mov,mp4,m4a,3gp,3g2,mj2
format_long_name=QuickTime / MOV
start_time=0:00:-0.000033
duration=0:00:49.666667
size=53.995479 Mibyte
bit_rate=9.119736 Mbit/s
probe_score=100
TAG:major_brand=MSNV
TAG:minor_version=19464262
TAG:compatible_brands=MSNVmp42isom
TAG:creation_time=2010-12-25 10:15:41
[/FORMAT]


> Joachim


More information about the PhotoFloat mailing list