stlondemand-rvideo 0.9.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. data/CHANGELOG +70 -0
  2. data/ENV +100 -0
  3. data/ENV2 +129 -0
  4. data/LICENSE +20 -0
  5. data/Manifest +72 -0
  6. data/README +106 -0
  7. data/RULES +11 -0
  8. data/Rakefile +63 -0
  9. data/config/boot.rb +25 -0
  10. data/lib/rvideo.rb +49 -0
  11. data/lib/rvideo/command_executor.rb +91 -0
  12. data/lib/rvideo/errors.rb +24 -0
  13. data/lib/rvideo/float.rb +7 -0
  14. data/lib/rvideo/frame_capturer.rb +139 -0
  15. data/lib/rvideo/inspector.rb +519 -0
  16. data/lib/rvideo/reporter.rb +176 -0
  17. data/lib/rvideo/reporter/views/index.html.erb +27 -0
  18. data/lib/rvideo/reporter/views/report.css +27 -0
  19. data/lib/rvideo/reporter/views/report.html.erb +81 -0
  20. data/lib/rvideo/reporter/views/report.js +9 -0
  21. data/lib/rvideo/string.rb +5 -0
  22. data/lib/rvideo/tools/abstract_tool.rb +459 -0
  23. data/lib/rvideo/tools/ffmpeg.rb +314 -0
  24. data/lib/rvideo/tools/ffmpeg2theora.rb +72 -0
  25. data/lib/rvideo/tools/flvtool2.rb +50 -0
  26. data/lib/rvideo/tools/handbrakecli.rb +61 -0
  27. data/lib/rvideo/tools/lame.rb +58 -0
  28. data/lib/rvideo/tools/mencoder.rb +126 -0
  29. data/lib/rvideo/tools/mp4box.rb +21 -0
  30. data/lib/rvideo/tools/mp4creator.rb +35 -0
  31. data/lib/rvideo/tools/mplayer.rb +31 -0
  32. data/lib/rvideo/tools/qtfaststart.rb +37 -0
  33. data/lib/rvideo/tools/segmenter.rb +29 -0
  34. data/lib/rvideo/tools/yamdi.rb +44 -0
  35. data/lib/rvideo/transcoder.rb +170 -0
  36. data/lib/rvideo/version.rb +9 -0
  37. data/scripts/txt2html +67 -0
  38. data/spec/files/boat.avi +0 -0
  39. data/spec/files/kites.mp4 +0 -0
  40. data/spec/fixtures/ffmpeg_builds.yml +28 -0
  41. data/spec/fixtures/ffmpeg_results.yml +608 -0
  42. data/spec/fixtures/files.yml +398 -0
  43. data/spec/fixtures/recipes.yml +58 -0
  44. data/spec/integrations/formats_spec.rb +315 -0
  45. data/spec/integrations/frame_capturer_spec.rb +26 -0
  46. data/spec/integrations/inspection_spec.rb +125 -0
  47. data/spec/integrations/recipes_spec.rb +0 -0
  48. data/spec/integrations/rvideo_spec.rb +17 -0
  49. data/spec/integrations/transcoder_integration_spec.rb +29 -0
  50. data/spec/integrations/transcoding_spec.rb +9 -0
  51. data/spec/spec.opts +1 -0
  52. data/spec/spec_helper.rb +16 -0
  53. data/spec/support.rb +36 -0
  54. data/spec/units/abstract_tool_spec.rb +111 -0
  55. data/spec/units/command_executor_spec.rb +106 -0
  56. data/spec/units/ffmpeg_spec.rb +385 -0
  57. data/spec/units/flvtool2_spec.rb +323 -0
  58. data/spec/units/frame_capturer_spec.rb +71 -0
  59. data/spec/units/inspector_spec.rb +59 -0
  60. data/spec/units/mencoder_spec.rb +4994 -0
  61. data/spec/units/mp4box_spec.rb +34 -0
  62. data/spec/units/mp4creator_spec.rb +34 -0
  63. data/spec/units/mplayer_spec.rb +34 -0
  64. data/spec/units/qtfaststart_spec.rb +35 -0
  65. data/spec/units/string_spec.rb +8 -0
  66. data/spec/units/transcoder_spec.rb +154 -0
  67. data/stlondemand-rvideo.gemspec +36 -0
  68. data/tasks/deployment.rake +5 -0
  69. data/tasks/testing.rake +27 -0
  70. data/tasks/transcoding.rake +40 -0
  71. data/tasks/website.rake +8 -0
  72. data/test_progress_reporting.rb +14 -0
  73. metadata +187 -0
