-
Notifications
You must be signed in to change notification settings - Fork 470
Description
When using the -o option to write the SCENE_LIST to a file, I just get a zero byte file. This works fine using the 0.2-alpha version, but none of the .3-beta versions write anything. Here's the output:
$ PySceneDetect-0.3.2-beta/scenedetect.py -i testinput/Test.mkv -o test-beta.csv
[PySceneDetect] Detecting scenes (threshold mode)...
[PySceneDetect] Parsing video Test.mkv...
[PySceneDetect] Video Resolution / Framerate: 720 x 400 / 29.970 FPS
Verify that the above parameters are correct (especially framerate, use --force-fps to correct if required).
[PySceneDetect] Processing complete, found 26 scenes in video.
[PySceneDetect] Processed 89716 frames in 243.9 secs (avg. 367.9 FPS).
[PySceneDetect] List of detected scenes:
[PySceneDetect] Comma-separated timecode output:
00:12:50.669,00:13:20.699,00:13:35.714,00:13:50.696,00:15:21.153,00:15:26.825,00:15:42.107,00:16:12.171,00:16:32.191,00:17:40.793,00:17:55.908,00:43:05.149,00:44:20.757,00:44:35.873,00:45:05.869,00:45:21.318,00:45:27.090,00:45:42.005,00:46:26.917,00:46:40.530,00:47:40.624,00:47:55.639,00:48:10.687,00:48:25.736,00:48:40.784,00:49:39.342
If I use -l, I do get a list, but it doesn't affect whats written to the file.
python-opencv 2.4.8
python 2.7.6
This is on Ubuntu 14.04
Thanks