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 (12079)

  • Read/convert H.265 in react with ffmpeg

    19 avril 2022, par CTKC

    I'd like to be able to read videos of any codec in my react app, including h.265, which is the problem child.
I know of two possible ways to do this : the first being to convert the files upon upload to h.264,
and the second using a library to stream the videos with ffmpeg, I found an interesting documentation explaining this scenario WASM H.265 player

    


    Does anyone have experience in using this library or actually live streaming h.265 (which isn't supported in chromium browsers) and if so, what are your thoughts on it ?

    


    Any answer is always appreciated !

    


  • avutil/file_open : avoid file handle inheritance on Windows

    29 octobre 2015, par Tobias Rapp
    avutil/file_open : avoid file handle inheritance on Windows
    

    Avoids inheritance of file handles on Windows systems similar to the
    O_CLOEXEC/FD_CLOEXEC flag on Linux.

    Fixes file lock issues in Windows applications when a child process
    is started with handle inheritance enabled (standard input/output
    redirection) while a FFmpeg transcoding is running in the parent
    process.

    Links relevant to the subject :

    https://msdn.microsoft.com/en-us/library/w7sa2b22.aspx

    Describes the _wsopen() function and the O_NOINHERIT flag. File handles
    opened by _wsopen() are inheritable by default.

    https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425%28v=vs.85%29.aspx

    Describes handle inheritance when creating new processes. Handle
    inheritance must be enabled (bInheritHandles = TRUE) e.g. when you want
    to pass handles for stdin/stdout via lpStartupInfo.

    Signed-off-by : Tobias Rapp <t.rapp@noa-audio.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavutil/file_open.c
  • avformat_open_input failed to open unnamed pipe

    8 octobre 2015, par user2406774

    hi i am writing an application that reads data from network and feeds it to unnamed pipe and i want to read it from other end of pipe using avformat_open_input but this call blocking infinetly any idea about how to read stream from unnamed pipe

    here is the flow of code

    int fd[2]
       pipe(fd);
       if(fork()==0){
       //child process
       close(fd[1]);
       avcodec_register_all();
       av_register_all();
       avformat_network_init();

       AVInputFormat *input_format = av_find_input_format("mp4");
       if (!input_format)
       {
       fprintf(stderr, "Could not find MP4 demuxer.\n");
       exit(1);
       }

       AVFormatContext *input_context = NULL;
       fprintf(stderr,"Before opening input context\n");
       int ret = avformat_open_input(&amp;input_context, fd[0],input_format, NULL);
      // int ret = avformat_open_input(&amp;input_context, "pipe:fd[0]",input_format, NULL);
       fprintf(stderr,"After opening input context\n");

       }


       else{
           //parent process
           close(fd[0]);
           read data from Network();
           //write it to pipe
           ret=write(fd[1], udp_packet, len);

           }

    after opening input stream i am trying to transcode the mp4 to mpeg ts file .if i give mp4 file as filename filed in avformat_open_input API it is working fine

    any suggestions ?