Recherche avancée

Médias (91)

Autres articles (81)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (4507)

  • Issues in using FFmpeg to trim a video

    21 septembre 2022, par Mary

    I have a .webm video captured through a web browser. Using ffmpeg, I want to trim it into its first 30s without re-encoding and quality degradation. But I have issues doing it and ffmpeg complains about it.

    


    What is the problem ? How can I address it ?

    


    ffmpeg -i video.webm -to 30 -c copy out.webm


    


    Error :

    


    [webm @ 0000014ea3249a00] Only VP8 or VP9 or AV1 video and Vorbis or Opus audio and WebVTT subtitles are supported for WebM.
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:1 --


    


  • x86 : hevc_mc : remove lea in EPEL_LOAD

    7 février 2015, par Christophe Gisquet
    x86 : hevc_mc : remove lea in EPEL_LOAD
    

    The second parameter to the macro is always an immediate address,
    so no lea is needed.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/x86/hevc_mc.asm
  • Combining JavaCV and openCV

    13 juin 2014, par mister-viper

    I have the following problem :
    I have an Android application which uses native OpenCV code. In a first step, the frames which were edited by OpenCV came from the camera. Then they were processed and drawn on the display.

    However, my requirements now have changed. The frames which have to be edited come from a video file stored on the SD card. They must be processed by the openCV code and then stored in a new video file.

    After reading some a lot of stuff, I recognized that Android has no built-in stuff for correctly reading a video file frame by frame and allowing to process the frames while doing so. On a computer OpenCV has the VideoCapture function. But this does not work on Android as openCV has no ffmpeg that comes with it.

    After reading more stuff, I found that JavaCV comes with an FFMPEGFrameGrabber and also an FFMPEGFrameRecorder. So, I implemented everything which now allows me to grab single frames from a video, obtain an IplImage frame and store this frame in a new video.

    Now the problem :
    During obtaining and storing the IplImage frame must be processed using the original OpenCV code as it is not feasible to port the complete code to JavaCV.

    So in a first place I wrote a small test JNI function which gets the address of a MAT object and draws a small circle on it.

    extern "C" {
    JNIEXPORT void JNICALL Java_de_vion_postprocessing_step2_EyeTracking_editFrame(
       JNIEnv*, jobject, jlong thiz, jlong addrRgba) {
    //Convert the mat addresses into the objects
    Mat&amp; rgbFrame = *(Mat*) addrRgba;

    Point2i scaledSmoothPoint(100,100);
    circle(rgbFrame, scaledSmoothPoint, 20, YELLOW, -1);
    }

    As I read that IplImage extends CvArr I just call the function within in my code as follows :

    captured_frame = grabber.grab();
    if (captured_frame == null) {
       // no new frames
       break;
    }
    editFrame(captured_frame .address());

    However, I now get the following error :

    06-12 18:58:23.135: E/cv::error()(6498): OpenCV Error: Assertion failed (cn &lt;= 4) in
                       void cv::scalarToRawData(const Scalar&amp;, void*, int, int), file
                       /home/reports/ci/slave_desktop/50-SDK/opencv/modules/core/src/matrix.cpp, line 845
    06-12 18:58:23.135: A/libc(6498): Fatal signal 6 (SIGABRT) at 0x00001962 (code=-6),
                       thread 6526 (AsyncTask #1)

    Finally, me question :
    How can I process the IplImage frame using nativeOpenCV and finally store this IplImage frame then in the video recorder.

    I am also open to new Ideas which do not necessarily require JavaCV as long as I do not have to write the FrameGrabber and FrameRecorder my self.

    Best regards,
    André