
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (64)
-
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. -
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 (13959)
-
ffmpeg failed - 455 Method Not Valid in This State
3 juin, par paty.r15I created a Node.js app that gets an RTSP stream with FFmpeg to analyse it with OpenCV 3. It is working if I install FFmpeg and OpenCV in my local.


But now I created a Docker image that contains the installation of those libraries and I'm using it as a base to create another image & container where I'm trying to run my app. When I run it inside that container I get this error over and over again when trying to get the RTSP stream with an FFmpeg instruction for




method SETUP failed : 455 Method Not Valid in This State




This is how I am installing FFmpeg in the image :


# ---------------------- OpenCV ffmpeg ---------------------------#
RUN mkdir -p /opt/src \
 && curl -Lo /opt/src/ffmpeg-${FFMPEG_VERSION}.tar.gz \
 http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2 \
 && tar -xvf /opt/src/ffmpeg-${FFMPEG_VERSION}.tar.gz -C /opt/src \
 && cd /opt/src/ffmpeg-${FFMPEG_VERSION} \
 && ./configure --enable-gpl --enable-avresample --enable-libopencore-amrnb \
 --enable-libx264 --enable-libxvid --enable-postproc --enable-version3 \
 --enable-shared --enable-pic --extra-ldexeflags=-pie \
 && make -j $(nproc) \
 && make install \
 && ldconfig -v \
 && rm -rf /opt/src

# ---------------------- OpenCV stuff ---------------------------#
RUN mkdir -p /opt/src/opencv-${OPENCV_VERSION}/build \
 && curl -sLo /opt/src/opencv3.tar.gz \
 https://github.com/Itseez/opencv/archive/${OPENCV_VERSION}.tar.gz \
 && tar -xzvf /opt/src/opencv3.tar.gz -C /opt/src \
 && cd /opt/src/opencv-${OPENCV_VERSION}/build \
 && cmake -D CMAKE_BUILD_TYPE=RELEASE \
 -D CMAKE_INSTALL_PREFIX=/usr/local \
 -D WITH_TBB=ON \
 -D WITH_OPENMP=ON \
 -D WITH_FFMPEG=ON .. \
 && make -j "$(nproc)" \
 && make install \
 && ldconfig -v \
 && rm -rf /opt/src



Do you have any idea what this error is and how to fix it ? I think it might have to do with the initial configuration on the installation of either of them (FFmpeg or OpenCV).


-
Why doesnt this method redirect my output from .exe [ffmpeg] ?
4 octobre 2013, par ExitosI have the method :
public static string StartProcess(string exePathArg, string argumentsArg, int timeToWaitForProcessToExit)
{
string retMessage = "";
using (Process p = new Process())
{
p.StartInfo.FileName = exePathArg;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.Arguments = argumentsArg;
p.StartInfo.UseShellExecute = false;
try
{
p.Start();
StreamReader myOutput = p.StandardOutput;
retMessage = "STANDARD OUTPUT: " + myOutput.ReadToEnd();
p.WaitForExit(timeToWaitForProcessToExit);
}
catch (Exception ex)
{
retMessage = "EXCEPTION THROWN: " + ex.ToString();
}
finally
{
try
{
p.Kill();
}
catch { }
}
}
return retMessage;
}But it doesnt redirect my output to retMessage. Anyone any ideas ? I tested the arguments in a bat file and output is definitely output.
Cheers,
Pete -
avcodec/gdv : add decompression for 2 and 5 method
28 juin 2017, par Paul B Mahol