
Recherche avancée
Autres articles (111)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (12817)
-
Revision a2c6f6e945 : Merge "disambiguate superframe index in vp9_stop_encode()" into experimental
13 mars 2013, par Paul WilkinsMerge "disambiguate superframe index in vp9_stop_encode()" into experimental
-
Remove references to the "ff" variant of buffersink.
11 mars 2013, par Nicolas GeorgeRemove references to the "ff" variant of buffersink.
-
Perl and ffmpeg script
21 novembre 2016, par armight29The first part of my script that asks whether to check for cinavia doesn’t work. That is, if I type in ’y’ or ’Y’ it doesn’t proceed to the
CNVIACHk
function but goes instead to theMVIEPARAMs
function.# GET FILE INPUT..
print "Enter Filename..";
my $MOVIe = <stdin>;
print "Check For Cinavia? Enter y or n\n";
my $CNVIAQUESt = <stdin>;
if ( $CNVIAQUESt eq "y" || $CNVIAQUESt eq "Y" ) {
CNVIACHk( $MOVIe );
}
else {
MVIEPARAMs( $MOVIe );
}
sub MVIEPARAMs {
system(
"ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 $MOVIe"
);
print "Duration In Seconds..";
$DURATIOn = <stdin>;
system(
'ffprobe -v error -of flat=s=_ -select_streams v:0 -show_entries stream=height,width "$MOVIe"'
);
print "Movie Width? ";
$MOVIEWIDTh = <stdin>;
print "Movie Height? ";
$MOVIEHEIGHt = <stdin>;
print "Enter Target Width.. ";
$TARGETWIDTh = <stdin>;
print "Enter Target Height.. ";
$TARGETHEIGHt = <stdin>;
system(
'ffprobe -show_entries stream=index,codec_type:stream_tags=language -of compact "$MOVIe" -v 0 | grep eng'
);
print "Enter number of English Audio Track.. ";
$ENGAUDTRk = <stdin>;
print "English Audio Track Number Is ", $ENGAUDTRk, ".";
$BTRTe = 31875072 / $DURATIOn;
DETRMNEPAd;
}
sub DETRMNEPAd {
if ( $MOVIEWIDTh < $TARGETWIDTh ) {
$X = $TARGETWIDTh - $MOVIEWIDTh / 2;
}
elsif ( $MOVIEHEIGHt < $TARGETHEIGHt ) {
$Y = $TARGETHEIGHt - $MOVIEHEIGHt / 2;
$X = 0;
print $Y;
}
else {
print "Padding Not Needed Moving On...";
CNVRTWOPAd();
}
CNVRTWPAd();
}
sub CNVIACHk {
print "Checking Movie For Cinavia.. ";
system( "cinde -i $MOVIe -q high -l" );
print "Enter Track To Check.. ";
$TRKTOCHEk = <stdin>;
system( "cinde -i $MOVIe -q high -t $TRKTOCHEk" );
print "Was Cinavia Detected?";
$CNVIACHKANSr = <stdin>;
if ( $CNVIACHKANSr eq "y" ) {
exit;
}
else {
print "Would You Like To Check Another Track?";
$CHKANTHRTRk = <stdin>;
if ( $CHKANTHRTRk eq "y" ) {
CNVIACHk();
}
else {
MVIEPARAMs();
}
}
}
sub CNVRTWOPAd {
print "BEGINNING CONVERSION...\n";
print "What Preset Would You Like To Use?";
$PRESEt = <stdin>;
system(
"ffmpeg -i $MOVIe -map 0:0 -map 0:$ENGAUDTRk -c:v libx264 -b:v $BTRTe -preset $PRESEt -strict -2 -c:a ac3 -b:a 192k -threads 12 -pass 1 -f matroska dummy && ",
"ffmpeg -i $MOVIe -map 0:0 -map 0:$ENGAUDTRk -c:v libx264 -b:v $BTRTe -preset $PRESEt -strict -2 -c:a ac3 -b:a 192k -threads 12 -pass 2 -f matroska ENCODE1.mkv"
);
}
sub CNVRTWPAd {
print "BEGINNING CONVERSION...\n";
print "What Preset Would You Like To Use?";
my $PRESEt = <stdin>;
system(
"ffmpeg -i $MOVIe -map 0:0 -map 0:$ENGAUDTRk -c:v libx264 -b:v $BTRTe -preset $PRESEt -vf \"pad=$TARGETWIDTh:$TARGETHEIGHt:$X:$Y:black\" -strict -2 -c:a ac3 -b:a 192k ",
" -threads 12 -pass 1 -f matroska dummy && ffmpeg -i $MOVIe -map 0:0 -map 0:$ENDAUDTRk -c:v libx264 -b:v $BTRTe -preset $PRESEt -vf \"pad=$TARGETWIDTh:$TARGETHEIGHt:$X:$Y:black\"",
" -strict -2 -c:a ac3 -b:a 192k -threads 12 -pass 2 -f matroska ENCODE1.mkv"
);
}
</stdin></stdin></stdin></stdin></stdin></stdin></stdin></stdin></stdin></stdin></stdin></stdin></stdin>