zencodable 0.1.6 → 0.2.0
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/README.md +12 -3
- data/lib/zencodable.rb +25 -16
- data/lib/zencodable/version.rb +1 -1
- data/test/debug.log +1124 -0
- data/test/dummy/app/models/video.rb +1 -1
- data/test/zencodable_test.rb +23 -11
- metadata +16 -16
data/README.md
CHANGED
@@ -8,7 +8,7 @@ class Video < ActiveRecord::Base
|
|
8
8
|
has_video_encodings :video_files, :formats => [:ogg, :mp4, :webm, :flv],
|
9
9
|
:output_dimensions => '852x480',
|
10
10
|
:s3_config => "#{Rails.root}/config/amazon_s3.yml",
|
11
|
-
:path => "videos/zc/:
|
11
|
+
:path => "videos/zc/:title_to_slug/",
|
12
12
|
:thumbnails => { :number => 2, :aspect_mode => 'crop', 'size' => '290x160' },
|
13
13
|
:options => { :device_profile => 'mobile/advanced' }
|
14
14
|
|
@@ -75,10 +75,19 @@ add something like the above `has_video_encodings` class method to your model (t
|
|
75
75
|
|
76
76
|
The options should include a `:s3_config` key that gives a location of a YAML file containing your S3 credentials, which should contain a 'bucket' key (you already have one, right?) Actually, all we need from that is the bucket name, so you can instead use a `:bucket` key to give the name of the bucket where the output files should be placed.
|
77
77
|
|
78
|
-
The `:path` option can be any path within that bucket. It can contain a `:basename` token, which will be replaced with a sanitized, URL-encoded version of the original filename as uploaded.
|
79
|
-
|
80
78
|
`:formats` is a list of output formats you'd like. [Supported formats and codecs](https://app.zencoder.com/docs/api/encoding/format-and-codecs/format)
|
81
79
|
|
80
|
+
The `:path` is the path within the bucket where the output files should be placed. It can contain one or more `:some_method` tokens, which will be replaced with the (String) results of calling the given method on your record. _i.e._, given
|
81
|
+
```ruby
|
82
|
+
class Video < ActiveRecord::Base
|
83
|
+
has_video_encodings :video_files, :path => 'some/path/on/s3/:project_id/:slug'
|
84
|
+
|
85
|
+
def project_id; project.id.to_s; end
|
86
|
+
def slug; title.to_slug; end
|
87
|
+
end
|
88
|
+
```
|
89
|
+
the paths within your S3 bucket will look like `/some/path/on/s3/12493/lion-eats-kitteh/`. (the individual file/object names will be based on a sanitized version of the original file name)
|
90
|
+
|
82
91
|
The other options are all those that can be handled by Zencoder. More info can be found on [:thumbnails](https://app.zencoder.com/docs/api/encoding/thumbnails), [:output_dimensions](https://app.zencoder.com/docs/api/encoding/resolution/size) and other output settings [:options](https://app.zencoder.com/docs/api/encoding)
|
83
92
|
|
84
93
|
### Give it a source URL
|
data/lib/zencodable.rb
CHANGED
@@ -4,7 +4,7 @@ module Zencodable
|
|
4
4
|
extend ActiveSupport::Concern
|
5
5
|
|
6
6
|
included do
|
7
|
-
class_attribute :
|
7
|
+
class_attribute :encoding_options
|
8
8
|
class_attribute :encoder_output_files_association
|
9
9
|
class_attribute :encoder_thumbnails_association
|
10
10
|
end
|
@@ -12,7 +12,7 @@ module Zencodable
|
|
12
12
|
module ClassMethods
|
13
13
|
|
14
14
|
def has_video_encodings target_association, options = {}
|
15
|
-
self.
|
15
|
+
self.encoding_options = options
|
16
16
|
self.encoder_output_files_association = target_association
|
17
17
|
|
18
18
|
has_many self.encoder_output_files_association, :dependent => :destroy
|
@@ -44,7 +44,7 @@ module Zencodable
|
|
44
44
|
def create_job
|
45
45
|
if self.origin_url_changed?
|
46
46
|
logger.debug "Origin URL changed. Creating new ZenCoder job."
|
47
|
-
if @job = Encoder::Job.create(
|
47
|
+
if @job = Encoder::Job.create(self)
|
48
48
|
logger.debug "ZenCoder job created, ID = #{@job.id}"
|
49
49
|
self.zencoder_job_id = @job.id
|
50
50
|
self.zencoder_job_status = 'new'
|
@@ -124,22 +124,22 @@ module Zencodable
|
|
124
124
|
|
125
125
|
attr_accessor :mock_all_requests
|
126
126
|
|
127
|
-
def create
|
128
|
-
response = super(:input =>
|
129
|
-
:outputs => build_encoder_output_options(
|
127
|
+
def create origin_file
|
128
|
+
response = super(:input => origin_file.origin_url,
|
129
|
+
:outputs => build_encoder_output_options(origin_file))
|
130
130
|
if response.code == 201
|
131
131
|
job_id = response.body['id']
|
132
132
|
self.new(job_id)
|
133
133
|
end
|
134
134
|
end
|
135
135
|
|
136
|
-
def build_encoder_output_options
|
136
|
+
def build_encoder_output_options origin_file
|
137
137
|
|
138
|
-
|
138
|
+
settings = origin_file.class.encoding_options
|
139
139
|
|
140
|
-
|
140
|
+
formats = settings[:formats] || [:mp4]
|
141
141
|
|
142
|
-
s3_base_url = s3_url(
|
142
|
+
s3_base_url = s3_url(origin_file, (settings[:bucket] || s3_bucket_name(settings[:s3_config])))
|
143
143
|
|
144
144
|
defaults = { :public => true, :mock => self.mock_request? }
|
145
145
|
|
@@ -147,7 +147,10 @@ module Zencodable
|
|
147
147
|
|
148
148
|
defaults = defaults.merge(settings[:options]) if settings[:options]
|
149
149
|
|
150
|
-
output_settings = formats.collect{ |f| defaults.merge( :format => f.to_s,
|
150
|
+
output_settings = formats.collect{ |f| defaults.merge( :format => f.to_s,
|
151
|
+
:label => f.to_s,
|
152
|
+
:filename => file_basename(origin_file.origin_url) + ".#{f}",
|
153
|
+
:base_url => s3_base_url ) }
|
151
154
|
|
152
155
|
if settings[:thumbnails]
|
153
156
|
output_settings[0][:thumbnails] = {:base_url => s3_base_url}.merge(settings[:thumbnails])
|
@@ -156,17 +159,23 @@ module Zencodable
|
|
156
159
|
|
157
160
|
end
|
158
161
|
|
159
|
-
def s3_url
|
162
|
+
def s3_url origin_file, bucket
|
163
|
+
path = origin_file.class.encoding_options[:path]
|
164
|
+
path.scan(%r|:[a-z]\w+\b|) do |match|
|
165
|
+
method = match.gsub(/^:/,'').to_sym
|
166
|
+
path = path.gsub(/#{match}/, origin_file.send(method)) if origin_file.respond_to?(method)
|
167
|
+
end
|
168
|
+
"s3://#{bucket}.s3.amazonaws.com/#{path.gsub(%r#/\z#, '')}/"
|
169
|
+
end
|
170
|
+
|
171
|
+
def file_basename origin_url
|
160
172
|
basename = origin_url.match( %r|([^/][^/\?]+)[^/]*\.[^.]+\z| )[1] # matches filename without extension
|
161
|
-
basename
|
162
|
-
path = path.gsub(%r|:basename\b|, basename)
|
163
|
-
"s3://#{bucket}.s3.amazonaws.com/#{path}/"
|
173
|
+
basename.downcase.squish.gsub(/\s+/, '-').gsub(/[^\w\d_.-]/, '') # cheap/ugly to_url
|
164
174
|
end
|
165
175
|
|
166
176
|
def s3_bucket_name s3_config_file
|
167
177
|
s3_config_file ||= "#{Rails.root}/config/s3.yml"
|
168
178
|
@s3_config ||= YAML.load_file(s3_config_file)[Rails.env].symbolize_keys
|
169
|
-
puts @s3_config.inspect
|
170
179
|
@s3_config[:bucket_name]
|
171
180
|
end
|
172
181
|
|
data/lib/zencodable/version.rb
CHANGED
data/test/debug.log
CHANGED
@@ -3580,3 +3580,1127 @@ Unfinished job found. Updating details.
|
|
3580
3580
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3581
3581
|
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-07 21:40:12.443698' WHERE "videos"."id" = 1[0m
|
3582
3582
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3583
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3584
|
+
[1m[35mSQL (21.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, 08 Dec 2011 19:44:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:44:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3585
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3586
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3587
|
+
Origin URL changed. Creating new ZenCoder job.
|
3588
|
+
ZenCoder job created, ID = 123
|
3589
|
+
[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-08 19:44:53.749168', "updated_at" = '2011-12-08 19:44:53.749466' WHERE "videos"."id" = 1[0m
|
3590
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3591
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3592
|
+
[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, 08 Dec 2011 19:44:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:44:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3593
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3594
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3595
|
+
[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, 08 Dec 2011 19:44:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:44:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3596
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3597
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3598
|
+
[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, 08 Dec 2011 19:44:53 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 19:44: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]]
|
3599
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3600
|
+
[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
|
3601
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
3602
|
+
[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, 08 Dec 2011 19:44:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:44:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3603
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3604
|
+
Unfinished job found. Updating details.
|
3605
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3606
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 19:44:53.970666' WHERE "videos"."id" = 1[0m
|
3607
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3608
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3609
|
+
[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, 08 Dec 2011 19:44:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:44:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3610
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3611
|
+
Unfinished job found. Updating details.
|
3612
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3613
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3614
|
+
[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, 08 Dec 2011 19:44:53 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 19:44:53 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3615
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3616
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3617
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 19:44:53.983685' WHERE "videos"."id" = 1[0m
|
3618
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3619
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3620
|
+
[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, 08 Dec 2011 19:44:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:44:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3621
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3622
|
+
Unfinished job found. Updating details.
|
3623
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3624
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3625
|
+
[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, 08 Dec 2011 19:44:54 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, 08 Dec 2011 19:44:54 UTC +00:00], ["video_id", 1]]
|
3626
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3627
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3628
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 19:44:54.010867' WHERE "videos"."id" = 1[0m
|
3629
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3630
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3631
|
+
[1m[35mSQL (20.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, 08 Dec 2011 19:45:21 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:45:21 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3632
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3633
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3634
|
+
Origin URL changed. Creating new ZenCoder job.
|
3635
|
+
ZenCoder job created, ID = 123
|
3636
|
+
[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-08 19:45:21.221726', "updated_at" = '2011-12-08 19:45:21.222023' WHERE "videos"."id" = 1[0m
|
3637
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3638
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3639
|
+
[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, 08 Dec 2011 19:45:21 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:45:21 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3640
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3641
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3642
|
+
[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, 08 Dec 2011 19:45:21 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:45:21 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3643
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3644
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3645
|
+
[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, 08 Dec 2011 19:45:21 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 19:45:21 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]]
|
3646
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3647
|
+
[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
|
3648
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3649
|
+
[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, 08 Dec 2011 19:45:21 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:45:21 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3650
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3651
|
+
Unfinished job found. Updating details.
|
3652
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3653
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 19:45:21.436484' WHERE "videos"."id" = 1[0m
|
3654
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3655
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3656
|
+
[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, 08 Dec 2011 19:45:21 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:45:21 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3657
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3658
|
+
Unfinished job found. Updating details.
|
3659
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3660
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3661
|
+
[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, 08 Dec 2011 19:45:21 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 19:45:21 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3662
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3663
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3664
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 19:45:21.448676' WHERE "videos"."id" = 1[0m
|
3665
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3666
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3667
|
+
[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, 08 Dec 2011 19:45:21 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:45:21 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3668
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3669
|
+
Unfinished job found. Updating details.
|
3670
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3671
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3672
|
+
[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, 08 Dec 2011 19:45:21 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, 08 Dec 2011 19:45:21 UTC +00:00], ["video_id", 1]]
|
3673
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3674
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3675
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 19:45:21.473449' WHERE "videos"."id" = 1[0m
|
3676
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3677
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3678
|
+
[1m[35mSQL (21.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, 08 Dec 2011 19:47:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:47:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3679
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3680
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3681
|
+
Origin URL changed. Creating new ZenCoder job.
|
3682
|
+
ZenCoder job created, ID = 123
|
3683
|
+
[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-08 19:47:10.313582', "updated_at" = '2011-12-08 19:47:10.313886' WHERE "videos"."id" = 1[0m
|
3684
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3685
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3686
|
+
[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, 08 Dec 2011 19:47:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:47:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3687
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3688
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3689
|
+
[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, 08 Dec 2011 19:47:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:47:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3690
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3691
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3692
|
+
[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, 08 Dec 2011 19:47:10 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 19:47: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]]
|
3693
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3694
|
+
[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
|
3695
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3696
|
+
[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, 08 Dec 2011 19:47:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:47:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3697
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3698
|
+
Unfinished job found. Updating details.
|
3699
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3700
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 19:47:10.529399' WHERE "videos"."id" = 1[0m
|
3701
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3702
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3703
|
+
[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, 08 Dec 2011 19:47:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:47:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3704
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3705
|
+
Unfinished job found. Updating details.
|
3706
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3707
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3708
|
+
[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, 08 Dec 2011 19:47:10 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 19:47:10 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3709
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3710
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3711
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 19:47:10.541760' WHERE "videos"."id" = 1[0m
|
3712
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3713
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3714
|
+
[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, 08 Dec 2011 19:47:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:47:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3715
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3716
|
+
Unfinished job found. Updating details.
|
3717
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3718
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3719
|
+
[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, 08 Dec 2011 19:47:10 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, 08 Dec 2011 19:47:10 UTC +00:00], ["video_id", 1]]
|
3720
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3721
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3722
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 19:47:10.566360' WHERE "videos"."id" = 1[0m
|
3723
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3724
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3725
|
+
[1m[35mSQL (21.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, 08 Dec 2011 19:47:49 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:47:49 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3726
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3727
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3728
|
+
Origin URL changed. Creating new ZenCoder job.
|
3729
|
+
ZenCoder job created, ID = 123
|
3730
|
+
[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-08 19:47:49.633839', "updated_at" = '2011-12-08 19:47:49.634134' WHERE "videos"."id" = 1[0m
|
3731
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3732
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3733
|
+
[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, 08 Dec 2011 19:47:49 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:47:49 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3734
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3735
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3736
|
+
[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, 08 Dec 2011 19:47:49 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:47:49 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3737
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3738
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3739
|
+
[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, 08 Dec 2011 19:47:49 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 19:47:49 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]]
|
3740
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3741
|
+
[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
|
3742
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3743
|
+
[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, 08 Dec 2011 19:47:49 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:47:49 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3744
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3745
|
+
Unfinished job found. Updating details.
|
3746
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3747
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 19:47:49.850207' WHERE "videos"."id" = 1[0m
|
3748
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3749
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3750
|
+
[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, 08 Dec 2011 19:47:49 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:47:49 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3751
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3752
|
+
Unfinished job found. Updating details.
|
3753
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3754
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3755
|
+
[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, 08 Dec 2011 19:47:49 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 19:47:49 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3756
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3757
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3758
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 19:47:49.862619' WHERE "videos"."id" = 1[0m
|
3759
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3760
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3761
|
+
[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, 08 Dec 2011 19:47:49 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:47:49 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3762
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3763
|
+
Unfinished job found. Updating details.
|
3764
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3765
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3766
|
+
[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, 08 Dec 2011 19:47:49 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, 08 Dec 2011 19:47:49 UTC +00:00], ["video_id", 1]]
|
3767
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3768
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3769
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 19:47:49.887634' WHERE "videos"."id" = 1[0m
|
3770
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3771
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3772
|
+
[1m[35mSQL (21.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, 08 Dec 2011 19:49:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:49:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3773
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3774
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3775
|
+
Origin URL changed. Creating new ZenCoder job.
|
3776
|
+
ZenCoder job created, ID = 123
|
3777
|
+
[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-08 19:49:10.099616', "updated_at" = '2011-12-08 19:49:10.099913' WHERE "videos"."id" = 1[0m
|
3778
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3779
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3780
|
+
[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, 08 Dec 2011 19:49:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:49:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3781
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3782
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3783
|
+
[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, 08 Dec 2011 19:49:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:49:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3784
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3785
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3786
|
+
[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, 08 Dec 2011 19:49:10 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 19:49: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]]
|
3787
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3788
|
+
[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
|
3789
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3790
|
+
[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, 08 Dec 2011 19:49:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:49:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3791
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3792
|
+
Unfinished job found. Updating details.
|
3793
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3794
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 19:49:10.315370' WHERE "videos"."id" = 1[0m
|
3795
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3796
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3797
|
+
[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, 08 Dec 2011 19:49:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:49:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3798
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3799
|
+
Unfinished job found. Updating details.
|
3800
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3801
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3802
|
+
[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, 08 Dec 2011 19:49:10 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 19:49:10 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3803
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3804
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3805
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 19:49:10.327746' WHERE "videos"."id" = 1[0m
|
3806
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3807
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3808
|
+
[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, 08 Dec 2011 19:49:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 19:49:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3809
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3810
|
+
Unfinished job found. Updating details.
|
3811
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3812
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3813
|
+
[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, 08 Dec 2011 19:49:10 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, 08 Dec 2011 19:49:10 UTC +00:00], ["video_id", 1]]
|
3814
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3815
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3816
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 19:49:10.352579' WHERE "videos"."id" = 1[0m
|
3817
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3818
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3819
|
+
[1m[35mSQL (21.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, 08 Dec 2011 20:18:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:18:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3820
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3821
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3822
|
+
Origin URL changed. Creating new ZenCoder job.
|
3823
|
+
ZenCoder job created, ID = 123
|
3824
|
+
[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-08 20:18:00.215294', "updated_at" = '2011-12-08 20:18:00.215591' WHERE "videos"."id" = 1[0m
|
3825
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3826
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3827
|
+
[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, 08 Dec 2011 20:18:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:18:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3828
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3829
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3830
|
+
[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, 08 Dec 2011 20:18:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:18:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3831
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3832
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3833
|
+
[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, 08 Dec 2011 20:18:00 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:18: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]]
|
3834
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3835
|
+
[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
|
3836
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3837
|
+
[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, 08 Dec 2011 20:18:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:18:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3838
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3839
|
+
Unfinished job found. Updating details.
|
3840
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3841
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:18:00.432374' WHERE "videos"."id" = 1[0m
|
3842
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3843
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3844
|
+
[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, 08 Dec 2011 20:18:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:18:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3845
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3846
|
+
Unfinished job found. Updating details.
|
3847
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3848
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3849
|
+
[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, 08 Dec 2011 20:18:00 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:18:00 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3850
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3851
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3852
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:18:00.444625' WHERE "videos"."id" = 1[0m
|
3853
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3854
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3855
|
+
[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, 08 Dec 2011 20:18:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:18:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3856
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3857
|
+
Unfinished job found. Updating details.
|
3858
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3859
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3860
|
+
[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, 08 Dec 2011 20:18: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", Thu, 08 Dec 2011 20:18:00 UTC +00:00], ["video_id", 1]]
|
3861
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3862
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3863
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:18:00.469511' WHERE "videos"."id" = 1[0m
|
3864
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3865
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3866
|
+
[1m[35mSQL (20.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, 08 Dec 2011 20:20:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:20:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3867
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3868
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3869
|
+
[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, 08 Dec 2011 20:20:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:20:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3870
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3871
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3872
|
+
Origin URL changed. Creating new ZenCoder job.
|
3873
|
+
ZenCoder job created, ID = 123
|
3874
|
+
[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-08 20:20:14.557664', "updated_at" = '2011-12-08 20:20:14.557943' WHERE "videos"."id" = 1
|
3875
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3876
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3877
|
+
[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, 08 Dec 2011 20:20:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:20:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3878
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3879
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3880
|
+
[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, 08 Dec 2011 20:20:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:20:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3881
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3882
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3883
|
+
[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, 08 Dec 2011 20:20:14 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:20: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]]
|
3884
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3885
|
+
[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
|
3886
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3887
|
+
[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, 08 Dec 2011 20:20:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:20:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3888
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3889
|
+
Unfinished job found. Updating details.
|
3890
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3891
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:20:14.773468' WHERE "videos"."id" = 1
|
3892
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3893
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3894
|
+
[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, 08 Dec 2011 20:20:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:20:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3895
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3896
|
+
Unfinished job found. Updating details.
|
3897
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
3898
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3899
|
+
[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, 08 Dec 2011 20:20:14 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:20:14 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3900
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3901
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3902
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:20:14.785711' WHERE "videos"."id" = 1
|
3903
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3904
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3905
|
+
[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, 08 Dec 2011 20:20:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:20:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3906
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3907
|
+
Unfinished job found. Updating details.
|
3908
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
3909
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3910
|
+
[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, 08 Dec 2011 20:20: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, 08 Dec 2011 20:20:14 UTC +00:00], ["video_id", 1]]
|
3911
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3912
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3913
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:20:14.810277' WHERE "videos"."id" = 1
|
3914
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3915
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3916
|
+
Origin URL changed. Creating new ZenCoder job.
|
3917
|
+
[1m[35mSQL (41.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, 08 Dec 2011 20:21:55 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/super_tricks.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:21:55 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3918
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3919
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3920
|
+
Origin URL changed. Creating new ZenCoder job.
|
3921
|
+
[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, 08 Dec 2011 20:21:57 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:21:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3922
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3923
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3924
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:21:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:21:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3925
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3926
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3927
|
+
Origin URL changed. Creating new ZenCoder job.
|
3928
|
+
ZenCoder job created, ID = 123
|
3929
|
+
[1m[36m (0.6ms)[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-08 20:21:57.588099', "updated_at" = '2011-12-08 20:21:57.588644' WHERE "videos"."id" = 1[0m
|
3930
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3931
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3932
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:21:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:21:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3933
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3934
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3935
|
+
[1m[36mSQL (1.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, 08 Dec 2011 20:21:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:21:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3936
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3937
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3938
|
+
[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, 08 Dec 2011 20:21:57 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:21: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]]
|
3939
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3940
|
+
[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
|
3941
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3942
|
+
[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, 08 Dec 2011 20:21:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:21:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3943
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3944
|
+
Unfinished job found. Updating details.
|
3945
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3946
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:21:57.827164' WHERE "videos"."id" = 1[0m
|
3947
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3948
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3949
|
+
[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, 08 Dec 2011 20:21:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:21:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3950
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3951
|
+
Unfinished job found. Updating details.
|
3952
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
3953
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3954
|
+
[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, 08 Dec 2011 20:21:57 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:21:57 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
3955
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3956
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3957
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:21:57.839218' WHERE "videos"."id" = 1[0m
|
3958
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3959
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3960
|
+
[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, 08 Dec 2011 20:21:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:21:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
3961
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3962
|
+
Unfinished job found. Updating details.
|
3963
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
3964
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3965
|
+
[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, 08 Dec 2011 20:21: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, 08 Dec 2011 20:21:57 UTC +00:00], ["video_id", 1]]
|
3966
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3967
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3968
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:21:57.863955' WHERE "videos"."id" = 1[0m
|
3969
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3970
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3971
|
+
Origin URL changed. Creating new ZenCoder job.
|
3972
|
+
[1m[35mSQL (41.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, 08 Dec 2011 20:22:46 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/super_tricks.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:22:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3973
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3974
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3975
|
+
Origin URL changed. Creating new ZenCoder job.
|
3976
|
+
[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, 08 Dec 2011 20:22:48 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:22:48 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3977
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3978
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3979
|
+
[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, 08 Dec 2011 20:22:48 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:22:48 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3980
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3981
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3982
|
+
Origin URL changed. Creating new ZenCoder job.
|
3983
|
+
ZenCoder job created, ID = 123
|
3984
|
+
[1m[36m (0.6ms)[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-08 20:22:48.328678', "updated_at" = '2011-12-08 20:22:48.329269' WHERE "videos"."id" = 1[0m
|
3985
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3986
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3987
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:22:48 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:22:48 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
3988
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3989
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3990
|
+
[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, 08 Dec 2011 20:22:48 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:22:48 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
3991
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3992
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3993
|
+
[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, 08 Dec 2011 20:22:48 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:22:48 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]]
|
3994
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3995
|
+
[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
|
3996
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3997
|
+
[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, 08 Dec 2011 20:22:48 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:22:48 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
3998
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3999
|
+
Unfinished job found. Updating details.
|
4000
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4001
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:22:48.618360' WHERE "videos"."id" = 1[0m
|
4002
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4003
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4004
|
+
[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, 08 Dec 2011 20:22:48 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:22:48 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4005
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4006
|
+
Unfinished job found. Updating details.
|
4007
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
4008
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4009
|
+
[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, 08 Dec 2011 20:22:48 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:22:48 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
4010
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4011
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4012
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:22:48.630549' WHERE "videos"."id" = 1[0m
|
4013
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4014
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4015
|
+
[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, 08 Dec 2011 20:22:48 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:22:48 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4016
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4017
|
+
Unfinished job found. Updating details.
|
4018
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
4019
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4020
|
+
[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, 08 Dec 2011 20:22:48 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, 08 Dec 2011 20:22:48 UTC +00:00], ["video_id", 1]]
|
4021
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4022
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4023
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:22:48.655695' WHERE "videos"."id" = 1[0m
|
4024
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4025
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4026
|
+
Origin URL changed. Creating new ZenCoder job.
|
4027
|
+
[1m[35mSQL (21.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, 08 Dec 2011 20:24:28 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/super_tricks.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:24:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4028
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4029
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4030
|
+
Origin URL changed. Creating new ZenCoder job.
|
4031
|
+
[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, 08 Dec 2011 20:24:30 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:24:30 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4032
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4033
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4034
|
+
Origin URL changed. Creating new ZenCoder job.
|
4035
|
+
[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, 08 Dec 2011 20:24:31 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:24:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4036
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4037
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4038
|
+
[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, 08 Dec 2011 20:24:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:24:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4039
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4040
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4041
|
+
Origin URL changed. Creating new ZenCoder job.
|
4042
|
+
ZenCoder job created, ID = 123
|
4043
|
+
[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-08 20:24:31.872717', "updated_at" = '2011-12-08 20:24:31.873337' WHERE "videos"."id" = 1
|
4044
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4045
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
4046
|
+
[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, 08 Dec 2011 20:24:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:24:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
4047
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4048
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4049
|
+
[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, 08 Dec 2011 20:24:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:24:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4050
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4051
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4052
|
+
[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, 08 Dec 2011 20:24:32 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:24:32 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]]
|
4053
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4054
|
+
[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
|
4055
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4056
|
+
[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, 08 Dec 2011 20:24:32 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:24:32 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
4057
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4058
|
+
Unfinished job found. Updating details.
|
4059
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4060
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:24:32.138123' WHERE "videos"."id" = 1
|
4061
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4062
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4063
|
+
[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, 08 Dec 2011 20:24:32 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:24:32 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4064
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4065
|
+
Unfinished job found. Updating details.
|
4066
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
4067
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4068
|
+
[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, 08 Dec 2011 20:24:32 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:24:32 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
4069
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4070
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4071
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:24:32.150241' WHERE "videos"."id" = 1
|
4072
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4073
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4074
|
+
[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, 08 Dec 2011 20:24:32 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:24:32 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4075
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4076
|
+
Unfinished job found. Updating details.
|
4077
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
4078
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4079
|
+
[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, 08 Dec 2011 20:24:32 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, 08 Dec 2011 20:24:32 UTC +00:00], ["video_id", 1]]
|
4080
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4081
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4082
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:24:32.175261' WHERE "videos"."id" = 1
|
4083
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4084
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4085
|
+
Origin URL changed. Creating new ZenCoder job.
|
4086
|
+
[1m[35mSQL (42.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, 08 Dec 2011 20:27:21 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/super_tricks.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:27:21 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4087
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4088
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4089
|
+
Origin URL changed. Creating new ZenCoder job.
|
4090
|
+
[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, 08 Dec 2011 20:27:23 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:27:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4091
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4092
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4093
|
+
Origin URL changed. Creating new ZenCoder job.
|
4094
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:27:25 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:27:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4095
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4096
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4097
|
+
[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, 08 Dec 2011 20:27:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:27:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4098
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4099
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4100
|
+
Origin URL changed. Creating new ZenCoder job.
|
4101
|
+
ZenCoder job created, ID = 123
|
4102
|
+
[1m[35m (0.7ms)[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-08 20:27:25.794877', "updated_at" = '2011-12-08 20:27:25.795431' WHERE "videos"."id" = 1
|
4103
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4104
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
4105
|
+
[1m[36mSQL (1.6ms)[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, 08 Dec 2011 20:27:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:27:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
4106
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4107
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4108
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:27:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:27:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4109
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4110
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
4111
|
+
[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, 08 Dec 2011 20:27:25 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:27: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]]
|
4112
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4113
|
+
[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
|
4114
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4115
|
+
[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, 08 Dec 2011 20:27:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:27:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
4116
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4117
|
+
Unfinished job found. Updating details.
|
4118
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4119
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:27:26.106280' WHERE "videos"."id" = 1
|
4120
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4121
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4122
|
+
[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, 08 Dec 2011 20:27:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:27:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4123
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4124
|
+
Unfinished job found. Updating details.
|
4125
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
4126
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4127
|
+
[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, 08 Dec 2011 20:27:26 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:27:26 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
4128
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4129
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4130
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:27:26.118452' WHERE "videos"."id" = 1
|
4131
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4132
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4133
|
+
[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, 08 Dec 2011 20:27:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:27:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4134
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4135
|
+
Unfinished job found. Updating details.
|
4136
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
4137
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4138
|
+
[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, 08 Dec 2011 20:27: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, 08 Dec 2011 20:27:26 UTC +00:00], ["video_id", 1]]
|
4139
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4140
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4141
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:27:26.143027' WHERE "videos"."id" = 1
|
4142
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4143
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4144
|
+
Origin URL changed. Creating new ZenCoder job.
|
4145
|
+
[1m[35mSQL (42.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, 08 Dec 2011 20:32:26 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/super_tricks.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4146
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4147
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4148
|
+
Origin URL changed. Creating new ZenCoder job.
|
4149
|
+
[1m[36mSQL (1.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, 08 Dec 2011 20:32:28 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4150
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4151
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4152
|
+
Origin URL changed. Creating new ZenCoder job.
|
4153
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:32:30 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:30 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4154
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4155
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4156
|
+
[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, 08 Dec 2011 20:32:30 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:30 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4157
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4158
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4159
|
+
Origin URL changed. Creating new ZenCoder job.
|
4160
|
+
ZenCoder job created, ID = 123
|
4161
|
+
[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-08 20:32:30.324496', "updated_at" = '2011-12-08 20:32:30.325080' WHERE "videos"."id" = 1
|
4162
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4163
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
4164
|
+
[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, 08 Dec 2011 20:32:30 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:30 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
4165
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4166
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4167
|
+
[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, 08 Dec 2011 20:32:30 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:30 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4168
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4169
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4170
|
+
[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, 08 Dec 2011 20:32:30 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:32:30 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]]
|
4171
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4172
|
+
[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
|
4173
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4174
|
+
[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, 08 Dec 2011 20:32:30 UTC +00:00], ["origin_url", nil], ["title", "Last of the Mohecans"], ["updated_at", Thu, 08 Dec 2011 20:32:30 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4175
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4176
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4177
|
+
[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, 08 Dec 2011 20:32:30 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:30 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
4178
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4179
|
+
Unfinished job found. Updating details.
|
4180
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4181
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:32:30.608201' WHERE "videos"."id" = 1[0m
|
4182
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4183
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4184
|
+
[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, 08 Dec 2011 20:32:30 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:30 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4185
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4186
|
+
Unfinished job found. Updating details.
|
4187
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
4188
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4189
|
+
[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, 08 Dec 2011 20:32:30 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:32:30 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
4190
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4191
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4192
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:32:30.620262' WHERE "videos"."id" = 1[0m
|
4193
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4194
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4195
|
+
[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, 08 Dec 2011 20:32:30 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:30 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4196
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4197
|
+
Unfinished job found. Updating details.
|
4198
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
4199
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4200
|
+
[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, 08 Dec 2011 20:32:30 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, 08 Dec 2011 20:32:30 UTC +00:00], ["video_id", 1]]
|
4201
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4202
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4203
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:32:30.645432' WHERE "videos"."id" = 1[0m
|
4204
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4205
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4206
|
+
Origin URL changed. Creating new ZenCoder job.
|
4207
|
+
[1m[35mSQL (41.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, 08 Dec 2011 20:32:49 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/super_tricks.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:49 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4208
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4209
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4210
|
+
Origin URL changed. Creating new ZenCoder job.
|
4211
|
+
[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, 08 Dec 2011 20:32:51 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:51 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4212
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4213
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4214
|
+
Origin URL changed. Creating new ZenCoder job.
|
4215
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:32:52 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:52 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4216
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4217
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4218
|
+
[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, 08 Dec 2011 20:32:52 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:52 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4219
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4220
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4221
|
+
Origin URL changed. Creating new ZenCoder job.
|
4222
|
+
ZenCoder job created, ID = 123
|
4223
|
+
[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-08 20:32:52.971458', "updated_at" = '2011-12-08 20:32:52.972015' WHERE "videos"."id" = 1
|
4224
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4225
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4226
|
+
[1m[36mSQL (1.6ms)[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, 08 Dec 2011 20:32:52 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:52 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
4227
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4228
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4229
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:32:52 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:52 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4230
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4231
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4232
|
+
[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, 08 Dec 2011 20:32:53 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:32: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]]
|
4233
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4234
|
+
[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
|
4235
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4236
|
+
[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, 08 Dec 2011 20:32:53 UTC +00:00], ["origin_url", nil], ["title", "Last of the Mohecans"], ["updated_at", Thu, 08 Dec 2011 20:32:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4237
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4238
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4239
|
+
[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, 08 Dec 2011 20:32:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
4240
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4241
|
+
Unfinished job found. Updating details.
|
4242
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4243
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:32:53.255740' WHERE "videos"."id" = 1[0m
|
4244
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4245
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4246
|
+
[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, 08 Dec 2011 20:32:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4247
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4248
|
+
Unfinished job found. Updating details.
|
4249
|
+
[1m[35mVideoFile Load (0.2ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
4250
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4251
|
+
[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, 08 Dec 2011 20:32:53 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:32:53 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
4252
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4253
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4254
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:32:53.267859' WHERE "videos"."id" = 1[0m
|
4255
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4256
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4257
|
+
[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, 08 Dec 2011 20:32:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:32:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4258
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4259
|
+
Unfinished job found. Updating details.
|
4260
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
4261
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4262
|
+
[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, 08 Dec 2011 20:32: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, 08 Dec 2011 20:32:53 UTC +00:00], ["video_id", 1]]
|
4263
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4264
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4265
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:32:53.292991' WHERE "videos"."id" = 1[0m
|
4266
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4267
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4268
|
+
Origin URL changed. Creating new ZenCoder job.
|
4269
|
+
[1m[35mSQL (41.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, 08 Dec 2011 20:34:22 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/super_tricks.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:34:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4270
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4271
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4272
|
+
Origin URL changed. Creating new ZenCoder job.
|
4273
|
+
[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, 08 Dec 2011 20:34:24 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:34:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4274
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4275
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4276
|
+
Origin URL changed. Creating new ZenCoder job.
|
4277
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:34:26 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:34:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4278
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4279
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4280
|
+
[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, 08 Dec 2011 20:34:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:34:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4281
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4282
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4283
|
+
Origin URL changed. Creating new ZenCoder job.
|
4284
|
+
ZenCoder job created, ID = 123
|
4285
|
+
[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-08 20:34:26.416543', "updated_at" = '2011-12-08 20:34:26.417147' WHERE "videos"."id" = 1
|
4286
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4287
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
4288
|
+
[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, 08 Dec 2011 20:34:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:34:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
4289
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4290
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4291
|
+
[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, 08 Dec 2011 20:34:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:34:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4292
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4293
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4294
|
+
[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, 08 Dec 2011 20:34:26 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:34: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]]
|
4295
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4296
|
+
[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
|
4297
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4298
|
+
Origin URL changed. Creating new ZenCoder job.
|
4299
|
+
[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, 08 Dec 2011 20:34:28 UTC +00:00], ["origin_url", "http://foo.com/somepath/sample.mov"], ["title", "Last of the Mohecans"], ["updated_at", Thu, 08 Dec 2011 20:34:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4300
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4301
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4302
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:34:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:34:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
4303
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4304
|
+
Unfinished job found. Updating details.
|
4305
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4306
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:34:28.489355' WHERE "videos"."id" = 1[0m
|
4307
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4308
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4309
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:34:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:34:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4310
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4311
|
+
Unfinished job found. Updating details.
|
4312
|
+
[1m[35mVideoFile Load (0.4ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
4313
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4314
|
+
[1m[35mSQL (2.6ms)[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, 08 Dec 2011 20:34:28 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:34:28 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
4315
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4316
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4317
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:34:28.513405' WHERE "videos"."id" = 1[0m
|
4318
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4319
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4320
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:34:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:34:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4321
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4322
|
+
Unfinished job found. Updating details.
|
4323
|
+
[1m[35mVideoFileThumbnail Load (0.4ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
4324
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4325
|
+
[1m[35mSQL (1.7ms)[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, 08 Dec 2011 20:34: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, 08 Dec 2011 20:34:28 UTC +00:00], ["video_id", 1]]
|
4326
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4327
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4328
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:34:28.562853' WHERE "videos"."id" = 1[0m
|
4329
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4330
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4331
|
+
Origin URL changed. Creating new ZenCoder job.
|
4332
|
+
[1m[35mSQL (41.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, 08 Dec 2011 20:35:26 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/super_tricks.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:35:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4333
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4334
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4335
|
+
Origin URL changed. Creating new ZenCoder job.
|
4336
|
+
[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, 08 Dec 2011 20:35:28 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:35:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4337
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4338
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4339
|
+
Origin URL changed. Creating new ZenCoder job.
|
4340
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:35:29 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:35:29 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4341
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4342
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4343
|
+
[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, 08 Dec 2011 20:35:29 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:35:29 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4344
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4345
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4346
|
+
Origin URL changed. Creating new ZenCoder job.
|
4347
|
+
ZenCoder job created, ID = 123
|
4348
|
+
[1m[35m (0.9ms)[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-08 20:35:29.926769', "updated_at" = '2011-12-08 20:35:29.927322' WHERE "videos"."id" = 1
|
4349
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4350
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4351
|
+
[1m[36mSQL (1.6ms)[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, 08 Dec 2011 20:35:29 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:35:29 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
4352
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4353
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4354
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:35:29 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:35:29 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4355
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4356
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4357
|
+
[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, 08 Dec 2011 20:35:30 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:35:30 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]]
|
4358
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4359
|
+
[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
|
4360
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4361
|
+
Origin URL changed. Creating new ZenCoder job.
|
4362
|
+
[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, 08 Dec 2011 20:35:31 UTC +00:00], ["origin_url", "http://foo.com/somepath/sample.mov"], ["title", "Last of the Mohecans"], ["updated_at", Thu, 08 Dec 2011 20:35:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4363
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4364
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4365
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:35:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:35:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
4366
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4367
|
+
Unfinished job found. Updating details.
|
4368
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4369
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:35:32.004428' WHERE "videos"."id" = 1[0m
|
4370
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4371
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4372
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:35:32 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:35:32 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4373
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4374
|
+
Unfinished job found. Updating details.
|
4375
|
+
[1m[35mVideoFile Load (0.4ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
4376
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4377
|
+
[1m[35mSQL (2.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, 08 Dec 2011 20:35:32 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:35:32 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
4378
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4379
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4380
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:35:32.029102' WHERE "videos"."id" = 1[0m
|
4381
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4382
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4383
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:35:32 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:35:32 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4384
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4385
|
+
Unfinished job found. Updating details.
|
4386
|
+
[1m[35mVideoFileThumbnail Load (0.4ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
4387
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4388
|
+
[1m[35mSQL (1.7ms)[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, 08 Dec 2011 20:35:32 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, 08 Dec 2011 20:35:32 UTC +00:00], ["video_id", 1]]
|
4389
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4390
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4391
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:35:32.078228' WHERE "videos"."id" = 1[0m
|
4392
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4393
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4394
|
+
Origin URL changed. Creating new ZenCoder job.
|
4395
|
+
[1m[35mSQL (41.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, 08 Dec 2011 20:37:01 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/super_tricks.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:37:01 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4396
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4397
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4398
|
+
Origin URL changed. Creating new ZenCoder job.
|
4399
|
+
[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, 08 Dec 2011 20:37:03 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:37:03 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4400
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4401
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4402
|
+
Origin URL changed. Creating new ZenCoder job.
|
4403
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:37:05 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:37:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4404
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4405
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4406
|
+
[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, 08 Dec 2011 20:37:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:37:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4407
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4408
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4409
|
+
Origin URL changed. Creating new ZenCoder job.
|
4410
|
+
ZenCoder job created, ID = 123
|
4411
|
+
[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-08 20:37:05.513921', "updated_at" = '2011-12-08 20:37:05.514472' WHERE "videos"."id" = 1
|
4412
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4413
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
4414
|
+
[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, 08 Dec 2011 20:37:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:37:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
4415
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4416
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4417
|
+
[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, 08 Dec 2011 20:37:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:37:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4418
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4419
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4420
|
+
[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, 08 Dec 2011 20:37:05 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:37: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]]
|
4421
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4422
|
+
[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
|
4423
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4424
|
+
Origin URL changed. Creating new ZenCoder job.
|
4425
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
4426
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4427
|
+
[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, 08 Dec 2011 20:37:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:37:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
4428
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4429
|
+
Unfinished job found. Updating details.
|
4430
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4431
|
+
[1m[35m (0.3ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:37:05.800991' WHERE "videos"."id" = 1
|
4432
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4433
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4434
|
+
[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, 08 Dec 2011 20:37:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:37:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4435
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4436
|
+
Unfinished job found. Updating details.
|
4437
|
+
[1m[36mVideoFile Load (0.2ms)[0m [1mSELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1[0m
|
4438
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4439
|
+
[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, 08 Dec 2011 20:37:05 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:37:05 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
4440
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4441
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4442
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:37:05.813074' WHERE "videos"."id" = 1
|
4443
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4444
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4445
|
+
[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, 08 Dec 2011 20:37:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:37:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4446
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4447
|
+
Unfinished job found. Updating details.
|
4448
|
+
[1m[36mVideoFileThumbnail Load (0.2ms)[0m [1mSELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1[0m
|
4449
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4450
|
+
[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, 08 Dec 2011 20:37: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, 08 Dec 2011 20:37:05 UTC +00:00], ["video_id", 1]]
|
4451
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4452
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4453
|
+
[1m[35m (0.2ms)[0m UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:37:05.837411' WHERE "videos"."id" = 1
|
4454
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4455
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4456
|
+
Origin URL changed. Creating new ZenCoder job.
|
4457
|
+
[1m[35mSQL (42.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, 08 Dec 2011 20:38:06 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/super_tricks.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:06 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4458
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4459
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4460
|
+
Origin URL changed. Creating new ZenCoder job.
|
4461
|
+
[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, 08 Dec 2011 20:38:08 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:08 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4462
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4463
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4464
|
+
Origin URL changed. Creating new ZenCoder job.
|
4465
|
+
[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, 08 Dec 2011 20:38:10 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4466
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4467
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4468
|
+
[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, 08 Dec 2011 20:38:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4469
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4470
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4471
|
+
Origin URL changed. Creating new ZenCoder job.
|
4472
|
+
ZenCoder job created, ID = 123
|
4473
|
+
[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-08 20:38:10.288970', "updated_at" = '2011-12-08 20:38:10.289538' WHERE "videos"."id" = 1
|
4474
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4475
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
4476
|
+
[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, 08 Dec 2011 20:38:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
4477
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4478
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4479
|
+
[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, 08 Dec 2011 20:38:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4480
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4481
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4482
|
+
[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, 08 Dec 2011 20:38:10 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:38: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]]
|
4483
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4484
|
+
[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
|
4485
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4486
|
+
Origin URL changed. Creating new ZenCoder job.
|
4487
|
+
[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, 08 Dec 2011 20:38:12 UTC +00:00], ["origin_url", "http://foo.com/somepath/sample.mov"], ["title", "Last of the Mohecans"], ["updated_at", Thu, 08 Dec 2011 20:38:12 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4488
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4489
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4490
|
+
[1m[35mSQL (2.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, 08 Dec 2011 20:38:12 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:12 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
4491
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4492
|
+
Unfinished job found. Updating details.
|
4493
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4494
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:38:12.416293' WHERE "videos"."id" = 1[0m
|
4495
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4496
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4497
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:38:12 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:12 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4498
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4499
|
+
Unfinished job found. Updating details.
|
4500
|
+
[1m[35mVideoFile Load (0.4ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
4501
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4502
|
+
[1m[35mSQL (2.6ms)[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, 08 Dec 2011 20:38:12 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:38:12 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
4503
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4504
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4505
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:38:12.440579' WHERE "videos"."id" = 1[0m
|
4506
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4507
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4508
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:38:12 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:12 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4509
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4510
|
+
Unfinished job found. Updating details.
|
4511
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
4512
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4513
|
+
[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, 08 Dec 2011 20:38: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", Thu, 08 Dec 2011 20:38:12 UTC +00:00], ["video_id", 1]]
|
4514
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4515
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4516
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:38:12.482173' WHERE "videos"."id" = 1[0m
|
4517
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4518
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4519
|
+
Origin URL changed. Creating new ZenCoder job.
|
4520
|
+
[1m[35mSQL (41.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, 08 Dec 2011 20:38:40 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/super_tricks.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:40 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4521
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4522
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4523
|
+
Origin URL changed. Creating new ZenCoder job.
|
4524
|
+
[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, 08 Dec 2011 20:38:42 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4525
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4526
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4527
|
+
Origin URL changed. Creating new ZenCoder job.
|
4528
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:38:44 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:44 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4529
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4530
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4531
|
+
[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, 08 Dec 2011 20:38:44 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:44 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4532
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4533
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4534
|
+
Origin URL changed. Creating new ZenCoder job.
|
4535
|
+
ZenCoder job created, ID = 123
|
4536
|
+
[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-08 20:38:44.098920', "updated_at" = '2011-12-08 20:38:44.099471' WHERE "videos"."id" = 1
|
4537
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4538
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4539
|
+
[1m[36mSQL (1.6ms)[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, 08 Dec 2011 20:38:44 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:44 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
4540
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4541
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4542
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:38:44 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:44 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4543
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4544
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4545
|
+
[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, 08 Dec 2011 20:38:44 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:38:44 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]]
|
4546
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4547
|
+
[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
|
4548
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4549
|
+
Origin URL changed. Creating new ZenCoder job.
|
4550
|
+
[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, 08 Dec 2011 20:38:46 UTC +00:00], ["origin_url", "http://foo.com/somepath/sample.mov"], ["title", "Last of the Mohecans"], ["updated_at", Thu, 08 Dec 2011 20:38:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4551
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4552
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4553
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:38:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
4554
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4555
|
+
Unfinished job found. Updating details.
|
4556
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4557
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:38:46.207885' WHERE "videos"."id" = 1[0m
|
4558
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4559
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4560
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:38:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4561
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4562
|
+
Unfinished job found. Updating details.
|
4563
|
+
[1m[35mVideoFile Load (0.4ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
4564
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4565
|
+
[1m[35mSQL (2.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, 08 Dec 2011 20:38:46 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:38:46 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
4566
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4567
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4568
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:38:46.231729' WHERE "videos"."id" = 1[0m
|
4569
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4570
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4571
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:38:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:38:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4572
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4573
|
+
Unfinished job found. Updating details.
|
4574
|
+
[1m[35mVideoFileThumbnail Load (0.4ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
4575
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4576
|
+
[1m[35mSQL (1.7ms)[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, 08 Dec 2011 20:38:46 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, 08 Dec 2011 20:38:46 UTC +00:00], ["video_id", 1]]
|
4577
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4578
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4579
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:38:46.280740' WHERE "videos"."id" = 1[0m
|
4580
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4581
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4582
|
+
Origin URL changed. Creating new ZenCoder job.
|
4583
|
+
[1m[35mSQL (41.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, 08 Dec 2011 20:41:05 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/super_tricks.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:41:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4584
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4585
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4586
|
+
Origin URL changed. Creating new ZenCoder job.
|
4587
|
+
[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, 08 Dec 2011 20:41:07 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:41:07 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4588
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4589
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4590
|
+
Origin URL changed. Creating new ZenCoder job.
|
4591
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:41:09 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:41:09 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4592
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4593
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4594
|
+
[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, 08 Dec 2011 20:41:09 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:41:09 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4595
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4596
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4597
|
+
Origin URL changed. Creating new ZenCoder job.
|
4598
|
+
ZenCoder job created, ID = 123
|
4599
|
+
[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-08 20:41:09.236291', "updated_at" = '2011-12-08 20:41:09.236920' WHERE "videos"."id" = 1
|
4600
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4601
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
4602
|
+
[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, 08 Dec 2011 20:41:09 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:41:09 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
4603
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4604
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4605
|
+
[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, 08 Dec 2011 20:41:09 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:41:09 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4606
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4607
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4608
|
+
[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, 08 Dec 2011 20:41:09 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:41:09 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]]
|
4609
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4610
|
+
[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
|
4611
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4612
|
+
Origin URL changed. Creating new ZenCoder job.
|
4613
|
+
[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, 08 Dec 2011 20:41:11 UTC +00:00], ["origin_url", "http://foo.com/somepath/super kittehs!.mov"], ["title", "Last of the Mohecans"], ["updated_at", Thu, 08 Dec 2011 20:41:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4614
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4615
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4616
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:41:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:41:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
4617
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4618
|
+
Unfinished job found. Updating details.
|
4619
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4620
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:41:11.247309' WHERE "videos"."id" = 1[0m
|
4621
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4622
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4623
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:41:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:41:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4624
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4625
|
+
Unfinished job found. Updating details.
|
4626
|
+
[1m[35mVideoFile Load (0.4ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
4627
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4628
|
+
[1m[35mSQL (2.6ms)[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, 08 Dec 2011 20:41:11 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:41:11 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
4629
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4630
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4631
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:41:11.271213' WHERE "videos"."id" = 1[0m
|
4632
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4633
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4634
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:41:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:41:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4635
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4636
|
+
Unfinished job found. Updating details.
|
4637
|
+
[1m[35mVideoFileThumbnail Load (0.4ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
4638
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4639
|
+
[1m[35mSQL (1.7ms)[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, 08 Dec 2011 20: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", Thu, 08 Dec 2011 20:41:11 UTC +00:00], ["video_id", 1]]
|
4640
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4641
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4642
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:41:11.320359' WHERE "videos"."id" = 1[0m
|
4643
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4644
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4645
|
+
Origin URL changed. Creating new ZenCoder job.
|
4646
|
+
[1m[35mSQL (41.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, 08 Dec 2011 20:44:34 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/super_tricks.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:44:34 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4647
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4648
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4649
|
+
Origin URL changed. Creating new ZenCoder job.
|
4650
|
+
[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, 08 Dec 2011 20:44:36 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:44:36 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4651
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4652
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4653
|
+
Origin URL changed. Creating new ZenCoder job.
|
4654
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:44:38 UTC +00:00], ["origin_url", "http://foo.com/somepath/2/4/Rainbows and puppies [HD].with unicorns.mov"], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:44:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4655
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4656
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4657
|
+
[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, 08 Dec 2011 20:44:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:44:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4658
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4659
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4660
|
+
Origin URL changed. Creating new ZenCoder job.
|
4661
|
+
ZenCoder job created, ID = 123
|
4662
|
+
[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-08 20:44:38.384602', "updated_at" = '2011-12-08 20:44:38.385251' WHERE "videos"."id" = 1
|
4663
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4664
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
4665
|
+
[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, 08 Dec 2011 20:44:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:44:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
|
4666
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4667
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4668
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:44:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:44:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4669
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4670
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4671
|
+
[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, 08 Dec 2011 20:44:38 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 08 Dec 2011 20:44: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]]
|
4672
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4673
|
+
[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
|
4674
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4675
|
+
Origin URL changed. Creating new ZenCoder job.
|
4676
|
+
[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, 08 Dec 2011 20:44:40 UTC +00:00], ["origin_url", "http://foo.com/somepath/super kittehs!.mov"], ["title", "Last of the Mohecans"], ["updated_at", Thu, 08 Dec 2011 20:44:40 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
|
4677
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4678
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4679
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:44:40 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:44:40 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
|
4680
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4681
|
+
Unfinished job found. Updating details.
|
4682
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4683
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-08 20:44:40.499839' WHERE "videos"."id" = 1[0m
|
4684
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4685
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4686
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:44:40 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:44:40 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4687
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4688
|
+
Unfinished job found. Updating details.
|
4689
|
+
[1m[35mVideoFile Load (0.4ms)[0m SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
|
4690
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4691
|
+
[1m[35mSQL (2.6ms)[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, 08 Dec 2011 20:44:40 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Thu, 08 Dec 2011 20:44:40 UTC +00:00], ["url", "http://s3.com/6/7/8.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
|
4692
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4693
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4694
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:44:40.523806' WHERE "videos"."id" = 1[0m
|
4695
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4696
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4697
|
+
[1m[35mSQL (1.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, 08 Dec 2011 20:44:40 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 08 Dec 2011 20:44:40 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
|
4698
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4699
|
+
Unfinished job found. Updating details.
|
4700
|
+
[1m[35mVideoFileThumbnail Load (0.2ms)[0m SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
|
4701
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4702
|
+
[1m[35mSQL (0.8ms)[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, 08 Dec 2011 20:44:40 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, 08 Dec 2011 20:44:40 UTC +00:00], ["video_id", 1]]
|
4703
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4704
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4705
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-08 20:44:40.563681' WHERE "videos"."id" = 1[0m
|
4706
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|