Paste Code
Paste Blends
Paste Images
jose@jose:~/Development/python/moviepy/gifs$ python disney_frozen.py 
error: string: , stderr: ffmpeg version 0.8.9-4:0.8.9-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Nov 9 2013 19:08:00 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './frozen_trailer.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2013-11-12 21:40:27
Duration: 00:02:24.91, start: 0.000000, bitrate: 1718 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 1280x572, 1524 kb/s, 23.98 fps, 23.98 tbr, 48k tbn, 47.95 tbc
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 191 kb/s
Metadata:
creation_time : 2013-11-12 21:40:28
[buffer @ 0x9f87e0] w:1280 h:572 pixfmt:yuv420p
[avsink @ 0xa1e460] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x9f7680] w:1280 h:572 fmt:yuv420p -> w:1280 h:572 fmt:rgb24 flags:0x4
Output #0, image2pipe, to 'pipe:':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2013-11-12 21:40:27
encoder : Lavf53.21.1
Stream #0.0(und): Video: rawvideo, rgb24, 1280x572, q=2-31, 200 kb/s, 90k tbn, 23.98 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press ctrl-c to stop encoding

Traceback (most recent call last):
File "disney_frozen.py", line 3, in <module>
VideoFileClip("./frozen_trailer.mp4")
File "/usr/local/lib/python2.7/dist-packages/moviepy/video/io/VideoFileClip.py", line 46, in __init__
self.reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt)
File "/usr/local/lib/python2.7/dist-packages/moviepy/video/io/ffmpeg_reader.py", line 19, in __init__
self.lastread = self.read_frame()
File "/usr/local/lib/python2.7/dist-packages/moviepy/video/io/ffmpeg_reader.py", line 94, in read_frame
dtype='uint8').reshape((h,w,len(s)/(w*h)))
ValueError: total size of new array must be unchanged
jose@jose:~/Development/python/moviepy/gifs$
  1. jose@jose:~/Development/python/moviepy/gifs$ python disney_frozen.py
  2. error: string: , stderr: ffmpeg version 0.8.9-4:0.8.9-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
  3.   built on Nov  9 2013 19:08:00 with gcc 4.6.3
  4. *** THIS PROGRAM IS DEPRECATED ***
  5. This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
  6. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './frozen_trailer.mp4':
  7.   Metadata:
  8.     major_brand     : mp42
  9.     minor_version   : 0
  10.     compatible_brands: isommp42
  11.     creation_time   : 2013-11-12 21:40:27
  12.   Duration: 00:02:24.91, start: 0.000000, bitrate: 1718 kb/s
  13.     Stream #0.0(und): Video: h264 (High), yuv420p, 1280x572, 1524 kb/s, 23.98 fps, 23.98 tbr, 48k tbn, 47.95 tbc
  14.     Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 191 kb/s
  15.     Metadata:
  16.       creation_time   : 2013-11-12 21:40:28
  17. [buffer @ 0x9f87e0] w:1280 h:572 pixfmt:yuv420p
  18. [avsink @ 0xa1e460] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
  19. [scale @ 0x9f7680] w:1280 h:572 fmt:yuv420p -> w:1280 h:572 fmt:rgb24 flags:0x4
  20. Output #0, image2pipe, to 'pipe:':
  21.   Metadata:
  22.     major_brand     : mp42
  23.     minor_version   : 0
  24.     compatible_brands: isommp42
  25.     creation_time   : 2013-11-12 21:40:27
  26.     encoder         : Lavf53.21.1
  27.     Stream #0.0(und): Video: rawvideo, rgb24, 1280x572, q=2-31, 200 kb/s, 90k tbn, 23.98 tbc
  28. Stream mapping:
  29.   Stream #0.0 -> #0.0
  30. Press ctrl-c to stop encoding
  31.  
  32. Traceback (most recent call last):
  33.   File "disney_frozen.py", line 3, in <module>
  34.     VideoFileClip("./frozen_trailer.mp4")
  35.   File "/usr/local/lib/python2.7/dist-packages/moviepy/video/io/VideoFileClip.py", line 46, in __init__
  36.     self.reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt)
  37.   File "/usr/local/lib/python2.7/dist-packages/moviepy/video/io/ffmpeg_reader.py", line 19, in __init__
  38.     self.lastread = self.read_frame()
  39.   File "/usr/local/lib/python2.7/dist-packages/moviepy/video/io/ffmpeg_reader.py", line 94, in read_frame
  40.     dtype='uint8').reshape((h,w,len(s)/(w*h)))
  41. ValueError: total size of new array must be unchanged
  42. jose@jose:~/Development/python/moviepy/gifs$
  43.  
go to heaven