https://www.mediawiki.org/wiki/Special:Code/MediaWiki/102080

Revision: 102080
Author:   malvineous
Date:     2011-11-05 01:34:47 +0000 (Sat, 05 Nov 2011)
Log Message:
-----------
[FLVHandler] Update command line to work with recent FFmpeg versions

Modified Paths:
--------------
    trunk/extensions/FlvHandler/FlvHandler.php

Modified: trunk/extensions/FlvHandler/FlvHandler.php
===================================================================
--- trunk/extensions/FlvHandler/FlvHandler.php  2011-11-05 01:06:59 UTC (rev 
102079)
+++ trunk/extensions/FlvHandler/FlvHandler.php  2011-11-05 01:34:47 UTC (rev 
102080)
@@ -20,8 +20,8 @@
 $wgExtensionCredits['media'][] = array(
        'path'         => __FILE__,
        'name'         => 'FLV Image Handler',
-       'version'      => 'r3',
-       'author'       => 'Adam Nielsen', 
+       'version'      => 'r4',
+       'author'       => 'Adam Nielsen',
        'url'          => 'http://www.mediawiki.org/wiki/Extension:FlvHandler',
        'descriptionmsg' => 'flvhandler_desc'
 );
@@ -34,7 +34,7 @@
 
 // Commands to extract still frames out of the FLV files
 $wgFLVConverters = array(
-       'ffmpeg' => '$path/ffmpeg -vcodec png -i $input -ss 0 -vframes 1 -s 
$widthx$height -f image2 $output'
+       'ffmpeg' => '$path/ffmpeg -i $input -ss 0 -vframes 1 -vcodec png -s 
$widthx$height -f image2 $output'
 );
 // Probe command (to get video width and height.)  'regex' is run over the
 // command's output to get the dimensions.


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to