r102080 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102079‎ | r102080 | r102081 >
Date:01:34, 5 November 2011
Author:malvineous
Status:deferred
Tags:
Comment:
[FLVHandler] Update command line to work with recent FFmpeg versions
Modified paths:
  • /trunk/extensions/FlvHandler/FlvHandler.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlvHandler/FlvHandler.php
@@ -20,8 +20,8 @@
2121 $wgExtensionCredits['media'][] = array(
2222 'path' => __FILE__,
2323 'name' => 'FLV Image Handler',
24 - 'version' => 'r3',
25 - 'author' => 'Adam Nielsen',
 24+ 'version' => 'r4',
 25+ 'author' => 'Adam Nielsen',
2626 'url' => 'http://www.mediawiki.org/wiki/Extension:FlvHandler',
2727 'descriptionmsg' => 'flvhandler_desc'
2828 );
@@ -34,7 +34,7 @@
3535
3636 // Commands to extract still frames out of the FLV files
3737 $wgFLVConverters = array(
38 - 'ffmpeg' => '$path/ffmpeg -vcodec png -i $input -ss 0 -vframes 1 -s $widthx$height -f image2 $output'
 38+ 'ffmpeg' => '$path/ffmpeg -i $input -ss 0 -vframes 1 -vcodec png -s $widthx$height -f image2 $output'
3939 );
4040 // Probe command (to get video width and height.) 'regex' is run over the
4141 // command's output to get the dimensions.

Status & tagging log