Custom Query (1173 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (268 - 270 of 1173)

Ticket Resolution Summary Owner Reporter
#5407 fixed Video thumbnailer won't work anymore jonathlela
Description

When using PIL to make a video thumbnail, the following exception is raised :

AttributeError: 'module' object has no attribute 'frombytes'

This issue was fixed in #5321 (see 5b8e0b2a63194d53da2ce434e867fc5eab1b60b4)

However, #5375 reintroduces the error (see 6e38fec80ebaadc3b3cfdc912f40cc4e8bb9b31cc)

#5375 fixed Video thumbnailer relies on function that has been removed from recent PIL ayleph
Description

A few users have come into IRC to report that their installations fail to process videos with the following error.

File '/srv/mediagoblin.example.org/mediagoblin/mediagoblin/media_types/video/processing.py', line 396 in process
  self.generate_thumb(thumb_size=thumb_size)
File '/srv/mediagoblin.example.org/mediagoblin/mediagoblin/media_types/video/processing.py', line 319 in generate_thumb
  thumb_size[0])
File '/srv/mediagoblin.example.org/mediagoblin/mediagoblin/media_types/video/transcoders.py', line 136 in capture_thumb
  buffer.extract_dup(0, buffer.get_size()))
File '/usr/lib/python2.7/dist-packages/PIL/Image.py', line 2053 in fromstring
  "Please call frombytes() instead.")
Exception: fromstring() has been removed. Please call frombytes() instead.
#932 invalid Video thumbnail pipeline passes seek_amount argument as float when int is expected ayleph
Description

While seeking through a video file to create a thumbnail, the pipeline (always?) passes the seek_amount argument as a float. This results in the DeprecationWarning: integer argument expected, got float warning shown below.

17:42:56,974 DEBUG   [mediagoblin.processing.task] Processing <MediaEntry 28: file>
17:42:56,974 INFO    [mediagoblin.media_types.video.transcoders] Initializing VideoTranscoder...
17:42:56,976 INFO    [mediagoblin.media_types.video.transcoders] Discovering /path/to/mediagoblin/user_dev/media/queue/media_entries/hash/file.webm
17:42:57,027 INFO    [mediagoblin.media_types.video.transcoders] Terminating MainLoop
17:42:57,028 DEBUG   [mediagoblin.media_types.video.processing] Skipping transcoding
17:42:57,089 INFO    [mediagoblin.media_types.video.transcoders] playbin ready
17:42:57,090 CRITICA [mediagoblin.media_types.video.transcoders] Could not get any video data from playbin
/path/to/mediagoblin/mediagoblin/media_types/video/transcoders.py:243: DeprecationWarning: integer argument expected, got float
  0)
17:42:57,118 INFO    [mediagoblin.media_types.video.transcoders] Could not seek.
/path/to/mediagoblin/mediagoblin/media_types/video/transcoders.py:243: DeprecationWarning: integer argument expected, got float
  0)
17:42:57,118 INFO    [mediagoblin.media_types.video.transcoders] Could not seek.
/path/to/mediagoblin/mediagoblin/media_types/video/transcoders.py:243: DeprecationWarning: integer argument expected, got float
  0)
17:42:57,118 INFO    [mediagoblin.media_types.video.transcoders] Could not seek.
/path/to/mediagoblin/mediagoblin/media_types/video/transcoders.py:243: DeprecationWarning: integer argument expected, got float
  0)
17:42:57,119 INFO    [mediagoblin.media_types.video.transcoders] Could not seek.
/path/to/mediagoblin/mediagoblin/media_types/video/transcoders.py:243: DeprecationWarning: integer argument expected, got float
  0)
17:42:57,119 INFO    [mediagoblin.media_types.video.transcoders] Could not seek.
/path/to/mediagoblin/mediagoblin/media_types/video/transcoders.py:243: DeprecationWarning: integer argument expected, got float
  0)
17:42:57,119 INFO    [mediagoblin.media_types.video.transcoders] Could not seek.
/path/to/mediagoblin/mediagoblin/media_types/video/transcoders.py:243: DeprecationWarning: integer argument expected, got float
  0)
17:42:57,120 INFO    [mediagoblin.media_types.video.transcoders] Could not seek.
/path/to/mediagoblin/mediagoblin/media_types/video/transcoders.py:243: DeprecationWarning: integer argument expected, got float
  0)
17:42:57,120 INFO    [mediagoblin.media_types.video.transcoders] Could not seek.
/path/to/mediagoblin/mediagoblin/media_types/video/transcoders.py:243: DeprecationWarning: integer argument expected, got float
  0)
17:42:57,121 INFO    [mediagoblin.media_types.video.transcoders] Could not seek.
/path/to/mediagoblin/mediagoblin/media_types/video/transcoders.py:243: DeprecationWarning: integer argument expected, got float
  0)
17:42:57,129 INFO    [mediagoblin.media_types.video.transcoders] Seek successful, attaching buffer probe
17:42:57,130 INFO    [mediagoblin.media_types.video.transcoders] Attached buffer probes: {'fakesink0': 75L}
17:42:57,219 INFO    [mediagoblin.media_types.video.transcoders] Taking snapshot! ((<GstPad (fakesink0:sink) at 7f606c211df0>, <gst.Buffer 0x7f607c006740 of size 54540 and data 0x56422e57>, 'fakesink0'))
17:42:57,282 INFO    [mediagoblin.media_types.video.transcoders] Saved snapshot!
17:42:57,297 DEBUG   [mediagoblin.media_types.video.processing] Saving thumbnail...
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.