Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (41)

  • 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (6362)

  • 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.

    


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

    


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

    


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


    


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

    


    What the Program Does

    


      

    • Input : A long educational video.
    • 


    • Processing :

        

      • Detects text in each frame using OCR.
      • 


      • Searches for the word "Question" followed by a number.
      • 


      • Monitors when the number increases to identify segment boundaries.
      • 


      


    • 


    • Output : Creates video segments corresponding to individual questions.
    • 


    


    The Problem

    


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

    


    Error: module 'ffmpeg' has no attribute 'Error'


    


    What I’ve Tried

    


      

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


    • Ensured the ffmpeg binary is accessible from the command line.
    • 


    • Reviewed the library documentation to ensure the correct usage of ffmpeg.
    • 


    • Tested with different video files to rule out input-specific issues.
    • 


    


    Environment Details

    


      

    • OS : Windows 11
    • 


    • Python Version : 3.9.13
    • 


    • Key Libraries : ffmpeg-python
    • 


    


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

    


    Thank you !

    


  • how to install ffmpeg-2.8.22 in RHEL 9.5

    23 décembre 2024, par Shuang Fan

    I want to install ffmpeg version 2.8.22 in my RHEL 9.5,i installed gcc 11.5.0, nasm 2.15.05 and yasm 1.3.0.87.g121a,but after i make ;make install ,it shows

    


    make: *** No rule to make target 'x86util.asm', needed by 'libavutil/x86/cpuid.o'.  Stop.


    


    I downloaded source code from https://codeload.github.com/FFmpeg/FFmpeg/tar.gz/refs/tags/n2.8.22
save in ffmpeg-2.8.22.tar.gz
use tar -zxvf ffmpeg-2.8.22.tar.gz get FFmpeg-2.8.22 folder
change folder cd FFmpeg-2.8.22
configured with ./configure  --enable-shared --prefix=/root/prog/ThirdPart/ffmpeg-2.8.4/
Finally run make -j4 and make install
at the end of make install i get message from cmd :make: *** No rule to make target 'x86util.asm', needed by 'libavutil/x86/cpuid.o'.  Stop.

    


  • swscale/slice : fix init of 32 bpc planes

    11 décembre 2024, par Niklas Haas
    swscale/slice : fix init of 32 bpc planes
    

    In input.c and output.c and many other places, swscale follows the rule of using
    15-bit intermediate if output bpc is <= 8, and 19-bit (inside int32_t)
    intermediate otherwise. See e.g. the comments on hyScale() on
    swscale_internal.h. These are also the coefficients that yuv2gbrpf32_full_X_c()
    is using.

    In contrast to this, the plane init code in slice.c (function fill_ones) is
    assuming that we use 35-bit intermediates (inside 64-bit integers) for this
    case, seemingly added by commit b4967fc71c63eae8cd96f9c46cd3e1fbd705bbf9 with
    no further justification.

    This causes a mismatch whenever the implicitly initialized plane contents leak
    out to the output, e.g. when converting from grayscale to RGB.

    Fixes : ticket #10716
    Signed-off-by : Niklas Haas <git@haasn.dev>
    Sponsored-by : Sovereign Tech Fund

    • [DH] libswscale/slice.c