
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (89)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (6309)
-
How do I read ffmpeg log with c# ?
24 septembre 2018, par mr_blondI want to make "./ffmpeg -i vid.mkv" command, to get info and then I need to read it in c#.
Thereby I run ffmpeg as Process :
var proc = new Process
{
StartInfo = new ProcessStartInfo
{
FileName = "ffmpeg",
Arguments = "-i vid.mkv",
UseShellExecute = false,
RedirectStandardOutput = true,
CreateNoWindow = true
}
};Then I try to read id :
proc.Start();
while (!proc.StandardOutput.EndOfStream)
{
string line = proc.StandardOutput.ReadLine();
}At the step
proc.Start()
new console window opens and ffmpeg writes log to it. And at the step
while()
proc.StandardOutput.EndOfStream
becomes true.How do I read this log ?
-
PHP FFMpeg error ffprobe failed to execute command "ffprobe.exe" "-help" "-loglevel" "quiet"
5 mars 2017, par MicheleI’m searching for a way to compress and convert uploaded videos on my site, I’m trying to use FFMpeg with this PHP basic code (on windows) :
<?php
ini_set('display_errors', 'On'); error_reporting(E_ALL);
require("vendor/autoload.php");
$ffmpeg = FFMpeg\FFMpeg::create(array(
'ffmpeg.binaries' => 'C:/inetpub/wwwroot/FFmpeg/ffmpeg.exe',
'ffprobe.binaries' => 'C:/inetpub/wwwroot/FFmpeg/ffprobe.exe',
'timeout' => 3600, // The timeout for the underlying process
'ffmpeg.threads' => 12, // The number of threads that FFMpeg should use
));
$video = $ffmpeg->open('input.mp4');
$video
->filters()
->resize(new FFMpeg\Coordinate\Dimension(320, 240))
->synchronize();
$video
->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
->save('frame.jpg');
$video
->save(new FFMpeg\Format\Video\X264(), 'export-x264.mp4')
->save(new FFMpeg\Format\Video\WMV(), 'export-wmv.wmv')
->save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');
?>but I’m getting this error :
Fatal error: Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException: ffprobe failed to execute command "C:/inetpub/wwwroot/FFmpeg/ffprobe.exe" "-help" "-loglevel" "quiet" in C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\ProcessRunner.php:100 Stack trace: #0 C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\ProcessRunner.php(72): Alchemy\BinaryDriver\ProcessRunner->doExecutionFailure('"C:/inetpub/www...') #1 C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\AbstractBinary.php(209): Alchemy\BinaryDriver\ProcessRunner->run(Object(Symfony\Component\Process\Process), Object(SplObjectStorage), false) #2 C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\AbstractBinary.php(137): Alchemy\BinaryDriver\AbstractBinary->run(Object(Symfony\Component\Process\Process), false, NULL) #3 C:\inetpub\wwwroot\site\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe\OptionsTester.php(61): Alchemy\Binary in C:\inetpub\wwwroot\site\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe\OptionsTester.php on line 63
what am I doing wrong ? there are better libraries ?
-
ffmpeg using MediaCodec, avcodec_open2 says error code :-1 (0xffffffff) text : "Operation not permitted"
11 mai 2017, par Miguel Del AmorI’m trying to use the Android API MediaCoded that have been supported by ffmpeg but while I try to open the codec I got "Operation not permitted" all times, I’ve tried some changes and I’ve tried to find examples without not luck.
This is what I’m doing
av_jni_set_java_vm(QAndroidJniEnvironment::javaVM(), NULL);
av_register_all();
avcodec_register_all();
AVCodec *_codec(nullptr);
AVCodecContext *_codecContext(nullptr);
if (_codec == nullptr)
_codec = avcodec_find_decoder_by_name("h264_mediacodec");
if (_codecContext == nullptr)
_codecContext = avcodec_alloc_context3(_codec);
int ret = 0;
if( (ret = avcodec_open2(_codecContext, _codec, NULL)) < 0 ) {
char str[AV_ERROR_MAX_STRING_SIZE];
memset(str, 0, sizeof(str));
av_strerror(ret, str, sizeof(str));
qDebug("avcodec_open2 \"%s\" error[code:%d text:\"%s\"]",_codec->long_name, ret, str);
}And I’m getting this output
avcodec_open2 "H.264 Android MediaCodec decoder" error[code:-1 text:"Operation not permitted"]
What I’m doing wrong ?