zencodable 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/MIT-LICENSE +20 -0
- data/README.md +116 -0
- data/Rakefile +37 -0
- data/lib/generators/zencodable/migration_generator.rb +36 -0
- data/lib/generators/zencodable/templates/create_association_table.rb +17 -0
- data/lib/generators/zencodable/templates/create_association_thumbnails_table.rb +12 -0
- data/lib/zencodable/version.rb +3 -0
- data/lib/zencodable.rb +239 -0
- data/test/debug.log +3394 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +9 -0
- data/test/dummy/app/assets/stylesheets/application.css +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/video.rb +10 -0
- data/test/dummy/app/models/video_file.rb +3 -0
- data/test/dummy/app/models/video_file_thumbnail.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config/amazon_s3.yml +4 -0
- data/test/dummy/config/application.rb +45 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +30 -0
- data/test/dummy/config/environments/production.rb +60 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20111130180309_create_dummy_videos.rb +13 -0
- data/test/dummy/db/migrate/20111130192331_create_video_files.rb +18 -0
- data/test/dummy/db/migrate/20111130193231_create_video_thumbnails.rb +12 -0
- data/test/dummy/db/migrate/20111201135457_rename_video_thumbnails.rb +5 -0
- data/test/dummy/db/schema.rb +52 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +22 -0
- data/test/dummy/log/test.log +42 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/tmp/db/migrate/20111202054112_create_encoded_kitteh_vids.rb +17 -0
- data/test/factories.rb +17 -0
- data/test/test_helper.rb +17 -0
- data/test/zencodable_generators_test.rb +28 -0
- data/test/zencodable_test.rb +64 -0
- metadata +226 -0
data/test/debug.log
ADDED
@@ -0,0 +1,3394 @@
|
|
1
|
+
# Logfile created on 2011-11-30 15:24:56 -0500 by logger.rb/25413
|
2
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3
|
+
[1m[35mSQL (22.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:33:37 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:33:37 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
4
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5
|
+
Unfinished job found. Updating details.
|
6
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
7
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9
|
+
[1m[36mVideoThumbnail Load (0.2ms)[0m [1mSELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1[0m
|
10
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
13
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 20:33:37.847592' WHERE "videos"."id" = 1[0m
|
14
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
16
|
+
[1m[35mSQL (22.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:34:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:34:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
17
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
18
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
19
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:34:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:34:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
20
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
21
|
+
Unfinished job found. Updating details.
|
22
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
23
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
24
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
25
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
26
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
27
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
28
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
29
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 20:34:35.637121' WHERE "videos"."id" = 1
|
30
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
32
|
+
[1m[35mSQL (22.5ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
33
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
36
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
37
|
+
Unfinished job found. Updating details.
|
38
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
39
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
42
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 20:35:22.571670' WHERE "videos"."id" = 1
|
46
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
47
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
48
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
49
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50
|
+
Unfinished job found. Updating details.
|
51
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
52
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
53
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
54
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
55
|
+
[1m[36mVideoThumbnail Load (0.2ms)[0m [1mSELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1[0m
|
56
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
57
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:35:22.601826' WHERE "videos"."id" = 1[0m
|
60
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62
|
+
[1m[35mSQL (22.5ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:36:21 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:36:21 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
63
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
64
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
65
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:36:21 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:36:21 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
66
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
67
|
+
Unfinished job found. Updating details.
|
68
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
69
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
70
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
71
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
72
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
73
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
74
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
75
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 20:36:22.130316' WHERE "videos"."id" = 1
|
76
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
79
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
80
|
+
Unfinished job found. Updating details.
|
81
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
82
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
83
|
+
[1m[36mSQL (1.5ms)[0m [1mINSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
84
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85
|
+
[1m[36mVideoThumbnail Load (0.2ms)[0m [1mSELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1[0m
|
86
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
89
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:36:22.159952' WHERE "videos"."id" = 1[0m
|
90
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
91
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
92
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
93
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94
|
+
Unfinished job found. Updating details.
|
95
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
96
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
97
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
98
|
+
[1m[36mVideoThumbnail Load (0.2ms)[0m [1mSELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1[0m
|
99
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
100
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["video_id", 1]]
|
101
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
102
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
103
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:36:22.182765' WHERE "videos"."id" = 1
|
104
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
105
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
106
|
+
[1m[35mSQL (22.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
107
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
108
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
109
|
+
Origin URL changed. Creating new ZenCoder job.
|
110
|
+
ZenCoder job ID = 123
|
111
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 20:37:24.652316', "updated_at" = '2011-11-30 20:37:24.652619' WHERE "videos"."id" = 1[0m
|
112
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
113
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
114
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
115
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
116
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
117
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
118
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
119
|
+
Unfinished job found. Updating details.
|
120
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
121
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
122
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
123
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
124
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
126
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
127
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 20:37:24.830561' WHERE "videos"."id" = 1
|
128
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
129
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
130
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
131
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
132
|
+
Unfinished job found. Updating details.
|
133
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
134
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
135
|
+
[1m[36mSQL (1.6ms)[0m [1mINSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
136
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137
|
+
[1m[36mVideoThumbnail Load (0.2ms)[0m [1mSELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1[0m
|
138
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
139
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
140
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
141
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:37:24.859649' WHERE "videos"."id" = 1[0m
|
142
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
143
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
144
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
145
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
146
|
+
Unfinished job found. Updating details.
|
147
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
148
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
149
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
150
|
+
[1m[36mVideoThumbnail Load (0.2ms)[0m [1mSELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1[0m
|
151
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
152
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["video_id", 1]]
|
153
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
154
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
155
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:37:24.882473' WHERE "videos"."id" = 1
|
156
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
157
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
158
|
+
[1m[35mSQL (22.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:12 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:39:12 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
159
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
161
|
+
Origin URL changed. Creating new ZenCoder job.
|
162
|
+
ZenCoder job ID = 123
|
163
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 20:39:13.006348', "updated_at" = '2011-11-30 20:39:13.006641' WHERE "videos"."id" = 1[0m
|
164
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
165
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
166
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
167
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
168
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
169
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
170
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
171
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
172
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
173
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
174
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
175
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
176
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
177
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
178
|
+
Unfinished job found. Updating details.
|
179
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
180
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
181
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
182
|
+
[1m[36mVideoThumbnail Load (0.2ms)[0m [1mSELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1[0m
|
183
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
184
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
185
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
186
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 20:39:13.239584' WHERE "videos"."id" = 1[0m
|
187
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
188
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
189
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
190
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
191
|
+
Unfinished job found. Updating details.
|
192
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
193
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
194
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
195
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
196
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
197
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
198
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
199
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
200
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:39:13.253251' WHERE "videos"."id" = 1
|
201
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
202
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
203
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
204
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
205
|
+
Unfinished job found. Updating details.
|
206
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
207
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
208
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
209
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
210
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
211
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["video_id", 1]]
|
212
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
213
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
214
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:39:13.276030' WHERE "videos"."id" = 1[0m
|
215
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
216
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
217
|
+
[1m[35mSQL (23.1ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
218
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
219
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
220
|
+
Origin URL changed. Creating new ZenCoder job.
|
221
|
+
ZenCoder job ID = 123
|
222
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 20:56:05.531568', "updated_at" = '2011-11-30 20:56:05.531872' WHERE "videos"."id" = 1[0m
|
223
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
224
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
225
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
226
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
227
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
228
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
229
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
230
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
231
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
232
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
233
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
234
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
235
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
236
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
237
|
+
Unfinished job found. Updating details.
|
238
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
239
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
240
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
241
|
+
[1m[36mVideoThumbnail Load (0.2ms)[0m [1mSELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1[0m
|
242
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
243
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
244
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
245
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 20:56:05.765700' WHERE "videos"."id" = 1[0m
|
246
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
247
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
248
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
249
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
250
|
+
Unfinished job found. Updating details.
|
251
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
252
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
253
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
254
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
255
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
256
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
257
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
258
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
259
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:56:05.779236' WHERE "videos"."id" = 1
|
260
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
261
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
262
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
263
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
264
|
+
Unfinished job found. Updating details.
|
265
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
266
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
267
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
268
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
269
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
270
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["video_id", 1]]
|
271
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
272
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
273
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:56:05.801816' WHERE "videos"."id" = 1[0m
|
274
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
275
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
276
|
+
[1m[35mSQL (22.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:07 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:05:07 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
277
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
278
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
279
|
+
Origin URL changed. Creating new ZenCoder job.
|
280
|
+
ZenCoder job ID = 123
|
281
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 21:05:07.945859', "updated_at" = '2011-11-30 21:05:07.946154' WHERE "videos"."id" = 1[0m
|
282
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
283
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
284
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:07 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:05:07 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
285
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
286
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
287
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:05:07 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:05:07 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
288
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
289
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
290
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
291
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
292
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
293
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
294
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
295
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296
|
+
Unfinished job found. Updating details.
|
297
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
298
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
299
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
300
|
+
[1m[36mVideoThumbnail Load (0.2ms)[0m [1mSELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1[0m
|
301
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
302
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
303
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
304
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 21:05:08.179059' WHERE "videos"."id" = 1[0m
|
305
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
306
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
307
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
308
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
309
|
+
Unfinished job found. Updating details.
|
310
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
311
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
312
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
313
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
314
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
315
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
316
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
317
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
318
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:05:08.192621' WHERE "videos"."id" = 1
|
319
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
320
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
321
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
322
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
323
|
+
Unfinished job found. Updating details.
|
324
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
325
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
326
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
327
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
328
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
329
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["video_id", 1]]
|
330
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
331
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
332
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:05:08.215366' WHERE "videos"."id" = 1[0m
|
333
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
334
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
335
|
+
[1m[35mSQL (22.7ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
336
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
337
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
338
|
+
Origin URL changed. Creating new ZenCoder job.
|
339
|
+
ZenCoder job ID = 123
|
340
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 21:12:50.488564', "updated_at" = '2011-11-30 21:12:50.488870' WHERE "videos"."id" = 1[0m
|
341
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
342
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
343
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
344
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
345
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
346
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
347
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
348
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
349
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
350
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
351
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
352
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
353
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
354
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
355
|
+
Unfinished job found. Updating details.
|
356
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
357
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
358
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
359
|
+
[1m[36mVideoThumbnail Load (0.2ms)[0m [1mSELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1[0m
|
360
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
361
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
362
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
363
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 21:12:50.720713' WHERE "videos"."id" = 1[0m
|
364
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
365
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
366
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
367
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
368
|
+
Unfinished job found. Updating details.
|
369
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
370
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
371
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
372
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
373
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
374
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
375
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
376
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
377
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:12:50.734580' WHERE "videos"."id" = 1
|
378
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
379
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
380
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
381
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
382
|
+
Unfinished job found. Updating details.
|
383
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
384
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
385
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
386
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
387
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
388
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["video_id", 1]]
|
389
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
390
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
391
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:12:50.757334' WHERE "videos"."id" = 1[0m
|
392
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
393
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
394
|
+
[1m[35mSQL (22.7ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
395
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
396
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
397
|
+
Origin URL changed. Creating new ZenCoder job.
|
398
|
+
ZenCoder job ID = 123
|
399
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 21:25:42.089983', "updated_at" = '2011-11-30 21:25:42.090294' WHERE "videos"."id" = 1[0m
|
400
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
401
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
402
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
403
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
404
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
405
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
406
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
407
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
408
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
409
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
410
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
411
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
412
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
413
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
414
|
+
Unfinished job found. Updating details.
|
415
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
416
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
417
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
418
|
+
[1m[36mVideoThumbnail Load (0.2ms)[0m [1mSELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1[0m
|
419
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
420
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
421
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
422
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 21:25:42.321993' WHERE "videos"."id" = 1[0m
|
423
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
424
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
425
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
426
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
427
|
+
Unfinished job found. Updating details.
|
428
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
429
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
430
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
431
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
432
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
433
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
434
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
435
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
436
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:25:42.335633' WHERE "videos"."id" = 1
|
437
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
438
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
439
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
440
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
441
|
+
Unfinished job found. Updating details.
|
442
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
443
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
444
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
445
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
446
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
447
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["video_id", 1]]
|
448
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
449
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
450
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:25:42.358268' WHERE "videos"."id" = 1[0m
|
451
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
452
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
453
|
+
[1m[35mSQL (23.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
454
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
455
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
456
|
+
Origin URL changed. Creating new ZenCoder job.
|
457
|
+
ZenCoder job ID = 123
|
458
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 21:26:11.890359', "updated_at" = '2011-11-30 21:26:11.890659' WHERE "videos"."id" = 1[0m
|
459
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
460
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
461
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
462
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
463
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
464
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
465
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
466
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
467
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
468
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
469
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
470
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
471
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
472
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
473
|
+
Unfinished job found. Updating details.
|
474
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
475
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
476
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
477
|
+
[1m[36mVideoThumbnail Load (0.2ms)[0m [1mSELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1[0m
|
478
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
479
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
480
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
481
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 21:26:12.124123' WHERE "videos"."id" = 1[0m
|
482
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
483
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
484
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
485
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
486
|
+
Unfinished job found. Updating details.
|
487
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
488
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
489
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
490
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
491
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
492
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
493
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
494
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
495
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:26:12.137660' WHERE "videos"."id" = 1
|
496
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
497
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
498
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
499
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
500
|
+
Unfinished job found. Updating details.
|
501
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
502
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
503
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
504
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
505
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
506
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["video_id", 1]]
|
507
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
508
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
509
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:26:12.160294' WHERE "videos"."id" = 1[0m
|
510
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
511
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
512
|
+
[1m[35mSQL (22.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:32 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:32 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
513
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
514
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
515
|
+
Origin URL changed. Creating new ZenCoder job.
|
516
|
+
ZenCoder job ID = 123
|
517
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 21:26:33.004435', "updated_at" = '2011-11-30 21:26:33.004739' WHERE "videos"."id" = 1[0m
|
518
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
519
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
520
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
521
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
522
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
523
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
524
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
525
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
526
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
527
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
528
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
529
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
530
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
531
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
532
|
+
Unfinished job found. Updating details.
|
533
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
534
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
535
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
536
|
+
[1m[36mVideoThumbnail Load (0.2ms)[0m [1mSELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1[0m
|
537
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
538
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
539
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
540
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 21:26:33.238064' WHERE "videos"."id" = 1[0m
|
541
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
542
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
543
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
544
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
545
|
+
Unfinished job found. Updating details.
|
546
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
547
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
548
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
549
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
550
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
551
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
552
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
553
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
554
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:26:33.251612' WHERE "videos"."id" = 1
|
555
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
556
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
557
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
558
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
559
|
+
Unfinished job found. Updating details.
|
560
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
561
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
562
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
563
|
+
[1m[35mVideoThumbnail Load (0.2ms)[0m SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
|
564
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
565
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["video_id", 1]]
|
566
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
568
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:26:33.274171' WHERE "videos"."id" = 1[0m
|
569
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
570
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
571
|
+
[1m[35mSQL (22.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
572
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
573
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
574
|
+
Origin URL changed. Creating new ZenCoder job.
|
575
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 21:42:28.775790', "updated_at" = '2011-11-30 21:42:28.776098' WHERE "videos"."id" = 1[0m
|
576
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
577
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
578
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
579
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
580
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
581
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
582
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
583
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
584
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
585
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
586
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
587
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
588
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
589
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
590
|
+
Unfinished job found. Updating details.
|
591
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
592
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
593
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
594
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
595
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:42:29 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:42:29 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
596
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
597
|
+
Unfinished job found. Updating details.
|
598
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
599
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
600
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:42:29 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:42:29 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
601
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
602
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
603
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:42:29 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:42:29 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
604
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
605
|
+
Unfinished job found. Updating details.
|
606
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
607
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
608
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
609
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
610
|
+
[1m[35mSQL (23.1ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
611
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
612
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
613
|
+
Origin URL changed. Creating new ZenCoder job.
|
614
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 21:46:23.784480' WHERE "videos"."id" = 1[0m
|
615
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
616
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
617
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
618
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
619
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
620
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
621
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
622
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
623
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
624
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
625
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
626
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
627
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
628
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
629
|
+
Unfinished job found. Updating details.
|
630
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
631
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
632
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
633
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
634
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
635
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
636
|
+
Unfinished job found. Updating details.
|
637
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
638
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
639
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
640
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
641
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
642
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
643
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
644
|
+
Unfinished job found. Updating details.
|
645
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
646
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
647
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
648
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
649
|
+
[1m[35mSQL (23.2ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
650
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
651
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
652
|
+
Origin URL changed. Creating new ZenCoder job.
|
653
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 21:47:02.319072' WHERE "videos"."id" = 1[0m
|
654
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
655
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
656
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
657
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
658
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
659
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
660
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
661
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
662
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
663
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
664
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
665
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
666
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
667
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
668
|
+
Unfinished job found. Updating details.
|
669
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
670
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
671
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
672
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
673
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
674
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
675
|
+
Unfinished job found. Updating details.
|
676
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
677
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
678
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
679
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
680
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
681
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
682
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
683
|
+
Unfinished job found. Updating details.
|
684
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
685
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
686
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
687
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
688
|
+
[1m[35mSQL (23.1ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:09 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:09 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
689
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
690
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
691
|
+
Origin URL changed. Creating new ZenCoder job.
|
692
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:17:09.963192' WHERE "videos"."id" = 1[0m
|
693
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
694
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
695
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:09 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:09 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
696
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
697
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
698
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:17:09 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:09 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
699
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
700
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
701
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
702
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
703
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
704
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
705
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
706
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
707
|
+
Unfinished job found. Updating details.
|
708
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
709
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
710
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
711
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
712
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
713
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
714
|
+
Unfinished job found. Updating details.
|
715
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
716
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
717
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
718
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
719
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
720
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
721
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
722
|
+
Unfinished job found. Updating details.
|
723
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
724
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
725
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
726
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
727
|
+
[1m[35mSQL (22.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:49 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:49 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
728
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
729
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
730
|
+
Origin URL changed. Creating new ZenCoder job.
|
731
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:17:49.910040' WHERE "videos"."id" = 1[0m
|
732
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
733
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
734
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:49 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:49 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
735
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
736
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
737
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:17:49 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:49 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
738
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
739
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
740
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
741
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
742
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
743
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
744
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
745
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
746
|
+
Unfinished job found. Updating details.
|
747
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
748
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 22:17:50.136480' WHERE "videos"."id" = 1[0m
|
749
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
750
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
751
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
752
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
753
|
+
Unfinished job found. Updating details.
|
754
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
755
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:17:50.144258' WHERE "videos"."id" = 1[0m
|
756
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
757
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
758
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
759
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
760
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
761
|
+
Unfinished job found. Updating details.
|
762
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
763
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:17:50.165688' WHERE "videos"."id" = 1
|
764
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
765
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
766
|
+
[1m[35mSQL (22.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
767
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
768
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
769
|
+
Origin URL changed. Creating new ZenCoder job.
|
770
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:18:35.661133' WHERE "videos"."id" = 1[0m
|
771
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
772
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
773
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
774
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
775
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
776
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
777
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
778
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
779
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
780
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
781
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
782
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
783
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
784
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
785
|
+
Unfinished job found. Updating details.
|
786
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
787
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 22:18:35.887799' WHERE "videos"."id" = 1[0m
|
788
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
789
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
790
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
791
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
792
|
+
Unfinished job found. Updating details.
|
793
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
794
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:18:35.895368' WHERE "videos"."id" = 1[0m
|
795
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
796
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
797
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
798
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
799
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
800
|
+
Unfinished job found. Updating details.
|
801
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
802
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:18:35.916765' WHERE "videos"."id" = 1
|
803
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
804
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
805
|
+
[1m[35mSQL (22.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
806
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
807
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
808
|
+
Origin URL changed. Creating new ZenCoder job.
|
809
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:27:27.243386' WHERE "videos"."id" = 1[0m
|
810
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
811
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
812
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
813
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
814
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
815
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
816
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
817
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
818
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
819
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
820
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
821
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
822
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
823
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
824
|
+
Unfinished job found. Updating details.
|
825
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
826
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
827
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
828
|
+
Unfinished job found. Updating details.
|
829
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
830
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
831
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
832
|
+
Unfinished job found. Updating details.
|
833
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
834
|
+
[1m[35mSQL (22.7ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
835
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
837
|
+
Origin URL changed. Creating new ZenCoder job.
|
838
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:27:57.226071' WHERE "videos"."id" = 1[0m
|
839
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
840
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
841
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
842
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
843
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
844
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
845
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
846
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
847
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
848
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
849
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
850
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
851
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
852
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
853
|
+
Unfinished job found. Updating details.
|
854
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
855
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
856
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
857
|
+
Unfinished job found. Updating details.
|
858
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
859
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
860
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
861
|
+
Unfinished job found. Updating details.
|
862
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
863
|
+
[1m[35mSQL (22.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
864
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
865
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
866
|
+
Origin URL changed. Creating new ZenCoder job.
|
867
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:30:58.286272' WHERE "videos"."id" = 1[0m
|
868
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
869
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
870
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
871
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
872
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
873
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
874
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
875
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
876
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
877
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
878
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
879
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
880
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
881
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
882
|
+
Unfinished job found. Updating details.
|
883
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
884
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 22:30:58.512151' WHERE "videos"."id" = 1[0m
|
885
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
886
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
887
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
888
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
889
|
+
Unfinished job found. Updating details.
|
890
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
891
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:30:58.520051' WHERE "videos"."id" = 1[0m
|
892
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
893
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
894
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
895
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
896
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
897
|
+
Unfinished job found. Updating details.
|
898
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
899
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:30:58.541783' WHERE "videos"."id" = 1
|
900
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
901
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
902
|
+
[1m[35mSQL (22.5ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
903
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
904
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
905
|
+
Origin URL changed. Creating new ZenCoder job.
|
906
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:55:17.499790' WHERE "videos"."id" = 1[0m
|
907
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
908
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
909
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
910
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
911
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
912
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
913
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
914
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
915
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
916
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
917
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
918
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
919
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
920
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
921
|
+
Unfinished job found. Updating details.
|
922
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
923
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 22:55:17.724778' WHERE "videos"."id" = 1[0m
|
924
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
925
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
926
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
927
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
928
|
+
Unfinished job found. Updating details.
|
929
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
930
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:55:17.732443' WHERE "videos"."id" = 1[0m
|
931
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
932
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
933
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
934
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
935
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
936
|
+
Unfinished job found. Updating details.
|
937
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
938
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:55:17.753848' WHERE "videos"."id" = 1
|
939
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
940
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
941
|
+
[1m[35mSQL (22.6ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
942
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
943
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
944
|
+
Origin URL changed. Creating new ZenCoder job.
|
945
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:58:41.391828' WHERE "videos"."id" = 1[0m
|
946
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
947
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
948
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
949
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
950
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
951
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
952
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
953
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
954
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
955
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
956
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
957
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
958
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
959
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
960
|
+
Unfinished job found. Updating details.
|
961
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
962
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
963
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
964
|
+
Unfinished job found. Updating details.
|
965
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
966
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
967
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
968
|
+
Unfinished job found. Updating details.
|
969
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
970
|
+
[1m[35mSQL (23.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
971
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
972
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
973
|
+
Origin URL changed. Creating new ZenCoder job.
|
974
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 13:47:43.580333' WHERE "videos"."id" = 1[0m
|
975
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
976
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
977
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
978
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
979
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
980
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
981
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
982
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
983
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
984
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
985
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
986
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
987
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
988
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
989
|
+
Unfinished job found. Updating details.
|
990
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
991
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 13:47:43.807696' WHERE "videos"."id" = 1[0m
|
992
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
993
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
994
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
995
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
996
|
+
Unfinished job found. Updating details.
|
997
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
998
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:47:43.815299' WHERE "videos"."id" = 1[0m
|
999
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1000
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1001
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1002
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1003
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1004
|
+
Unfinished job found. Updating details.
|
1005
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1006
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:47:43.825221' WHERE "videos"."id" = 1
|
1007
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1008
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1009
|
+
[1m[35mSQL (23.1ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1010
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1011
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1012
|
+
Origin URL changed. Creating new ZenCoder job.
|
1013
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 13:49:38.438327' WHERE "videos"."id" = 1[0m
|
1014
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1015
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1016
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1017
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1018
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1019
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1020
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1021
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1022
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1023
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1024
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1025
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1026
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1027
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1028
|
+
Unfinished job found. Updating details.
|
1029
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1030
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 13:49:38.667280' WHERE "videos"."id" = 1[0m
|
1031
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1032
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1033
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1034
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1035
|
+
Unfinished job found. Updating details.
|
1036
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1037
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:49:38.674922' WHERE "videos"."id" = 1[0m
|
1038
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1039
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1040
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1041
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1042
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1043
|
+
Unfinished job found. Updating details.
|
1044
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1045
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:49:38.684896' WHERE "videos"."id" = 1
|
1046
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1047
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1048
|
+
[1m[35mSQL (23.2ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1049
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1050
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1051
|
+
Origin URL changed. Creating new ZenCoder job.
|
1052
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 13:52:00.875666' WHERE "videos"."id" = 1[0m
|
1053
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1054
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1055
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1056
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1057
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1058
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1059
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1060
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1061
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1062
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1063
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1064
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1065
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:52:01 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:52:01 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1066
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1067
|
+
Unfinished job found. Updating details.
|
1068
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1069
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 13:52:01.105296' WHERE "videos"."id" = 1[0m
|
1070
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1071
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1072
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:52:01 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:52:01 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1073
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1074
|
+
Unfinished job found. Updating details.
|
1075
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1076
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:52:01.112943' WHERE "videos"."id" = 1[0m
|
1077
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1078
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1079
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1080
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 13:52:01 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:52:01 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1081
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1082
|
+
Unfinished job found. Updating details.
|
1083
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1084
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:52:01.122752' WHERE "videos"."id" = 1
|
1085
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1086
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1087
|
+
[1m[35mSQL (23.1ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1088
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1089
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1090
|
+
Origin URL changed. Creating new ZenCoder job.
|
1091
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 13:53:45.549463' WHERE "videos"."id" = 1[0m
|
1092
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1093
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1094
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1095
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1096
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1097
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1098
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1099
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1100
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1101
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1102
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1103
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1104
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1105
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1106
|
+
Unfinished job found. Updating details.
|
1107
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1108
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 13:53:45.778128' WHERE "videos"."id" = 1[0m
|
1109
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1110
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1111
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1112
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1113
|
+
Unfinished job found. Updating details.
|
1114
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1115
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:53:45.785890' WHERE "videos"."id" = 1[0m
|
1116
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1117
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1118
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1119
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1120
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1121
|
+
Unfinished job found. Updating details.
|
1122
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1123
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:53:45.795782' WHERE "videos"."id" = 1
|
1124
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1125
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1126
|
+
[1m[35mSQL (23.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:55:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:55:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1127
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1128
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1129
|
+
Origin URL changed. Creating new ZenCoder job.
|
1130
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 13:55:58.977474' WHERE "videos"."id" = 1[0m
|
1131
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1132
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1133
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:55:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:55:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1134
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1135
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1136
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 13:55:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:55:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1137
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1138
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1139
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1140
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1141
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1142
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1143
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1144
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1145
|
+
Unfinished job found. Updating details.
|
1146
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1147
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 13:55:59.206216' WHERE "videos"."id" = 1[0m
|
1148
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1149
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1150
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1151
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1152
|
+
Unfinished job found. Updating details.
|
1153
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1154
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:55:59.214041' WHERE "videos"."id" = 1[0m
|
1155
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1156
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1157
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1158
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1159
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1160
|
+
Unfinished job found. Updating details.
|
1161
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1162
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:55:59.236774' WHERE "videos"."id" = 1
|
1163
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1164
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1165
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1166
|
+
[1m[35mSQL (22.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1167
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1168
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1169
|
+
Origin URL changed. Creating new ZenCoder job.
|
1170
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:00:25.697231' WHERE "videos"."id" = 1[0m
|
1171
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1172
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1173
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1174
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1175
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1176
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1177
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1178
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1179
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1180
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1181
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1182
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1183
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1184
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1185
|
+
Unfinished job found. Updating details.
|
1186
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1187
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:00:25.924988' WHERE "videos"."id" = 1[0m
|
1188
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1189
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1190
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1191
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1192
|
+
Unfinished job found. Updating details.
|
1193
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1194
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:00:25.932656' WHERE "videos"."id" = 1[0m
|
1195
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1196
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1197
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1198
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1199
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1200
|
+
Unfinished job found. Updating details.
|
1201
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1202
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:00:25.955291' WHERE "videos"."id" = 1
|
1203
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1204
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1205
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1206
|
+
[1m[35mSQL (22.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:02:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:02:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1207
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1208
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1209
|
+
Origin URL changed. Creating new ZenCoder job.
|
1210
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:02:22.996867' WHERE "videos"."id" = 1[0m
|
1211
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1212
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1213
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1214
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1215
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1216
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1217
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1218
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1219
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1220
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1221
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1222
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1223
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1224
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1225
|
+
Unfinished job found. Updating details.
|
1226
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1227
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:02:23.225021' WHERE "videos"."id" = 1[0m
|
1228
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1229
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1230
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1231
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1232
|
+
Unfinished job found. Updating details.
|
1233
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1234
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:02:23.232701' WHERE "videos"."id" = 1[0m
|
1235
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1236
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1237
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1238
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1239
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1240
|
+
Unfinished job found. Updating details.
|
1241
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1242
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:02:23.255427' WHERE "videos"."id" = 1
|
1243
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1244
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1245
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1246
|
+
[1m[35mSQL (22.7ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1247
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1248
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1249
|
+
Origin URL changed. Creating new ZenCoder job.
|
1250
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:03:19.135742' WHERE "videos"."id" = 1[0m
|
1251
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1252
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1253
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1254
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1255
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1256
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1257
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1258
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1259
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1260
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1261
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1262
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1263
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1264
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1265
|
+
Unfinished job found. Updating details.
|
1266
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1267
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:03:19.363157' WHERE "videos"."id" = 1[0m
|
1268
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1269
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1270
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1271
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1272
|
+
Unfinished job found. Updating details.
|
1273
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1274
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:03:19.370811' WHERE "videos"."id" = 1[0m
|
1275
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1276
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1277
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1278
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1279
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1280
|
+
Unfinished job found. Updating details.
|
1281
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1282
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:03:19.393649' WHERE "videos"."id" = 1
|
1283
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1284
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1285
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1286
|
+
[1m[35mSQL (23.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1287
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1288
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1289
|
+
Origin URL changed. Creating new ZenCoder job.
|
1290
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:05:31.842999' WHERE "videos"."id" = 1[0m
|
1291
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1292
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1293
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1294
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1295
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1296
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1297
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1298
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1299
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1300
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1301
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1302
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1303
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:05:32 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:05:32 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1304
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1305
|
+
Unfinished job found. Updating details.
|
1306
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1307
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:05:32.072302' WHERE "videos"."id" = 1[0m
|
1308
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1309
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1310
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:05:32 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:05:32 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1311
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1312
|
+
Unfinished job found. Updating details.
|
1313
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1314
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:05:32.080038' WHERE "videos"."id" = 1[0m
|
1315
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1316
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1317
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1318
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:05:32 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:05:32 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1319
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1320
|
+
Unfinished job found. Updating details.
|
1321
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1322
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:05:32.102740' WHERE "videos"."id" = 1
|
1323
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1324
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1325
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1326
|
+
[1m[35mSQL (23.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1327
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1328
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1329
|
+
Origin URL changed. Creating new ZenCoder job.
|
1330
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:06:14.155295' WHERE "videos"."id" = 1[0m
|
1331
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1332
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1333
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1334
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1335
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1336
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1337
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1338
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1339
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1340
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1341
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1342
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1343
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1344
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1345
|
+
Unfinished job found. Updating details.
|
1346
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1347
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:06:14.383471' WHERE "videos"."id" = 1[0m
|
1348
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1349
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1350
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1351
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1352
|
+
Unfinished job found. Updating details.
|
1353
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1354
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:06:14.391372' WHERE "videos"."id" = 1[0m
|
1355
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1356
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1357
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1358
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1359
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1360
|
+
Unfinished job found. Updating details.
|
1361
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1362
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:06:14.413561' WHERE "videos"."id" = 1
|
1363
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1364
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1365
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1366
|
+
[1m[35mSQL (22.7ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1367
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1368
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1369
|
+
Origin URL changed. Creating new ZenCoder job.
|
1370
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:08:46.689323' WHERE "videos"."id" = 1[0m
|
1371
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1372
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1373
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1374
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1375
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1376
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1377
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1378
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1379
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1380
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1381
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1382
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1383
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1384
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1385
|
+
Unfinished job found. Updating details.
|
1386
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1387
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:08:46.916685' WHERE "videos"."id" = 1[0m
|
1388
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1389
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1390
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1391
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1392
|
+
Unfinished job found. Updating details.
|
1393
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1394
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:08:46.924657' WHERE "videos"."id" = 1[0m
|
1395
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1396
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1397
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1398
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1399
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1400
|
+
Unfinished job found. Updating details.
|
1401
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1402
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:08:46.946931' WHERE "videos"."id" = 1
|
1403
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1404
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1405
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1406
|
+
[1m[35mSQL (23.4ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1407
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1408
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1409
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:10:53.080963' WHERE "videos"."id" = 1[0m
|
1410
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1411
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1412
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1413
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1414
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1415
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1416
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1417
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1418
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1419
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1420
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1421
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1422
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1423
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1424
|
+
Unfinished job found. Updating details.
|
1425
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1426
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:10:53.314436' WHERE "videos"."id" = 1[0m
|
1427
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1428
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1429
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1430
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1431
|
+
Unfinished job found. Updating details.
|
1432
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1433
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:10:53.322201' WHERE "videos"."id" = 1[0m
|
1434
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1435
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1436
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1437
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1438
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1439
|
+
Unfinished job found. Updating details.
|
1440
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1441
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:10:53.345501' WHERE "videos"."id" = 1
|
1442
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1443
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1444
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1445
|
+
[1m[35mSQL (22.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1446
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1447
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1448
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:12:26.130623' WHERE "videos"."id" = 1[0m
|
1449
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1450
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1451
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1452
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1453
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1454
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1455
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1456
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1457
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1458
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1459
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1460
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1461
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1462
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1463
|
+
Unfinished job found. Updating details.
|
1464
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1465
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:12:26.358052' WHERE "videos"."id" = 1[0m
|
1466
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1467
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1468
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1469
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1470
|
+
Unfinished job found. Updating details.
|
1471
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1472
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:12:26.365802' WHERE "videos"."id" = 1[0m
|
1473
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1474
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1475
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1476
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1477
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1478
|
+
Unfinished job found. Updating details.
|
1479
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1480
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:12:26.388158' WHERE "videos"."id" = 1
|
1481
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1482
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1483
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1484
|
+
[1m[35mSQL (22.5ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1485
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1486
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1487
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:12:53.824717' WHERE "videos"."id" = 1[0m
|
1488
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1489
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1490
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1491
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1492
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1493
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1494
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1495
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1496
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1497
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1498
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1499
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1500
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1501
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1502
|
+
Unfinished job found. Updating details.
|
1503
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1504
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:12:54.053302' WHERE "videos"."id" = 1[0m
|
1505
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1506
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1507
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1508
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1509
|
+
Unfinished job found. Updating details.
|
1510
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1511
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:12:54.061220' WHERE "videos"."id" = 1[0m
|
1512
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1513
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1514
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1515
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:12:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1516
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1517
|
+
Unfinished job found. Updating details.
|
1518
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1519
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:12:54.083658' WHERE "videos"."id" = 1
|
1520
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1521
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1522
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1523
|
+
[1m[35mSQL (22.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1524
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1525
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1526
|
+
Origin URL changed. Creating new ZenCoder job.
|
1527
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:13:34.288073' WHERE "videos"."id" = 1[0m
|
1528
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1529
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1530
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1531
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1532
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1533
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1534
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1535
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1536
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1537
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1538
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1539
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1540
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1541
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1542
|
+
Unfinished job found. Updating details.
|
1543
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1544
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:13:34.516139' WHERE "videos"."id" = 1[0m
|
1545
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1546
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1547
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1548
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1549
|
+
Unfinished job found. Updating details.
|
1550
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1551
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:13:34.524788' WHERE "videos"."id" = 1[0m
|
1552
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1553
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1554
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1555
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1556
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1557
|
+
Unfinished job found. Updating details.
|
1558
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1559
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:13:34.548160' WHERE "videos"."id" = 1
|
1560
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1561
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1562
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1563
|
+
[1m[35mSQL (22.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1564
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1565
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1566
|
+
Origin URL changed. Creating new ZenCoder job.
|
1567
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:13:54.300472' WHERE "videos"."id" = 1[0m
|
1568
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1569
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1570
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1571
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1572
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1573
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1574
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1575
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1576
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1577
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1578
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1579
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1580
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1581
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1582
|
+
Unfinished job found. Updating details.
|
1583
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1584
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:13:54.529812' WHERE "videos"."id" = 1[0m
|
1585
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1586
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1587
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1588
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1589
|
+
Unfinished job found. Updating details.
|
1590
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1591
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:13:54.537618' WHERE "videos"."id" = 1[0m
|
1592
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1593
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1594
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1595
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1596
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1597
|
+
Unfinished job found. Updating details.
|
1598
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1599
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:13:54.560330' WHERE "videos"."id" = 1
|
1600
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1601
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1602
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1603
|
+
[1m[35mSQL (22.6ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1604
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1605
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1606
|
+
Origin URL changed. Creating new ZenCoder job.
|
1607
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:14:20.694388', "updated_at" = '2011-12-01 14:14:20.694700' WHERE "videos"."id" = 1[0m
|
1608
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1609
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1610
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1611
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1612
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1613
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1614
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1615
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1616
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1617
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1618
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1619
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1620
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1621
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1622
|
+
Unfinished job found. Updating details.
|
1623
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1624
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:14:20.921318' WHERE "videos"."id" = 1[0m
|
1625
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1626
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1627
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1628
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1629
|
+
Unfinished job found. Updating details.
|
1630
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1631
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:14:20.929075' WHERE "videos"."id" = 1[0m
|
1632
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1633
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1634
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1635
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1636
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1637
|
+
Unfinished job found. Updating details.
|
1638
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1639
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:14:20.951379' WHERE "videos"."id" = 1
|
1640
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1641
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1642
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1643
|
+
[1m[35mSQL (23.2ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1644
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1645
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1646
|
+
Origin URL changed. Creating new ZenCoder job.
|
1647
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:16:58.281337', "updated_at" = '2011-12-01 14:16:58.281637' WHERE "videos"."id" = 1[0m
|
1648
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1649
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1650
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1651
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1652
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1653
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1654
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1655
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1656
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1657
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1658
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1659
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1660
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1661
|
+
Unfinished job found. Updating details.
|
1662
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1663
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:16:58.468469' WHERE "videos"."id" = 1
|
1664
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1665
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1666
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1667
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1668
|
+
Unfinished job found. Updating details.
|
1669
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1670
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:16:58.476925' WHERE "videos"."id" = 1
|
1671
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1672
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1673
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1674
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1675
|
+
Unfinished job found. Updating details.
|
1676
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1677
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:16:58.486396' WHERE "videos"."id" = 1
|
1678
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1679
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1680
|
+
[1m[35mSQL (22.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1681
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1682
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1683
|
+
Origin URL changed. Creating new ZenCoder job.
|
1684
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:18:25.731376', "updated_at" = '2011-12-01 14:18:25.731721' WHERE "videos"."id" = 1[0m
|
1685
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1686
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1687
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1688
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1689
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1690
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1691
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1692
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1693
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1694
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1695
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1696
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1697
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1698
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1699
|
+
Unfinished job found. Updating details.
|
1700
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1701
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1702
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1703
|
+
Unfinished job found. Updating details.
|
1704
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1705
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1706
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1707
|
+
Unfinished job found. Updating details.
|
1708
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1709
|
+
[1m[35mSQL (22.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:20:08 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:20:08 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1710
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1711
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1712
|
+
Origin URL changed. Creating new ZenCoder job.
|
1713
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:20:08.090677', "updated_at" = '2011-12-01 14:20:08.090976' WHERE "videos"."id" = 1[0m
|
1714
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1715
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1716
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:20:08 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:20:08 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1717
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1718
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1719
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:20:08 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:20:08 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1720
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1721
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1722
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:20:08 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:20:08 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1723
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1724
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1725
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1726
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:20:08 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:20:08 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1727
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1728
|
+
Unfinished job found. Updating details.
|
1729
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1730
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:20:08 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:20:08 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1731
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1732
|
+
Unfinished job found. Updating details.
|
1733
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1734
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:20:08 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:20:08 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1735
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1736
|
+
Unfinished job found. Updating details.
|
1737
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1738
|
+
[1m[35mSQL (23.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:21:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:21:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1739
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1740
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1741
|
+
Origin URL changed. Creating new ZenCoder job.
|
1742
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:21:11.545556', "updated_at" = '2011-12-01 14:21:11.545858' WHERE "videos"."id" = 1[0m
|
1743
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1744
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1745
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:21:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:21:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1746
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1747
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1748
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:21:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:21:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1749
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1750
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1751
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:21:11 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:21:11 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1752
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1753
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1754
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1755
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:21:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:21:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1756
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1757
|
+
Unfinished job found. Updating details.
|
1758
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1759
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:21:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:21:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1760
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1761
|
+
Unfinished job found. Updating details.
|
1762
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1763
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:21:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:21:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1764
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1765
|
+
Unfinished job found. Updating details.
|
1766
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1767
|
+
[1m[35mSQL (22.6ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:22:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:22:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1768
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1769
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1770
|
+
Origin URL changed. Creating new ZenCoder job.
|
1771
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:22:42.035225', "updated_at" = '2011-12-01 14:22:42.035557' WHERE "videos"."id" = 1[0m
|
1772
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1773
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1774
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:22:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:22:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1775
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1776
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1777
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:22:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:22:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1778
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1779
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1780
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:22:42 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:22:42 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1781
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1782
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1783
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1784
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:22:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:22:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1785
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1786
|
+
Unfinished job found. Updating details.
|
1787
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1788
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:22:42.261647' WHERE "videos"."id" = 1[0m
|
1789
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1790
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1791
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:22:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:22:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1792
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1793
|
+
Unfinished job found. Updating details.
|
1794
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1795
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:22:42.269513' WHERE "videos"."id" = 1[0m
|
1796
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1797
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1798
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1799
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:22:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:22:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1800
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1801
|
+
Unfinished job found. Updating details.
|
1802
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1803
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:22:42.291827' WHERE "videos"."id" = 1
|
1804
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1805
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1806
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1807
|
+
[1m[35mSQL (23.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:23:18 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:23:18 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1808
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1809
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1810
|
+
Origin URL changed. Creating new ZenCoder job.
|
1811
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:23:18.788192', "updated_at" = '2011-12-01 14:23:18.788494' WHERE "videos"."id" = 1[0m
|
1812
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1813
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1814
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:23:18 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:23:18 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1815
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1816
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1817
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:23:18 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:23:18 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1818
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1819
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1820
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:23:18 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:23:18 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1821
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1822
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1823
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1824
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:23:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:23:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1825
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1826
|
+
Unfinished job found. Updating details.
|
1827
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1828
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:23:19.015093' WHERE "videos"."id" = 1[0m
|
1829
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1830
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1831
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:23:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:23:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1832
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1833
|
+
Unfinished job found. Updating details.
|
1834
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1835
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:23:19.022834' WHERE "videos"."id" = 1[0m
|
1836
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1837
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1838
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1839
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:23:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:23:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1840
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1841
|
+
Unfinished job found. Updating details.
|
1842
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1843
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:23:19.045308' WHERE "videos"."id" = 1
|
1844
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1845
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1846
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1847
|
+
[1m[35mSQL (23.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:23:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:23:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1848
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1849
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1850
|
+
Origin URL changed. Creating new ZenCoder job.
|
1851
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:23:50.790999', "updated_at" = '2011-12-01 14:23:50.791302' WHERE "videos"."id" = 1[0m
|
1852
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1853
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1854
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:23:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:23:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1855
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1856
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1857
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:23:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:23:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1858
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1859
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1860
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:23:50 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:23:50 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1861
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1862
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1863
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1864
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:23:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:23:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1865
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1866
|
+
Unfinished job found. Updating details.
|
1867
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
1868
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1869
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1870
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
1871
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1872
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1873
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1874
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:23:51.030458' WHERE "videos"."id" = 1[0m
|
1875
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1876
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1877
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:23:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:23:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1878
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1879
|
+
Unfinished job found. Updating details.
|
1880
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
1881
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1882
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:23:51 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 14:23:51 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
1883
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1884
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1885
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1886
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1887
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1888
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:23:51.044465' WHERE "videos"."id" = 1
|
1889
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1890
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1891
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:23:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:23:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1892
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1893
|
+
Unfinished job found. Updating details.
|
1894
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1895
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1896
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1897
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1898
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1899
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:23:51 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 14:23:51 UTC +00:00], ["video_id", 1]]
|
1900
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1901
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1902
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:23:51.067855' WHERE "videos"."id" = 1[0m
|
1903
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1904
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1905
|
+
[1m[35mSQL (28.4ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:26:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:26:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1906
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1907
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1908
|
+
Origin URL changed. Creating new ZenCoder job.
|
1909
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:26:27.902702', "updated_at" = '2011-12-01 14:26:27.903004' WHERE "videos"."id" = 1[0m
|
1910
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1911
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1912
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:26:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:26:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1913
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1914
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1915
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:26:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:26:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1916
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1917
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1918
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:26:28 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:26:28 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1919
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1920
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1921
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1922
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:26:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:26:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1923
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1924
|
+
Unfinished job found. Updating details.
|
1925
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
1926
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1927
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1928
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
1929
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1930
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1931
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1932
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:26:28.190281' WHERE "videos"."id" = 1[0m
|
1933
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1934
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1935
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:26:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:26:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1936
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1937
|
+
Unfinished job found. Updating details.
|
1938
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
1939
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1940
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:26:28 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 14:26:28 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
1941
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1942
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1943
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1944
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1945
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1946
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:26:28.204204' WHERE "videos"."id" = 1
|
1947
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1948
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1949
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:26:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:26:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1950
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1951
|
+
Unfinished job found. Updating details.
|
1952
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
1953
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1954
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1955
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
1956
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1957
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:26:28 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 14:26:28 UTC +00:00], ["video_id", 1]]
|
1958
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1959
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1960
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:26:28.228186' WHERE "videos"."id" = 1[0m
|
1961
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1962
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1963
|
+
[1m[35mSQL (23.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1964
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1965
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1966
|
+
Origin URL changed. Creating new ZenCoder job.
|
1967
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:29:52.738526', "updated_at" = '2011-12-01 14:29:52.738829' WHERE "videos"."id" = 1[0m
|
1968
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1969
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1970
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
1971
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1972
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1973
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
1974
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1975
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1976
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
1977
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1978
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
1979
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1980
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
1981
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1982
|
+
Unfinished job found. Updating details.
|
1983
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
1984
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1985
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1986
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
1987
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1988
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1989
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1990
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:29:52.976500' WHERE "videos"."id" = 1[0m
|
1991
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1992
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1993
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
1994
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1995
|
+
Unfinished job found. Updating details.
|
1996
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
1997
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1998
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
1999
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2000
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2001
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2002
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2003
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2004
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:29:52.990384' WHERE "videos"."id" = 1
|
2005
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2006
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2007
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:29:52 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2008
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2009
|
+
Unfinished job found. Updating details.
|
2010
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2011
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2012
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2013
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2014
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2015
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:29:53 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 14:29:53 UTC +00:00], ["video_id", 1]]
|
2016
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2017
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2018
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:29:53.013799' WHERE "videos"."id" = 1[0m
|
2019
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2020
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2021
|
+
[1m[35mSQL (23.6ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2022
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2023
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2024
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2025
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2026
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2027
|
+
Origin URL changed. Creating new ZenCoder job.
|
2028
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:30:26.440262', "updated_at" = '2011-12-01 14:30:26.440539' WHERE "videos"."id" = 1
|
2029
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2030
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2031
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2032
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2033
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2034
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2035
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2036
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2037
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2038
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2039
|
+
[1m[36mVideoFile Load (0.3ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1[0m
|
2040
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2041
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2042
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2043
|
+
Unfinished job found. Updating details.
|
2044
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2045
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2046
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2047
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2048
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2049
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2050
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2051
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:30:26.676566' WHERE "videos"."id" = 1
|
2052
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2053
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2054
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2055
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2056
|
+
Unfinished job found. Updating details.
|
2057
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2058
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2059
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2060
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2061
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2062
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2063
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2064
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2065
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:30:26.690331' WHERE "videos"."id" = 1[0m
|
2066
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2067
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2068
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2069
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2070
|
+
Unfinished job found. Updating details.
|
2071
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2072
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2073
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2074
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2075
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2076
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 14:30:26 UTC +00:00], ["video_id", 1]]
|
2077
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2078
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2079
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:30:26.713617' WHERE "videos"."id" = 1
|
2080
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2081
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2082
|
+
[1m[35mSQL (22.6ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2083
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2084
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2085
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2086
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2087
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2088
|
+
Origin URL changed. Creating new ZenCoder job.
|
2089
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:31:51.626547', "updated_at" = '2011-12-01 14:31:51.626827' WHERE "videos"."id" = 1
|
2090
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2091
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2092
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2093
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2094
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2095
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2096
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2097
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2098
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2099
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2100
|
+
[1m[36mVideoFile Load (0.3ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1[0m
|
2101
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2102
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2103
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2104
|
+
Unfinished job found. Updating details.
|
2105
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2106
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2107
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2108
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2109
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2110
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2111
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2112
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:31:51.860605' WHERE "videos"."id" = 1
|
2113
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2114
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2115
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2116
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2117
|
+
Unfinished job found. Updating details.
|
2118
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2119
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2120
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2121
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2122
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2123
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2124
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2125
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2126
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:31:51.874424' WHERE "videos"."id" = 1[0m
|
2127
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2129
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2130
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2131
|
+
Unfinished job found. Updating details.
|
2132
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2133
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2134
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2135
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2136
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2137
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 14:31:51 UTC +00:00], ["video_id", 1]]
|
2138
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2139
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2140
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:31:51.897782' WHERE "videos"."id" = 1
|
2141
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2142
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2143
|
+
Origin URL changed. Creating new ZenCoder job.
|
2144
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2145
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2146
|
+
[1m[35mSQL (22.7ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2147
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2148
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2149
|
+
Origin URL changed. Creating new ZenCoder job.
|
2150
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:52:29.095175', "updated_at" = '2011-12-01 14:52:29.095538' WHERE "videos"."id" = 1[0m
|
2151
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2152
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2153
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2154
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2155
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2156
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2157
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2158
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2159
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2160
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2161
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
2162
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2163
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2164
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2165
|
+
Unfinished job found. Updating details.
|
2166
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2167
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2168
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2169
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2170
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2171
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2172
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2173
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:52:29.329504' WHERE "videos"."id" = 1[0m
|
2174
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2175
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2176
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2177
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2178
|
+
Unfinished job found. Updating details.
|
2179
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2180
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2181
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2182
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2183
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2184
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2185
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2186
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2187
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:52:29.343271' WHERE "videos"."id" = 1
|
2188
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2189
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2190
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2191
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2192
|
+
Unfinished job found. Updating details.
|
2193
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2194
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2195
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2196
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2197
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2198
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 14:52:29 UTC +00:00], ["video_id", 1]]
|
2199
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2200
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2201
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:52:29.366508' WHERE "videos"."id" = 1[0m
|
2202
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2203
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2204
|
+
Origin URL changed. Creating new ZenCoder job.
|
2205
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2206
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2207
|
+
[1m[35mSQL (22.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2208
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2209
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2210
|
+
Origin URL changed. Creating new ZenCoder job.
|
2211
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:52:53.393420', "updated_at" = '2011-12-01 14:52:53.393720' WHERE "videos"."id" = 1[0m
|
2212
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2213
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2214
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2215
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2216
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2217
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2218
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2219
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2220
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2221
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2222
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
2223
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2224
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2225
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2226
|
+
Unfinished job found. Updating details.
|
2227
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2228
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2229
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2230
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2231
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2232
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2233
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2234
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:52:53.629681' WHERE "videos"."id" = 1[0m
|
2235
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2236
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2237
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2238
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2239
|
+
Unfinished job found. Updating details.
|
2240
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2241
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2242
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2243
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2244
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2245
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2246
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2247
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2248
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:52:53.643216' WHERE "videos"."id" = 1
|
2249
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2250
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2251
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2252
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2253
|
+
Unfinished job found. Updating details.
|
2254
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2255
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2256
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2257
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2258
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2259
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 14:52:53 UTC +00:00], ["video_id", 1]]
|
2260
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2261
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2262
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:52:53.666394' WHERE "videos"."id" = 1[0m
|
2263
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2264
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2265
|
+
Origin URL changed. Creating new ZenCoder job.
|
2266
|
+
[1m[35mSQL (45.6ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies video [HD].with extra unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2267
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2268
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2269
|
+
[1m[36mSQL (1.8ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2270
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2271
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2272
|
+
Origin URL changed. Creating new ZenCoder job.
|
2273
|
+
[1m[35m (0.6ms)[0m UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:53:31.076124', "updated_at" = '2011-12-01 14:53:31.076683' WHERE "videos"."id" = 1
|
2274
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2275
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2276
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2277
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2278
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2279
|
+
[1m[35mSQL (1.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2280
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2281
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2282
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2283
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2284
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1[0m
|
2285
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2286
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2287
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2288
|
+
Unfinished job found. Updating details.
|
2289
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2290
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2291
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2292
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2293
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2294
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2295
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2296
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:53:31.344169' WHERE "videos"."id" = 1
|
2297
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2298
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2299
|
+
[1m[36mSQL (40.1ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2300
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2301
|
+
Unfinished job found. Updating details.
|
2302
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2303
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2304
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2305
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2306
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2307
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2308
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2309
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2310
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:53:31.397895' WHERE "videos"."id" = 1[0m
|
2311
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2312
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2313
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2314
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2315
|
+
Unfinished job found. Updating details.
|
2316
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2317
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2318
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2319
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2320
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2321
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 14:53:31 UTC +00:00], ["video_id", 1]]
|
2322
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2323
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2324
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:53:31.422713' WHERE "videos"."id" = 1
|
2325
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2326
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2327
|
+
[1m[35mSQL (22.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2328
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2329
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2330
|
+
Origin URL changed. Creating new ZenCoder job.
|
2331
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:55:07.366191', "updated_at" = '2011-12-01 14:55:07.366497' WHERE "videos"."id" = 1[0m
|
2332
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2333
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2334
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2335
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2336
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2337
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2338
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2339
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2340
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2341
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2342
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
2343
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2344
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2345
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2346
|
+
Unfinished job found. Updating details.
|
2347
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2348
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2349
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2350
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2351
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2352
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2353
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2354
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:55:07.601221' WHERE "videos"."id" = 1[0m
|
2355
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2356
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2357
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2358
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2359
|
+
Unfinished job found. Updating details.
|
2360
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2361
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2362
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2363
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2364
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2365
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2366
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2367
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2368
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:55:07.614952' WHERE "videos"."id" = 1
|
2369
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2370
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2371
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2372
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2373
|
+
Unfinished job found. Updating details.
|
2374
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2375
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2376
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2377
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2378
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2379
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 14:55:07 UTC +00:00], ["video_id", 1]]
|
2380
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2381
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2382
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:55:07.638497' WHERE "videos"."id" = 1[0m
|
2383
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2384
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2385
|
+
[1m[35mSQL (22.7ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2386
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2387
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2388
|
+
Origin URL changed. Creating new ZenCoder job.
|
2389
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:56:05.745824', "updated_at" = '2011-12-01 14:56:05.746133' WHERE "videos"."id" = 1[0m
|
2390
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2391
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2392
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2393
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2394
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2395
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2396
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2397
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2398
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2399
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2400
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
2401
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2402
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2403
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2404
|
+
Unfinished job found. Updating details.
|
2405
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2406
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2407
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2408
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2409
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2410
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2411
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2412
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:56:05.979167' WHERE "videos"."id" = 1[0m
|
2413
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2414
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2415
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2416
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2417
|
+
Unfinished job found. Updating details.
|
2418
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2419
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2420
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2421
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2422
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2423
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2424
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2425
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2426
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:56:05.993047' WHERE "videos"."id" = 1
|
2427
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2428
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2429
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2430
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2431
|
+
Unfinished job found. Updating details.
|
2432
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2433
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2434
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2435
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2436
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2437
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:56:06 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 14:56:06 UTC +00:00], ["video_id", 1]]
|
2438
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2439
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2440
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:56:06.016549' WHERE "videos"."id" = 1[0m
|
2441
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2442
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2443
|
+
[1m[35mSQL (22.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2444
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2445
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2446
|
+
Origin URL changed. Creating new ZenCoder job.
|
2447
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:57:31.323565', "updated_at" = '2011-12-01 14:57:31.323880' WHERE "videos"."id" = 1[0m
|
2448
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2449
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2450
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2451
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2452
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2453
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2454
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2455
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2456
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2457
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2458
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
2459
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2460
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2461
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2462
|
+
Unfinished job found. Updating details.
|
2463
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2464
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2465
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2466
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2467
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2468
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2469
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2470
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:57:31.558660' WHERE "videos"."id" = 1[0m
|
2471
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2472
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2473
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2474
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2475
|
+
Unfinished job found. Updating details.
|
2476
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2477
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2478
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2479
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2480
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2481
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2482
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2483
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2484
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:57:31.572481' WHERE "videos"."id" = 1
|
2485
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2486
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2487
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2488
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2489
|
+
Unfinished job found. Updating details.
|
2490
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2491
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2492
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2493
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2494
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2495
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 14:57:31 UTC +00:00], ["video_id", 1]]
|
2496
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2497
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2498
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:57:31.596035' WHERE "videos"."id" = 1[0m
|
2499
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2500
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2501
|
+
[1m[35mSQL (23.2ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2502
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2503
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2504
|
+
Origin URL changed. Creating new ZenCoder job.
|
2505
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:59:19.205761', "updated_at" = '2011-12-01 14:59:19.206068' WHERE "videos"."id" = 1[0m
|
2506
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2507
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2508
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2509
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2510
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2511
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2512
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2513
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2514
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2515
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2516
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
2517
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2518
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2519
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2520
|
+
Unfinished job found. Updating details.
|
2521
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2522
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2523
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2524
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2525
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2526
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2527
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2528
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:59:19.442928' WHERE "videos"."id" = 1[0m
|
2529
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2530
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2531
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2532
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2533
|
+
Unfinished job found. Updating details.
|
2534
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2535
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2536
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2537
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2538
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2539
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2540
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2541
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2542
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:59:19.456778' WHERE "videos"."id" = 1
|
2543
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2544
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2545
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2546
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2547
|
+
Unfinished job found. Updating details.
|
2548
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2549
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2550
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2551
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2552
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2553
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 14:59:19 UTC +00:00], ["video_id", 1]]
|
2554
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2555
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2556
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:59:19.480431' WHERE "videos"."id" = 1[0m
|
2557
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2558
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2559
|
+
[1m[35mSQL (22.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 15:00:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 15:00:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2560
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2561
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2562
|
+
Origin URL changed. Creating new ZenCoder job.
|
2563
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 15:00:27.970129', "updated_at" = '2011-12-01 15:00:27.970442' WHERE "videos"."id" = 1[0m
|
2564
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2565
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2566
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 15:00:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 15:00:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2567
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2568
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2569
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 15:00:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 15:00:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2570
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2571
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2572
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 15:00:28 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 15:00:28 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2573
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2574
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
2575
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2576
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 15:00:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 15:00:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2577
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2578
|
+
Unfinished job found. Updating details.
|
2579
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2580
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2581
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2582
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2583
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2584
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2585
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2586
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 15:00:28.205059' WHERE "videos"."id" = 1[0m
|
2587
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2588
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2589
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 15:00:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 15:00:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2590
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2591
|
+
Unfinished job found. Updating details.
|
2592
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2593
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2594
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 15:00:28 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 15:00:28 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2595
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2596
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2597
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2598
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2599
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2600
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 15:00:28.218806' WHERE "videos"."id" = 1
|
2601
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2602
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2603
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 15:00:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 15:00:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2604
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2605
|
+
Unfinished job found. Updating details.
|
2606
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2607
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2608
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2609
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2610
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2611
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 15:00:28 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 15:00:28 UTC +00:00], ["video_id", 1]]
|
2612
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2613
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2614
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 15:00:28.242427' WHERE "videos"."id" = 1[0m
|
2615
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2616
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2617
|
+
[1m[35mSQL (22.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2618
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2619
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2620
|
+
Origin URL changed. Creating new ZenCoder job.
|
2621
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 15:02:22.680340', "updated_at" = '2011-12-01 15:02:22.680651' WHERE "videos"."id" = 1[0m
|
2622
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2623
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2624
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2625
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2626
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2627
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2628
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2629
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2630
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2631
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2632
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
2633
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2634
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2635
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2636
|
+
Unfinished job found. Updating details.
|
2637
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2638
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2639
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2640
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2641
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2642
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2643
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2644
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 15:02:22.920457' WHERE "videos"."id" = 1[0m
|
2645
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2646
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2647
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2648
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2649
|
+
Unfinished job found. Updating details.
|
2650
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2651
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2652
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2653
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2654
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2655
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2656
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2657
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2658
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 15:02:22.934713' WHERE "videos"."id" = 1
|
2659
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2660
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2661
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2662
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2663
|
+
Unfinished job found. Updating details.
|
2664
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2665
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2666
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2667
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2668
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2669
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 15:02:22 UTC +00:00], ["video_id", 1]]
|
2670
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2671
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2672
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 15:02:22.958641' WHERE "videos"."id" = 1[0m
|
2673
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2674
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2675
|
+
[1m[35mSQL (23.3ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:15:04 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:15:04 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2676
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2677
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2678
|
+
Origin URL changed. Creating new ZenCoder job.
|
2679
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 16:15:04.862551', "updated_at" = '2011-12-01 16:15:04.862865' WHERE "videos"."id" = 1[0m
|
2680
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2681
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2682
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:15:04 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:15:04 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2683
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2684
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2685
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:15:04 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:15:04 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2686
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2687
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2688
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:15:04 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 16:15:04 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2689
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2690
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
2691
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2692
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:15:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:15:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2693
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2694
|
+
Unfinished job found. Updating details.
|
2695
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2696
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2697
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2698
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2699
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2700
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2701
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2702
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 16:15:05.101385' WHERE "videos"."id" = 1[0m
|
2703
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2704
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2705
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:15:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:15:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2706
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2707
|
+
Unfinished job found. Updating details.
|
2708
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2709
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2710
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:15:05 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 16:15:05 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2711
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2712
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2713
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2714
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2715
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2716
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:15:05.115106' WHERE "videos"."id" = 1
|
2717
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2718
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2719
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:15:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:15:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2720
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2721
|
+
Unfinished job found. Updating details.
|
2722
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2723
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2724
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2725
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2726
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2727
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:15:05 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 16:15:05 UTC +00:00], ["video_id", 1]]
|
2728
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2729
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2730
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:15:05.139061' WHERE "videos"."id" = 1[0m
|
2731
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2732
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2733
|
+
[1m[35mSQL (22.7ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2734
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2735
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2736
|
+
Origin URL changed. Creating new ZenCoder job.
|
2737
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 16:16:14.590120', "updated_at" = '2011-12-01 16:16:14.590431' WHERE "videos"."id" = 1[0m
|
2738
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2739
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2740
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2741
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2742
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2743
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2744
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2745
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2746
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2747
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2748
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
2749
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2750
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2751
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2752
|
+
Unfinished job found. Updating details.
|
2753
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2754
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2755
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2756
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2757
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2758
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2759
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2760
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 16:16:14.823842' WHERE "videos"."id" = 1[0m
|
2761
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2762
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2763
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2764
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2765
|
+
Unfinished job found. Updating details.
|
2766
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2767
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2768
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2769
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2770
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2771
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2772
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2773
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2774
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:16:14.837539' WHERE "videos"."id" = 1
|
2775
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2776
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2777
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2778
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2779
|
+
Unfinished job found. Updating details.
|
2780
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2781
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2782
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2783
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2784
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2785
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 16:16:14 UTC +00:00], ["video_id", 1]]
|
2786
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2787
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2788
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:16:14.861086' WHERE "videos"."id" = 1[0m
|
2789
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2790
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2791
|
+
[1m[35mSQL (24.4ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2792
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2793
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2794
|
+
Origin URL changed. Creating new ZenCoder job.
|
2795
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 16:16:36.237279', "updated_at" = '2011-12-01 16:16:36.237624' WHERE "videos"."id" = 1[0m
|
2796
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2797
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2798
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2799
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2800
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2801
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2802
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2803
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2804
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2805
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2806
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
2807
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2808
|
+
[1m[35mSQL (2.7ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2809
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2810
|
+
Unfinished job found. Updating details.
|
2811
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2812
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2813
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2814
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2815
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2816
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2817
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2818
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 16:16:36.540328' WHERE "videos"."id" = 1[0m
|
2819
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2820
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2821
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2822
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2823
|
+
Unfinished job found. Updating details.
|
2824
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2825
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2826
|
+
[1m[35mSQL (1.5ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2827
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2828
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2829
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2830
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2831
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2832
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:16:36.554507' WHERE "videos"."id" = 1
|
2833
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2834
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2835
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2836
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2837
|
+
Unfinished job found. Updating details.
|
2838
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2839
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2840
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2841
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2842
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2843
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 16:16:36 UTC +00:00], ["video_id", 1]]
|
2844
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2845
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2846
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:16:36.586104' WHERE "videos"."id" = 1[0m
|
2847
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2848
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2849
|
+
[1m[35mSQL (22.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2850
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2851
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2852
|
+
Origin URL changed. Creating new ZenCoder job.
|
2853
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 16:17:57.517273', "updated_at" = '2011-12-01 16:17:57.517579' WHERE "videos"."id" = 1[0m
|
2854
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2855
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2856
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2857
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2858
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2859
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2860
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2861
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2862
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2863
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2864
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
2865
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2866
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2867
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2868
|
+
Unfinished job found. Updating details.
|
2869
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2870
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2871
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2872
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2873
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2874
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2875
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2876
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 16:17:57.779553' WHERE "videos"."id" = 1[0m
|
2877
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2878
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2879
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2880
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2881
|
+
Unfinished job found. Updating details.
|
2882
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2883
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2884
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2885
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2886
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2887
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2888
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2889
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2890
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:17:57.793452' WHERE "videos"."id" = 1
|
2891
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2892
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2893
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2894
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2895
|
+
Unfinished job found. Updating details.
|
2896
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2897
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2898
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2899
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2900
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2901
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 16:17:57 UTC +00:00], ["video_id", 1]]
|
2902
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2903
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2904
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:17:57.816957' WHERE "videos"."id" = 1[0m
|
2905
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2906
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2907
|
+
[1m[35mSQL (22.6ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2908
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2909
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2910
|
+
Origin URL changed. Creating new ZenCoder job.
|
2911
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 16:18:19.260387', "updated_at" = '2011-12-01 16:18:19.260690' WHERE "videos"."id" = 1[0m
|
2912
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2913
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2914
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2915
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2916
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2917
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2918
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2919
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2920
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2921
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2922
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
2923
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2924
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2925
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2926
|
+
Unfinished job found. Updating details.
|
2927
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2928
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2929
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2930
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2931
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2932
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2933
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2934
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 16:18:19.494157' WHERE "videos"."id" = 1[0m
|
2935
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2936
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2937
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2938
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2939
|
+
Unfinished job found. Updating details.
|
2940
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2941
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2942
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
2943
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2944
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2945
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2946
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2947
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2948
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:18:19.508067' WHERE "videos"."id" = 1
|
2949
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2950
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2951
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2952
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2953
|
+
Unfinished job found. Updating details.
|
2954
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
2955
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2956
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2957
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
2958
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2959
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 16:18:19 UTC +00:00], ["video_id", 1]]
|
2960
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2961
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2962
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:18:19.531618' WHERE "videos"."id" = 1[0m
|
2963
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2964
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2965
|
+
[1m[35mSQL (22.6ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2966
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2967
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2968
|
+
Origin URL changed. Creating new ZenCoder job.
|
2969
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 16:46:11.523787', "updated_at" = '2011-12-01 16:46:11.524088' WHERE "videos"."id" = 1[0m
|
2970
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2971
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2972
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
2973
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2974
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2975
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
2976
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2977
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2978
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
2979
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2980
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
2981
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2982
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
2983
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2984
|
+
Unfinished job found. Updating details.
|
2985
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2986
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2987
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2988
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
2989
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2990
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2991
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2992
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 16:46:11.756566' WHERE "videos"."id" = 1[0m
|
2993
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2994
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2995
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
2996
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2997
|
+
Unfinished job found. Updating details.
|
2998
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
2999
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3000
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3001
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3002
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3003
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3004
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3005
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3006
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:46:11.770221' WHERE "videos"."id" = 1
|
3007
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3008
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3009
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3010
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3011
|
+
Unfinished job found. Updating details.
|
3012
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
3013
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3014
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3015
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3016
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3017
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 16:46:11 UTC +00:00], ["video_id", 1]]
|
3018
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3019
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3020
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:46:11.793421' WHERE "videos"."id" = 1[0m
|
3021
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3022
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3023
|
+
[1m[35mSQL (22.7ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:48:03 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:48:03 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3024
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3025
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3026
|
+
Origin URL changed. Creating new ZenCoder job.
|
3027
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 16:48:03.823450', "updated_at" = '2011-12-01 16:48:03.823783' WHERE "videos"."id" = 1[0m
|
3028
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3029
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3030
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:48:03 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:48:03 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3031
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3032
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3033
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:48:03 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:48:03 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3034
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3035
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3036
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:48:03 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 16:48:03 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
3037
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3038
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
3039
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3040
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:48:04 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:48:04 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3041
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3042
|
+
Unfinished job found. Updating details.
|
3043
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3044
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3045
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3046
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
3047
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3048
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3049
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3050
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 16:48:04.056152' WHERE "videos"."id" = 1[0m
|
3051
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3052
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3053
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:48:04 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:48:04 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3054
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3055
|
+
Unfinished job found. Updating details.
|
3056
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3057
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3058
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:48:04 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 16:48:04 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3059
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3060
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3061
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3062
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3063
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3064
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:48:04.069750' WHERE "videos"."id" = 1
|
3065
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3066
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3067
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:48:04 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:48:04 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3068
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3069
|
+
Unfinished job found. Updating details.
|
3070
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
3071
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3072
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3073
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3074
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3075
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:48:04 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 16:48:04 UTC +00:00], ["video_id", 1]]
|
3076
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3077
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3078
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:48:04.092768' WHERE "videos"."id" = 1[0m
|
3079
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3080
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3081
|
+
[1m[35mSQL (22.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3082
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3083
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3084
|
+
Origin URL changed. Creating new ZenCoder job.
|
3085
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 16:50:23.140408', "updated_at" = '2011-12-01 16:50:23.140700' WHERE "videos"."id" = 1[0m
|
3086
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3087
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3088
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3089
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3090
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3091
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3092
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3093
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3094
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
3095
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3096
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
3097
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3098
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3099
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3100
|
+
Unfinished job found. Updating details.
|
3101
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3102
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3103
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3104
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
3105
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3106
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3107
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3108
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 16:50:23.374088' WHERE "videos"."id" = 1[0m
|
3109
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3110
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3111
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3112
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3113
|
+
Unfinished job found. Updating details.
|
3114
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3115
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3116
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3117
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3118
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3119
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3120
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3121
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3122
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:50:23.387732' WHERE "videos"."id" = 1
|
3123
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3124
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3125
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3126
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3127
|
+
Unfinished job found. Updating details.
|
3128
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
3129
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3130
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3131
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3132
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3133
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 16:50:23 UTC +00:00], ["video_id", 1]]
|
3134
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3135
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3136
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:50:23.410672' WHERE "videos"."id" = 1[0m
|
3137
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3138
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3139
|
+
[1m[35mSQL (22.5ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:51:01 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:51:01 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3140
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3141
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3142
|
+
Origin URL changed. Creating new ZenCoder job.
|
3143
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 16:51:01.937081', "updated_at" = '2011-12-01 16:51:01.937372' WHERE "videos"."id" = 1[0m
|
3144
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3145
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3146
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:51:01 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:51:01 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3147
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3148
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3149
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:51:01 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:51:01 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3150
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3151
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3152
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:51:02 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 16:51:02 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
3153
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3154
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
3155
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3156
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:51:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:51:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3157
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3158
|
+
Unfinished job found. Updating details.
|
3159
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3160
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3161
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3162
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
3163
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3164
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3165
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3166
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 16:51:02.169897' WHERE "videos"."id" = 1[0m
|
3167
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3168
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3169
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:51:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:51:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3170
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3171
|
+
Unfinished job found. Updating details.
|
3172
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3173
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3174
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:51:02 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 16:51:02 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3175
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3176
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3177
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3178
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3179
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3180
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:51:02.183542' WHERE "videos"."id" = 1
|
3181
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3182
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3183
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 16:51:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 16:51:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3184
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3185
|
+
Unfinished job found. Updating details.
|
3186
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
3187
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3188
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3189
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3190
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3191
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 16:51:02 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 16:51:02 UTC +00:00], ["video_id", 1]]
|
3192
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3193
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3194
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 16:51:02.206744' WHERE "videos"."id" = 1[0m
|
3195
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3196
|
+
[1m[36mSQL (55.7ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 18:49:04 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 18:49:04 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3197
|
+
Origin URL changed. Creating new ZenCoder job.
|
3198
|
+
[1m[35m (0.4ms)[0m UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 18:49:04.948971', "updated_at" = '2011-12-01 18:49:04.949309' WHERE "videos"."id" = 1
|
3199
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 18:49:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 18:49:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3200
|
+
[1m[35mSQL (1.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 18:49:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 18:49:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3201
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 18:49:05 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 18:49:05 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 3], ["width", 800], ["zencoder_file_id", 12345329]]
|
3202
|
+
[1m[35mVideoFile Load (0.4ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 3 AND "video_files"."format" = 'webm' LIMIT 1
|
3203
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 18:49:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 18:49:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3204
|
+
Unfinished job found. Updating details.
|
3205
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 4
|
3206
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 4[0m
|
3207
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 18:49:05.723982' WHERE "videos"."id" = 4
|
3208
|
+
[1m[36mSQL (1.8ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 18:49:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 18:49:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3209
|
+
Unfinished job found. Updating details.
|
3210
|
+
[1m[35mVideoFile Load (0.5ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 5
|
3211
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 18:49:05 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 01 Dec 2011 18:49:05 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 5], ["width", nil], ["zencoder_file_id", nil]]
|
3212
|
+
[1m[35mVideoFileThumbnail Load (0.5ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 5
|
3213
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 18:49:05.917578' WHERE "videos"."id" = 5[0m
|
3214
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 18:49:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 18:49:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3215
|
+
Unfinished job found. Updating details.
|
3216
|
+
[1m[36mVideoFile Load (0.3ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 6[0m
|
3217
|
+
[1m[35mVideoFileThumbnail Load (0.3ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 6
|
3218
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 01 Dec 2011 18:49:06 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Thu, 01 Dec 2011 18:49:06 UTC +00:00], ["video_id", 6]]
|
3219
|
+
[1m[35m (0.4ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 18:49:06.114476' WHERE "videos"."id" = 6
|
3220
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3221
|
+
[1m[35mSQL (23.2ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3222
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3223
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3224
|
+
Origin URL changed. Creating new ZenCoder job.
|
3225
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-02 03:51:51.717090', "updated_at" = '2011-12-02 03:51:51.717389' WHERE "videos"."id" = 1[0m
|
3226
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3227
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3228
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3229
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3230
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3231
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3232
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3233
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3234
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
3235
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3236
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
3237
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3238
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3239
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3240
|
+
Unfinished job found. Updating details.
|
3241
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3242
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3243
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3244
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
3245
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3246
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3247
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3248
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-02 03:51:51.954130' WHERE "videos"."id" = 1[0m
|
3249
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3250
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3251
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3252
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3253
|
+
Unfinished job found. Updating details.
|
3254
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3255
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3256
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3257
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3258
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3259
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3260
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3261
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3262
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-02 03:51:51.967951' WHERE "videos"."id" = 1
|
3263
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3264
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3265
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3266
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3267
|
+
Unfinished job found. Updating details.
|
3268
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
3269
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3270
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3271
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3272
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3273
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Fri, 02 Dec 2011 03:51:51 UTC +00:00], ["video_id", 1]]
|
3274
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3275
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3276
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-02 03:51:51.990821' WHERE "videos"."id" = 1[0m
|
3277
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3278
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3279
|
+
[1m[35mSQL (23.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3280
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3281
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3282
|
+
Origin URL changed. Creating new ZenCoder job.
|
3283
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-02 05:41:11.526058', "updated_at" = '2011-12-02 05:41:11.526358' WHERE "videos"."id" = 1[0m
|
3284
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3285
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3286
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3287
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3288
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3289
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3290
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3291
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3292
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
3293
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3294
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
3295
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3296
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3297
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3298
|
+
Unfinished job found. Updating details.
|
3299
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3300
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3301
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3302
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
3303
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3305
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3306
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-02 05:41:11.762688' WHERE "videos"."id" = 1[0m
|
3307
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3308
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3309
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3310
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3311
|
+
Unfinished job found. Updating details.
|
3312
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3313
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3314
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3315
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3316
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3317
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3318
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3319
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3320
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-02 05:41:11.776326' WHERE "videos"."id" = 1
|
3321
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3322
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3323
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3324
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3325
|
+
Unfinished job found. Updating details.
|
3326
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
3327
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3328
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3329
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3330
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3331
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Fri, 02 Dec 2011 05:41:11 UTC +00:00], ["video_id", 1]]
|
3332
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3333
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3334
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-02 05:41:11.799040' WHERE "videos"."id" = 1[0m
|
3335
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3336
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3337
|
+
[1m[35mSQL (24.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 17:59:59 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 17:59:59 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3338
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3339
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3340
|
+
Origin URL changed. Creating new ZenCoder job.
|
3341
|
+
ZenCoder job created, ID = 123
|
3342
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-02 17:59:59.864487', "updated_at" = '2011-12-02 17:59:59.864825' WHERE "videos"."id" = 1[0m
|
3343
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3344
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3345
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 17:59:59 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 17:59:59 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3346
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3347
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3348
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 02 Dec 2011 17:59:59 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 17:59:59 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3349
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3350
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3351
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 17:59:59 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Fri, 02 Dec 2011 17:59:59 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
|
3352
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3353
|
+
[1m[35mVideoFile Load (0.3ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
|
3354
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3355
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 18:00:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 18:00:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3356
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3357
|
+
Unfinished job found. Updating details.
|
3358
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3359
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3360
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3361
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
3362
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3363
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3364
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3365
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-02 18:00:00.110675' WHERE "videos"."id" = 1[0m
|
3366
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3367
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3368
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 18:00:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 18:00:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3369
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3370
|
+
Unfinished job found. Updating details.
|
3371
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3372
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3373
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 18:00:00 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Fri, 02 Dec 2011 18:00:00 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3374
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3375
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3376
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3377
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3378
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3379
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-02 18:00:00.124268' WHERE "videos"."id" = 1
|
3380
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3381
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3382
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 02 Dec 2011 18:00:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Fri, 02 Dec 2011 18:00:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3383
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3384
|
+
Unfinished job found. Updating details.
|
3385
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
3386
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3387
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3388
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3389
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3390
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "video_file_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Dec 2011 18:00:00 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Fri, 02 Dec 2011 18:00:00 UTC +00:00], ["video_id", 1]]
|
3391
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3392
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3393
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-02 18:00:00.146796' WHERE "videos"."id" = 1[0m
|
3394
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|