Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (101)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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 (13266)

  • FFMpeg help on smooth animation movement

    18 septembre 2017, par techr

    Can I please get some help on this ? I’ve tried pretty much all examples found here but nothing works. I’m overlaying an mpeg and moving it around but the resulting movement is choppy, step at a time instead of a fluid movement. Here’s a link to the original post. Not getting much response so please allow me to repost.
    Link to detailed post

  • Evolution #3926 : Remplacement de safehtml par le plug htmlpurifier ou autre

    17 août 2018, par Guillaume Fahrner

    Content de voir que ce patch règle également des problèmes de mise en forme (je n’observe pas ce pb @home), je m’explique :

    Dans mon post précédent, dans le contenu du fichier plugins-dist/textwheel/wheels/spip/echappe-js.yaml donné entre les balises

    < pre>< code class="yaml">< / code>< / pre>

    certains caractères "<" et ">" ont été encodé (mais pas d’autres (!) ) alors qu’à l’origine cette partie de mon post n’en contient aucun.

    NB : essayez de mettre en forme avec

     la simple ligne de HTML donné dans ce post est ici impossible (les &lt; > sont encodé alors que dans un &lt; code >), une nouvelle fois je n'ai pas ce pb @home
  • Error in Splitting Educational Videos into Segments Using Python (ffmpeg issue) [closed]

    28 décembre 2024, par Yahia Mohamed Hanbal

    I created a Python project to split long educational videos into smaller segments, each focused on a single question. The program uses OCR to detect text on video frames, identifies the word "Question," extracts the number following it, and splits the video whenever the number increases.

    &#xA;

    here is the video i am tring to split ((video))

    &#xA;

    Here’s an example of the program’s output :

    &#xA;

    Video loaded: 14071 frames at 60 FPS, duration: 234.52s  &#xA;Frame 480, Time 8.00s, Question: 6  &#xA;...  &#xA;Frame 12360, Time 206.00s, Question: 7  &#xA;Creating segment 1: 8.00s to 206.00s  &#xA;Error: module &#x27;ffmpeg&#x27; has no attribute &#x27;Error&#x27;&#xA;

    &#xA;

    I’ve shared the full code in a GitHub repository for reference : Automated Video Scene Cutting.

    &#xA;

    What the Program Does

    &#xA;

      &#xA;
    • Input : A long educational video.
    • &#xA;

    • Processing :&#xA;
        &#xA;
      • Detects text in each frame using OCR.
      • &#xA;

      • Searches for the word "Question" followed by a number.
      • &#xA;

      • Monitors when the number increases to identify segment boundaries.
      • &#xA;

      &#xA;

    • &#xA;

    • Output : Creates video segments corresponding to individual questions.
    • &#xA;

    &#xA;

    The Problem

    &#xA;

    The program detects the questions and timestamps correctly, but when it tries to create the segments, I encounter the following error :

    &#xA;

    Error: module &#x27;ffmpeg&#x27; has no attribute &#x27;Error&#x27;&#xA;

    &#xA;

    What I’ve Tried

    &#xA;

      &#xA;
    • Verified the ffmpeg-python library is installed (pip show ffmpeg-python confirms the installation).
    • &#xA;

    • Ensured the ffmpeg binary is accessible from the command line.
    • &#xA;

    • Reviewed the library documentation to ensure the correct usage of ffmpeg.
    • &#xA;

    • Tested with different video files to rule out input-specific issues.
    • &#xA;

    &#xA;

    Environment Details

    &#xA;

      &#xA;
    • OS : Windows 11
    • &#xA;

    • Python Version : 3.9.13
    • &#xA;

    • Key Libraries : ffmpeg-python
    • &#xA;

    &#xA;

    If anyone has insights into resolving this issue or suggestions for alternative approaches to handle this use case, I’d greatly appreciate your help.

    &#xA;

    Thank you !

    &#xA;