Encoder stopped working

23 views
Skip to first unread message

AlexKane

unread,
Apr 7, 2009, 10:23:55 AM4/7/09
to Panda
After mounting an EBS volume on /var/tmp/videos to have more available
temp space the encoder is producing 67 byte mp4 files that contain the
following text:

ftypisomisom/freeIsoMedia File Produced with GPAC 0.4.4

Anybody have a clue why this might happen?

Thanks!
~ Alex

AlexKane

unread,
Apr 7, 2009, 11:28:56 AM4/7/09
to Panda
To clarify, in public/store I have a file named
15361840-053d-012c-7d95-12313902f022.mp4

ec2-67-202-24-49:/var/local/www/panda# cat public/store/
15361840-053d-012c-7d95-12313902f022.mp4

AlexKane

unread,
Apr 7, 2009, 11:51:11 AM4/7/09
to Panda
Here's the log (the error is being thrown when it tries to create a
thumbnail):

~ (Tue Apr 07 06:13:37 +0000 2009) Encoding
15361840-053d-012c-7d95-12313902f022
~ Encoding with encode_mp4_aac_flash
~ Video encoding done
~ Audio extraction done
~ Audio encoding done
~ Squashing done
~ Unable to transcode file 15361840-053d-012c-7d95-12313902f022:
ArgumentError - comparison of Float with nil failed
~ Error email sent to al...@alexkane.net
~ Error encoding 15361840-053d-012c-7d95-12313902f022

comparison of Float with nil failed

BACKTRACE

/usr/local/lib/ruby/gems/1.8/gems/rvideo-0.9.4/lib/rvideo/inspector.rb:
186:in `>'/usr/local/lib/ruby/gems/1.8/gems/rvideo-0.9.4/lib/rvideo/
inspector.rb:186:in `calculate_time'/usr/local/lib/ruby/gems/1.8/gems/
rvideo-0.9.4/lib/rvideo/inspector.rb:154:in `capture_frame'/var/local/
www/panda/app/models/clipping.rb:41:in `capture'/var/local/www/panda/
app/models/video.rb:229:in `generate_thumbnail_selection'/var/local/
www/panda/app/models/video.rb:228:in `each'/var/local/www/panda/app/
models/video.rb:228:in `generate_thumbnail_selection'/var/local/www/
panda/app/models/video.rb:643:in `encode'/usr/local/lib/ruby/gems/1.8/
gems/merb-core-0.9.7/lib/merb-core/rack/adapter/runner.rb:30/usr/local/
lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/rack/adapter/
runner.rb:23:in `loop'/usr/local/lib/ruby/gems/1.8/gems/merb-
core-0.9.7/lib/merb-core/rack/adapter/runner.rb:23

PARENT ATTRS

============================================================
---
status: original
video_codec: mpeg2video
updated_at: "2009-04-07T00:58:07+00:00"
container: mpegts
video_bitrate: "00000000000000000000000000016041"
audio_sample_rate: 00000000000000000000000000048000
audio_codec: mpeg4aac
thumbnail_position: "00000000000000000000000000000050"
height: 00000000000000000000000000001080
filename: 13324c80-052b-012c-7d95-12313902f022.ts
fps: "29.97"
duration: 00000000000000000000000002699600
width: "00000000000000000000000000001440"
original_filename: 2009-04-02_chan27_0700.ts
created_at: "2009-04-06T22:49:13+00:00"

============================================================

ENCODING ATTRS

============================================================
---
status: error
video_codec: ""
notification: 0
player: flash
updated_at: 2009-04-07 11:52:25.979806 +00:00
container: mp4
video_bitrate: "00000000000000000000000000000600"
profile: 0ebb8780-d832-012b-eb2f-12313902f022
audio_bitrate: 00000000000000000000000000000048
audio_sample_rate: ""
audio_codec: aac
profile_title: Flash h264 480p
height: 00000000000000000000000000000480
filename: 15361840-053d-012c-7d95-12313902f022.mp4
fps: "00000000000000000000000000000024"
duration: 00000000000000000000000002699600
width: 640
parent: 13324c80-052b-012c-7d95-12313902f022
original_filename: 2009-04-02_chan27_0700.ts
created_at: "2009-04-07T00:58:08+00:00"

============================================================

Damien Tanner

unread,
Apr 20, 2009, 12:47:23 PM4/20/09
to panda...@googlegroups.com
Could you put a copy of the video file online? It looks like it could
be an issue with the source video.

Kind Regards,
Damien Tanner
Co-Founder and Director, New Bamboo

Creating fresh, flexible and fast-growing web applications is our passion.

+44 (0)78 6312 7999
+44 (0)20 7099 7486
http://www.new-bamboo.co.uk
Reply all
Reply to author
Forward
0 new messages