@@ -0,0 +1,398 @@
1
+ fancypants:
2
+ response: |
3
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
4
+ Mac OSX universal build for ffmpegX
5
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
6
+ libavutil version: 49.0.0
7
+ libavcodec version: 51.9.0
8
+ libavformat version: 50.4.0
9
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
10
+
11
+ Seems that stream 0 comes from film source: 44100.00 (44100/1) -> 23.98 (24000/1001)
12
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'files/fancypants-h264.mov':
13
+ Duration: 00:00:35.4, start: 0.000000, bitrate: 1980 kb/s
14
+ Stream #0.0(eng), 23.98 fps(r): Video: h264, yuv420p, 720x400
15
+ Stream #0.1(eng): Audio: aac, 44100 Hz, stereo
16
+ Must supply at least one output file
17
+ kites:
18
+ response: |
19
+ FFmpeg version SVN-r6399, Copyright (c) 2000-2004 Fabrice Bellard
20
+ configuration: --prefix=/opt/local --prefix=/opt/local --disable-vhook --mandir=/opt/local/share/man --extra-cflags=-DHAVE_LRINTF --extra-ldflags=-d -L/opt/local/lib --enable-gpl --enable-mp3lame --enable-libogg --enable-vorbis --enable-faac --enable-faad --enable-xvid --enable-x264 --enable-a52 --enable-dts
21
+ libavutil version: 49.0.1
22
+ libavcodec version: 51.16.0
23
+ libavformat version: 50.5.0
24
+ built on Mar 29 2007 17:18:04, gcc: 4.0.1 (Apple Computer, Inc. build 5367)
25
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'spec/files/kites.mp4':
26
+ Duration: 00:00:19.6, start: 0.000000, bitrate: 98 kb/s
27
+ Stream #0.0(und): Video: mpeg4, yuv420p, 176x144, 10.00 fps(r)
28
+ Stream #0.1(und): Audio: samr / 0x726D6173, 8000 Hz, mono
29
+ Must supply at least one output file
30
+ kites2:
31
+ response: |
32
+ FFmpeg version SVN-r9102, Copyright (c) 2000-2007 Fabrice Bellard, et al.
33
+ configuration: --prefix=/opt/local --prefix=/opt/local --disable-vhook --mandir=/opt/local/share/man --enable-shared --enable-pthreads --disable-mmx --enable-gpl --enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libtheora --enable-libfaac --enable-xvid --enable-x264 --enable-liba52
34
+ libavutil version: 49.4.0
35
+ libavcodec version: 51.40.4
36
+ libavformat version: 51.12.1
37
+ built on Dec 11 2007 12:00:30, gcc: 4.0.1 (Apple Inc. build 5465)
38
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'spec/files/kites.mp4':
39
+ Duration: 00:00:19.6, start: 0.000000, bitrate: 98 kb/s
40
+ Stream #0.0(und): Video: mpeg4, yuv420p, 176x144, 10.00 fps(r)
41
+ Stream #0.1(und): Audio: samr / 0x726D6173, 8000 Hz, mono
42
+ Must supply at least one output file
43
+ duck:
44
+ response: |
45
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
46
+ Mac OSX universal build for ffmpegX
47
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
48
+ libavutil version: 49.0.0
49
+ libavcodec version: 51.9.0
50
+ libavformat version: 50.4.0
51
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
52
+ Input #0, mp3, from '01 Come See The Duck.mp3':
53
+ Duration: 00:02:03.0, start: 0.000000, bitrate: 128 kb/s
54
+ Stream #0.0: Audio: mp3, 44100 Hz, stereo, 128 kb/s
55
+ Must supply at least one output file
56
+ eiffel:
57
+ response: |
58
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
59
+ Mac OSX universal build for ffmpegX
60
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
61
+ libavutil version: 49.0.0
62
+ libavcodec version: 51.9.0
63
+ libavformat version: 50.4.0
64
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
65
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '03 Alec Eiffel 1.m4a':
66
+ Duration: 00:02:50.3, start: 0.000000, bitrate: 162 kb/s
67
+ Stream #0.0(und): Audio: aac, 44100 Hz, stereo
68
+ Must supply at least one output file
69
+ mpeg1_957:
70
+ response: |
71
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
72
+ Mac OSX universal build for ffmpegX
73
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
74
+ libavutil version: 49.0.0
75
+ libavcodec version: 51.9.0
76
+ libavformat version: 50.4.0
77
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
78
+ Input #0, mpeg, from '957.mpg':
79
+ Duration: 00:00:22.6, start: 0.177778, bitrate: 808 kb/s
80
+ Stream #0.0[0x1c0]: Audio: mp2, 32000 Hz, mono, 32 kb/s
81
+ Stream #0.1[0x1e0], 25.00 fps(r): Video: mpeg1video, yuv420p, 320x240, 104857 kb/s
82
+ Must supply at least one output file
83
+ buffy:
84
+ response: |
85
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
86
+ Mac OSX universal build for ffmpegX
87
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
88
+ libavutil version: 49.0.0
89
+ libavcodec version: 51.9.0
90
+ libavformat version: 50.4.0
91
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
92
+
93
+ Seems that stream 0 comes from film source: 30000.00 (30000/1) -> 23.98 (24000/1001)
94
+ Input #0, avi, from 'buffy0501.avi':
95
+ Duration: 00:43:25.3, start: 0.000000, bitrate: 1266 kb/s
96
+ Stream #0.0, 23.98 fps(r): Video: mpeg4, yuv420p, 640x464
97
+ Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
98
+ Must supply at least one output file
99
+ chainsaw:
100
+ response: |
101
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
102
+ Mac OSX universal build for ffmpegX
103
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
104
+ libavutil version: 49.0.0
105
+ libavcodec version: 51.9.0
106
+ libavformat version: 50.4.0
107
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
108
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'chainsaw-xvid.mov':
109
+ Duration: 00:01:09.5, start: 0.000000, bitrate: 970 kb/s
110
+ Stream #0.0(eng), 23.98 fps(r): Video: mpeg4, yuv420p, 624x352
111
+ Stream #0.1(eng): Audio: mp2, 48000 Hz, stereo
112
+ Must supply at least one output file
113
+ chairprank:
114
+ response: |
115
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
116
+ Mac OSX universal build for ffmpegX
117
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
118
+ libavutil version: 49.0.0
119
+ libavcodec version: 51.9.0
120
+ libavformat version: 50.4.0
121
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
122
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5597b8]negative ctts, ignoring
123
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'chair_prank.mov':
124
+ Duration: 00:00:36.6, start: 0.000000, bitrate: 26602 kb/s
125
+ Stream #0.0(eng): Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
126
+ Stream #0.1(eng), 29.97 fps(r): Video: mpeg2video, yuv420p, 1440x1080, 25000 kb/s
127
+ Must supply at least one output file
128
+ fire_short:
129
+ response: |
130
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
131
+ Mac OSX universal build for ffmpegX
132
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
133
+ libavutil version: 49.0.0
134
+ libavcodec version: 51.9.0
135
+ libavformat version: 50.4.0
136
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
137
+ [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5597b8]negative ctts, ignoring
138
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fire-short.mov':
139
+ Duration: 00:00:10.0, start: 0.000000, bitrate: 23232 kb/s
140
+ Stream #0.0(eng): Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
141
+ Stream #0.1(eng), 29.97 fps(r): Video: h264, yuv420p, 1280x720
142
+ Must supply at least one output file
143
+ fire_video_only:
144
+ response: |
145
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
146
+ Mac OSX universal build for ffmpegX
147
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
148
+ libavutil version: 49.0.0
149
+ libavcodec version: 51.9.0
150
+ libavformat version: 50.4.0
151
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
152
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fire-short.video.mp4':
153
+ Duration: 00:00:10.0, start: 0.000000, bitrate: 506 kb/s
154
+ Stream #0.0(und), 29.97 fps(r): Video: h264, yuv420p, 320x180
155
+ Must supply at least one output file
156
+ fire_audio_only:
157
+ response: |
158
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
159
+ Mac OSX universal build for ffmpegX
160
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
161
+ libavutil version: 49.0.0
162
+ libavcodec version: 51.9.0
163
+ libavformat version: 50.4.0
164
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
165
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fire-short.audio.mp4':
166
+ Duration: 00:00:10.0, start: 0.000000, bitrate: 86 kb/s
167
+ Stream #0.0(und): Audio: aac, 48000 Hz, stereo
168
+ Must supply at least one output file
169
+ fireproof:
170
+ response: |
171
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
172
+ Mac OSX universal build for ffmpegX
173
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
174
+ libavutil version: 49.0.0
175
+ libavcodec version: 51.9.0
176
+ libavformat version: 50.4.0
177
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
178
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fireproof_apple_intermediate.mov':
179
+ Duration: 00:00:18.7, start: 0.000000, bitrate: 24281 kb/s
180
+ Stream #0.0(eng): Audio: pcm_s16be, 48000 Hz, mono, 768 kb/s
181
+ Stream #0.1(eng), 600.00 fps(r): Video: Apple Intermediate Codec, 1280x720
182
+ Must supply at least one output file
183
+ jobjob:
184
+ response: |
185
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
186
+ Mac OSX universal build for ffmpegX
187
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
188
+ libavutil version: 49.0.0
189
+ libavcodec version: 51.9.0
190
+ libavformat version: 50.4.0
191
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
192
+
193
+ Seems that stream 1 comes from film source: 600.00 (600/1) -> 59.75 (239/4)
194
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'jobjob.mov':
195
+ Duration: 00:01:09.0, start: 0.000000, bitrate: 28847 kb/s
196
+ Stream #0.0(eng): Audio: aac, 44100 Hz, stereo
197
+ Stream #0.1(eng), 59.75 fps(r): Video: dvvideo, yuv411p, 720x480
198
+ Must supply at least one output file
199
+ lecture:
200
+ response: |
201
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
202
+ Mac OSX universal build for ffmpegX
203
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
204
+ libavutil version: 49.0.0
205
+ libavcodec version: 51.9.0
206
+ libavformat version: 50.4.0
207
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
208
+ Input #0, avi, from 'lecture.avi':
209
+ Duration: 01:01:20.4, start: 0.000000, bitrate: 996 kb/s
210
+ Stream #0.0, 29.97 fps(r): Video: msmpeg4, yuv420p, 320x240
211
+ Stream #0.1: Audio: mp3, 48000 Hz, mono, 64 kb/s
212
+ Must supply at least one output file
213
+ nope:
214
+ respone: |
215
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
216
+ Mac OSX universal build for ffmpegX
217
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
218
+ libavutil version: 49.0.0
219
+ libavcodec version: 51.9.0
220
+ libavformat version: 50.4.0
221
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
222
+ Input #0, mpeg, from 'nope_mpeg2.mpg':
223
+ Duration: 00:00:06.2, start: 0.375367, bitrate: 1972 kb/s
224
+ Stream #0.0[0x1e0], 23.98 fps(r): Video: mpeg2video, yuv420p, 720x400, 104857 kb/s
225
+ Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, 128 kb/s
226
+ Must supply at least one output file
227
+ tiki:
228
+ response: |
229
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
230
+ Mac OSX universal build for ffmpegX
231
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
232
+ libavutil version: 49.0.0
233
+ libavcodec version: 51.9.0
234
+ libavformat version: 50.4.0
235
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
236
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tiki.m4v':
237
+ Duration: 00:05:23.9, start: 0.000000, bitrate: 1631 kb/s
238
+ Stream #0.0(eng): Audio: aac, 44100 Hz, stereo
239
+ Stream #0.1(eng), 23.98 fps(r): Video: h264, yuv420p, 640x360
240
+ Must supply at least one output file
241
+ ben:
242
+ response: |
243
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
244
+ Mac OSX universal build for ffmpegX
245
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
246
+ libavutil version: 49.0.0
247
+ libavcodec version: 51.9.0
248
+ libavformat version: 50.4.0
249
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
250
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ben.3g2':
251
+ Duration: 00:01:04.8, start: 0.000000, bitrate: 138 kb/s
252
+ Stream #0.0(und): Audio: mp4a / 0x6134706D, 8000 Hz, stereo
253
+ Stream #0.1(und), 15.00 fps(r): Video: mpeg4, yuv420p, 320x240
254
+ Must supply at least one output file
255
+ dan:
256
+ response: |
257
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
258
+ Mac OSX universal build for ffmpegX
259
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
260
+ libavutil version: 49.0.0
261
+ libavcodec version: 51.9.0
262
+ libavformat version: 50.4.0
263
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
264
+
265
+ Seems that stream 0 comes from film source: 1000.00 (48000/48) -> 7.67 (23/3)
266
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'dan.3gp':
267
+ Duration: 00:00:07.0, start: 0.000000, bitrate: 107 kb/s
268
+ Stream #0.0(und), 7.67 fps(r): Video: h263, yuv420p, 176x144
269
+ Stream #0.1(und): Audio: amr_nb, 8000 Hz, mono
270
+ Must supply at least one output file
271
+ out:
272
+ response: |
273
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
274
+ Mac OSX universal build for ffmpegX
275
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
276
+ libavutil version: 49.0.0
277
+ libavcodec version: 51.9.0
278
+ libavformat version: 50.4.0
279
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
280
+
281
+ Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 15.00 (15/1)
282
+ Input #0, flv, from 'output.flv':
283
+ Duration: 00:00:03.5, bitrate: N/A
284
+ Stream #0.0: Audio: mp3, 22050 Hz, mono
285
+ Stream #0.1, 15.00 fps(r): Video: flv, yuv420p, 320x240
286
+ Must supply at least one output file
287
+ truck:
288
+ response: |
289
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
290
+ Mac OSX universal build for ffmpegX
291
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
292
+ libavutil version: 49.0.0
293
+ libavcodec version: 51.9.0
294
+ libavformat version: 50.4.0
295
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
296
+
297
+ Seems that stream 0 comes from film source: 15000.00 (30000/2) -> 15.00 (15/1)
298
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'truck.3gpp':
299
+ Duration: 00:00:24.4, start: 0.000000, bitrate: 134 kb/s
300
+ Stream #0.0(und), 15.00 fps(r): Video: h263, yuv420p, 176x144
301
+ Stream #0.1(und): Audio: amr_nb, 8000 Hz, mono
302
+ Must supply at least one output file
303
+ live_tv:
304
+ response: |
305
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
306
+ Mac OSX universal build for ffmpegX
307
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
308
+ libavutil version: 49.0.0
309
+ libavcodec version: 51.9.0
310
+ libavformat version: 50.4.0
311
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
312
+
313
+ Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 15.00 (15/1)
314
+ Input #0, asf, from '2LiveTV.wmv':
315
+ Duration: 00:00:54.4, start: 5.000000, bitrate: 310 kb/s
316
+ Stream #0.0: Audio: wmav2, 32000 Hz, stereo, 48 kb/s
317
+ Stream #0.1, 15.00 fps(r): Video: wmv2, yuv420p, 320x240
318
+ Must supply at least one output file
319
+ jedermann:
320
+ response: |
321
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
322
+ Mac OSX universal build for ffmpegX
323
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
324
+ libavutil version: 49.0.0
325
+ libavcodec version: 51.9.0
326
+ libavformat version: 50.4.0
327
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
328
+
329
+ Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 30.00 (30/1)
330
+ Input #0, asf, from 'jedermann.wmv':
331
+ Duration: 00:00:29.9, start: 5.000000, bitrate: 887 kb/s
332
+ Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 64 kb/s
333
+ Stream #0.1, 30.00 fps(r): Video: WMV3 / 0x33564D57, 320x240
334
+ Must supply at least one output file
335
+ athf:
336
+ response: |
337
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
338
+ Mac OSX universal build for ffmpegX
339
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
340
+ libavutil version: 49.0.0
341
+ libavcodec version: 51.9.0
342
+ libavformat version: 50.4.0
343
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
344
+
345
+ Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 30.00 (30/1)
346
+ Input #0, asf, from 'athf2.wmv':
347
+ Duration: 00:00:21.1, start: 5.000000, bitrate: 1534 kb/s
348
+ Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 64 kb/s
349
+ Stream #0.1, 30.00 fps(r): Video: WMVA / 0x41564D57, 640x480
350
+ Must supply at least one output file
351
+ macgyver:
352
+ response: |
353
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
354
+ Mac OSX universal build for ffmpegX
355
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
356
+ libavutil version: 49.0.0
357
+ libavcodec version: 51.9.0
358
+ libavformat version: 50.4.0
359
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
360
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'macgyver.mov':
361
+ Duration: 00:00:50.2, start: 0.000000, bitrate: 1100 kb/s
362
+ Stream #0.0(eng), 23.98 fps(r): Video: msmpeg4, yuv420p, 512x384
363
+ Stream #0.1(eng): Audio: mp2, 44100 Hz, stereo
364
+ Must supply at least one output file
365
+ text:
366
+ response: |
367
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
368
+ Mac OSX universal build for ffmpegX
369
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
370
+ libavutil version: 49.0.0
371
+ libavcodec version: 51.9.0
372
+ libavformat version: 50.4.0
373
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
374
+ TODO: Unknown format
375
+ invalid:
376
+ response: |
377
+ FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
378
+ Mac OSX universal build for ffmpegX
379
+ configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
380
+ libavutil version: 49.0.0
381
+ libavcodec version: 51.9.0
382
+ libavformat version: 50.4.0
383
+ built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
384
+ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tmp/results/fancypants-ipod.mp4':
385
+ Duration: N/A, bitrate: N/A
386
+ Must supply at least one output file
387
+ failing_ogg:
388
+ response: |
389
+ FFmpeg version SVN-r10656, Copyright (c) 2000-2007 Fabrice Bellard, et al.
390
+ configuration: --enable-libmp3lame --enable-libogg --enable-libvorbis --enable-liba52 --enable-libxvid --enable-libfaac --enable-libfaad --enable-libx264 --enable-libxvid --enable-pp --enable-shared --enable-gpl --enable-libtheora --enable-libfaadbin --enable-liba52bin --enable-libamr_nb --enable-libamr_wb --extra-ldflags=-L/usr/local/ffmpeg-src/ffmpeg/libavcodec/acfr16/ --extra-libs=-lacfr --enable-libacfr16
391
+ libavutil version: 49.5.0
392
+ libavcodec version: 51.44.0
393
+ libavformat version: 51.14.0
394
+ built on Oct 30 2007 15:33:08, gcc: 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
395
+ Input #0, ogg, from 'tmp/37/PodcastPeople___Make_every_Podcast_Count__sweeper-19530.ogg':
396
+ Duration: N/A, start: 0.000000, bitrate: N/A
397
+ Stream #0.0: Audio: vorbis, 44100 Hz, stereo
398
+ Must supply at least one output file
@@ -0,0 +1,58 @@
1
+ simple_flv: |
2
+ ffmpeg -i $input_file$ -ar 22050 -ab 64 -f flv -r 29.97 -s $resolution$ -y $temp_file$
3
+ flvtool2 -U $temp_file$ $output_file$
4
+ simple_avi: |
5
+ ffmpeg -i $input_file$ -ar 44100 -ab 64 -vcodec xvid -acodec mp3 -r 29.97 -s $resolution$ -y $output_file$
6
+
7
+ hq_wmv:
8
+ extension: 'wmv'
9
+ command: |
10
+ ffmpeg -y -i $input_file$ -f asf -vcodec msmpeg4v2 -qscale 5 -pix_fmt yuv420p -acodec libmp3lame $original_fps$ -ar 44100 -psnr -s 720x480 $output_file$
11
+ psp:
12
+ extension: 'mp4'
13
+ command: |
14
+ mencoder $input_file$ -o $output_file$ -oac lavc -ovc lavc -of lavf -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac:abitrate=64:vbitrate=400 -af lavcresample=24000 -vf harddup -lavfopts format=psp:i_certify_that_my_video_stream_does_not_use_b_frames -ofps 30000/1001
15
+ one_pass:
16
+ extension: 'mp4'
17
+ command: |
18
+ ffmpeg -y -i $input_file$ -v 1 -threads 1 -vcodec h264 -b 500 -bt 175 -refs 2 -loop 1 -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 -partb8x8 1 -me full -subq 6 -brdo 1 -me_range 21 -chroma 1 -slice 2 -level 13 -g 300 -keyint_min 30 -sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.7 -qmax 35 -cmp 1 -s 720x304 -acodec aac -ab 64 -ar 44100 -ac 1 -f mp4 $output_file$
19
+ wmv_768:
20
+ extension: 'wmv'
21
+ command: |
22
+ ffmpeg -y -i $input_file$ -f asf -vcodec msmpeg4v2 -b 699k -pix_fmt yuv420p -ab 80k -acodec wmav2 -r 23.98 -ar 44100 -ac 2 -psnr -pass 1 -passlogfile $output_file$.log -s 480x360 $output_file$
23
+ ffmpeg -y -i $input_file$ -f asf -vcodec msmpeg4v2 -b 699k -pix_fmt yuv420p -ab 80k -acodec wmav2 -r 23.98 -ar 44100 -ac 2 -psnr -pass 2 -passlogfile $output_file$.log -s 480x360 $output_file$
24
+ wmv_256:
25
+ extension: 'wmv'
26
+ command: |
27
+ ffmpeg -y -i $input_file$ -f asf -vcodec msmpeg4v2 -b 227k -pix_fmt yuv420p -ab 64k -acodec wmav2 -r 23.98 -ar 44100 -ac 2 -psnr -pass 1 -passlogfile $output_file$.log -s 320x240 $output_file$
28
+ ffmpeg -y -i $input_file$ -f asf -vcodec msmpeg4v2 -b 227k -pix_fmt yuv420p -ab 64k -acodec wmav2 -r 23.98 -ar 44100 -ac 2 -psnr -pass 2 -passlogfile $output_file$.log -s 320x240 $output_file$
29
+ wmv_56:
30
+ extension: 'wmv'
31
+ command: |
32
+ ffmpeg -y -i $input_file$ -f asf -vcodec msmpeg4v2 -qscale 31 -pix_fmt yuv420p -ab 8k -acodec libmp3lame -r 11.98 -ar 8000 -ac 1 -psnr -s 160x120 $output_file$
33
+ mob_56:
34
+ extension: '3gp'
35
+ command: |
36
+ ffmpeg -y -i $input_file$ -f 3gp -vcodec mpeg4 -b 44 -pix_fmt yuv420p -ab 5.9k -acodec libamr_nb -r 11.98 -ar 8000 -ac 1 -psnr -s 160x120 $output_file$
37
+ flash_700:
38
+ extension: 'flv'
39
+ command: |
40
+ ffmpeg -y -i $input_file$ -f flv -b 700k -ab 80k -acodec libmp3lame -r 15 -ar 22050 -ac 2 -psnr -pass 1 -passlogfile $output_file$.log -s 480x360 $output_file$
41
+ ffmpeg -y -i $input_file$ -f flv -b 700k -ab 80k -acodec libmp3lame -r 15 -ar 22050 -ac 2 -psnr -pass 2 -passlogfile $output_file$.log -s 480x360 $output_file$
42
+ flvtool2 -U $output_file$
43
+ flash_300:
44
+ extension: 'flv'
45
+ command: |
46
+ ffmpeg -y -i $input_file$ -f flv -b 300k -ab 64k -acodec libmp3lame -r 15 -ar 22050 -ac 2 -psnr -pass 1 -passlogfile $output_file$.log -s 320x240 $output_file$
47
+ ffmpeg -y -i $input_file$ -f flv -b 300k -ab 64k -acodec libmp3lame -r 15 -ar 22050 -ac 2 -psnr -pass 2 -passlogfile $output_file$.log -s 320x240 $output_file$
48
+ flvtool2 -U $output_file$
49
+ qt_500:
50
+ extension: 'mov'
51
+ command: |
52
+ ffmpeg -y -i $input_file$ -f mov -vcodec mpeg4 -b 453k -ab 48k -acodec libmp3lame -r 15 -ar 44100 -ac 2 -psnr -pass 1 -passlogfile $output_file$.log -s 320x240 $output_file$
53
+ ffmpeg -y -i $input_file$ -f mov -vcodec mpeg4 -b 453k -ab 48k -acodec libmp3lame -r 15 -ar 44100 -ac 2 -psnr -pass 2 -passlogfile $output_file$.log -s 320x240 $output_file$
54
+ qt_300:
55
+ extension: 'mov'
56
+ command: |
57
+ ffmpeg -y -i $input_file$ -f mov -vcodec mpeg4 -b 253k -ab 40k -acodec libmp3lame -r 15 -ar 44100 -ac 2 -psnr -pass 1 -passlogfile $output_file$.log -s 240x180 $output_file$
58
+ ffmpeg -y -i $input_file$ -f mov -vcodec mpeg4 -b 253k -ab 40k -acodec libmp3lame -r 15 -ar 44100 -ac 2 -psnr -pass 2 -passlogfile $output_file$.log -s 240x180 $output_file$