
Recherche avancée
Autres articles (74)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
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 (...)
Sur d’autres sites (14805)
-
error in ffmpeg when sending image from pipe via php
12 décembre 2013, par Abdul Aliused the following tutorial to send an uploaded image to ffmpeg from php via pipe.
however it raises an eror saying that the pipe has invalid data in it.
pipe:: Invalid data found when processing input
following is the php code for uploading an image file
$tempPath = $_FILES['vdofile']['tmp_name'];
print_r($tempPath);
$descriptorspec = array(
0 => array("pipe", "r"), // stdin is a pipe that the child will read from
1 => array("pipe", "w"), // stdout is a pipe that the child will write to
2 => array("file", "error-output.txt", "a") // stderr is a file to write to
);
$img = imagecreatefromjpeg($tempPath);
$proc = proc_open("ffmpeg image2pipe -i - -y image.jpg", $descriptorspec, $pipes);
if (is_resource($proc)) {
/*
* $pipes[0] = write something to command being run
* $pipes[1] = read something from command
* $pipes[2] = error from command
*/
fwrite($pipes[0], $_FILES['vdofile']['tmp_name']);
fclose($pipes[0]);
}
proc_close($proc);
?>and simple html uploading code is as follows :
<form action="upload.php" method="post" enctype="multipart/form-data">
<input type="file" />
<input type="submit" value="Upload" />
</form>the error file generated is as follows :
ffmpeg version N-58485-ga12b4bd Copyright (c) 2000-2013 the FFmpeg developers
built on Nov 26 2013 22:07:02 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 55.100 / 52. 55.100
libavcodec 55. 44.100 / 55. 44.100
libavformat 55. 21.102 / 55. 21.102
libavdevice 55. 5.101 / 55. 5.101
libavfilter 3. 91.100 / 3. 91.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
pipe:: Invalid data found when processing inputany assistance will be appreciated.
**
EDIT
**
the code still produces an error :
ffmpeg version N-58485-ga12b4bd Copyright (c) 2000-2013 the FFmpeg developers
built on Nov 26 2013 22:07:02 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 55.100 / 52. 55.100
libavcodec 55. 44.100 / 55. 44.100
libavformat 55. 21.102 / 55. 21.102
libavdevice 55. 5.101 / 55. 5.101
libavfilter 3. 91.100 / 3. 91.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
[image2pipe @ 00000000029ee0a0] Could not find codec parameters for stream 0 (Video: none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
pipe:: could not find codec parametersthe following ffmpeg comand is called from within php like above :
ffmpeg -f image2pipe -i - -vcodec mjpeg -vframes 1 -an -f mjpeg image.mp4
-
VB.NET Redirect frames from ffmpeg/ffplay to picturebox
18 février 2015, par Zed Machinei need to do a vb form to show frames from a video.
i need only a trackbar to seek for specific timecode.ffmpeg/ffplay with this command "-ss %seconds%" can seek for the current value of the trackbar, that it’s the frame to seek in the specified timecode .
these are my questions :
-
how can i redirect ffmpeg/ffplay output frame into a picture box (ffmpeg/ffplay can encode in bmp if needed) without writing it to the harddrive ?
-
there are function to convert easily seconds to HH:MM:SS.000 or i have to use division and mod ?
-
there is a better way to do it ?
thank to everyone.
EDIT : ffplay i think use directshow to output frames...
-
-
Crop MP3 to last N seconds
14 juin 2015, par limonteI want to generate a new (fully valid) MP3 file from an existing MP3 file. The new file should only contain the last N seconds of the track.
There’s
-t
option inavconv
for getting first N seconds :-t duration (output)
Stop writing the output after its duration reaches duration. duration may be a number in seconds, or in "hh:mm:ss[.xxx]" form.
Is there an option to crop last N seconds ?
avconv
is not requirement in my case, all other tools are acceptable.