Recherche avancée

Médias (91)

Autres articles (89)

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

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

Sur d’autres sites (11878)

  • PySceneDetect FFmpeg Not Available

    14 août 2023, par Dmitriy Pushkarev

    I already installed FFmpeg and this is available in terminal I can convert video and etc, but it's completely not available in PySceneDetect.

    


    pip installed FFmpeg-python and FFmpeg library and FFmpeg itself in system.

    


    PySceneDetect returns :

    


    ffmpeg could not be found on the system. Please install ffmpeg to enable video output support.


    


    I think trouble with path, but can't put path in PySceneDetect. I can use path to binary FFmpeg, only in ffmpeg-python library, like this and it's working

    


    This code working fine :

    


    Here i using only FFmpeg-python library

    


    stream = ffmpeg.input('vi0.mp4')
stream = ffmpeg.filter(stream, 'fps', fps=10, round='up')
stream = ffmpeg.output(stream, 'vi1.mp4')
ffmpeg.run(stream,cmd='./ffmpeg')


    


    But can't it to get work with PySceneDetect

    


    print(scenedetect.video_splitter.is_ffmpeg_available())


    


    return False

    


    split_video_ffmpeg(video_path, scene_list, show_progress=False)


    


    returns "ffmpeg could not be found on the system. Please install ffmpeg to enable video output support."

    


  • Revision 29746 : Gestion de la file d’attente

    8 juillet 2009, par kent1@… — Log

    Gestion de la file d’attente

  • Sending 2 streams to FFmpeg from nodejs

    18 août 2019, par Sylens

    I am trying to send 2 ReadableStreams to FFmpeg from nodejs. I have tried using fluent-ffmpeg library to do this, but it only supports sending one stream for processing. Check here

    My problem is :
    I have 2 incoming mono audio streams, I want to send them to ffmpeg to create a stereo stream, which I will then send to google’s speech to text service, to generate a transcription.

    I am successfully receiving both the mono streams to the nodejs server.
    How to utilize FFmpeg to merge them in realtime is still unclear, I could spawn a FFmpeg child process, but I’m not sure how to give 2 ReadableStreams as inputs and get the output as another stream ? FFmpeg supports multiple input streams.

    I can merge the 2 mono streams if they are in two separate files with this code.

    const { spawn } = childProcess;
    const ffmpeg = spawn('ffmpeg', [
     '-i', this.phoneAudioFile,
     '-i', this.micAudioFile,
     '-filter_complex', '[0:a][1:a]amerge=inputs=2[a]',
     '-map', '[a]',
     this.outputLosslessFile,
    ]);

    How can I acheive the same using 2 streams instead of 2 files ?

    EDIT

    • The incoming streams both have PCM audio data.
    • This entire process runs on a linux Ubuntu server.
    • The final output must be a wav file.