Recherche avancée

Médias (91)

Autres articles (63)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (6058)

  • How to live stream from Windows 10 app to Youtube ?

    12 août 2015, par Boland

    I’m playing around with the YouTube Live Stream API. That’s working fine so far, but the next step is to stream the web cam data to YouTube via RTMP.

    In the (excellent) documentation at Google Dev, it outlines the Life of a Broadcast. However, all steps are documented in detail, except the step I’m interested in :

    Step 3.2 : Start your video

    Start transmitting video on your video stream.

    I was able to use Open Broadcasting Software to stream to a manually created YouTube Live Event, but I have no idea how to do it from my Windows 10 App. I’ve looked at the MediaElement class, and was able to capture the web cam preview in my app. But I can only find methods to save as a file.

    Also found information about FFMPEG, which should probably be able to do the job, but I cannot find a library / DLL to use FFMPEG in my App.

    I just need some guidance where to look next, because now I’m just clueless what to do.

    /edit : I came across MPlatform SDK, which sounds exactly what I want, but it costs $5000.... Not for a hobby :(

  • C++, FFMpeg : Unable to find any decoder or encoder

    14 juillet 2016, par AmN

    I have been using this sample https://ffmpeg.org/doxygen/trunk/decoding__encoding_8c.html as reference for my C++ application. I have used the same code as in the given page. I have linked the libraries, placed the dlls and compiled with no errors. Everything works except that it always throws : Codec not found error.

    /* find the MPEG-1 video decoder */
    codec = avcodec_find_decoder(AV_CODEC_ID_MP2);
    if (!codec) {
       fprintf(stderr, "Codec not found\n");
       exit(1);
    }

    I have changed the line to AV_CODEC_ID_MP2 in this, just to test if only the MPEG codex was missing but seems like all are missing. I have tried changing this to multiple codecs as defined in avcodec.h file (enum AVCodecID, line 189), but all return "Codec not found".

    Am I missing something ?

    Compiler : Microsoft Visual Studio 2015 Community Edition
    Project Type : QTProject

    Oh and I am trying to make a Video Player just to enhance my c++ skills during these holidays. First I was trying QTMediaPlayer Widget, but it was throwing crazy errors on "DirectShowPlay::doRender" or something like that. So I switched to FFMpeg, but this too doesn’t work.

    Thank you for reading my question.

  • ffmpeg throws conversion error, but only if the triggering web request is made from safari ?

    22 novembre 2022, par Kyoshiro Kokujou Obscuritas

    I'm using ffmpeg to do an on-the-fly conversion of audio files to ensure high compatibility. i'm converting them to OGG. and all of this is done by a .NET 6 REST service.
This service is then accessed by a javascript Frontend.
Now the problem. The exact same request runs through without any problems on Windows + Firefox, but it does not on Safari. In Safari it says something about "unknownConversion failed"

    


    it's the same file, it's the same name, and to make sure there are no weird invisible characters i used the Microsoft File API to convert it to a proper file path.

    


    code looks like this

    


    var ffmpeg = new Process();
        var startInfo = new ProcessStartInfo("D:\\Programme\\ffmpeg\\bin\\ffmpeg.exe",
            $"-i \"{path.FullName}\" -c:a libopus -f ogg -")
        {
            RedirectStandardError = true,
            RedirectStandardOutput = true,
            RedirectStandardInput = true,
            UseShellExecute = false,
            CreateNoWindow = true
        };
        ffmpeg.EnableRaisingEvents = true;
        ffmpeg.StartInfo = startInfo;
        ffmpeg.ErrorDataReceived += OnErrorDataReceived;
        ffmpeg.Exited += OnFinished;

        ffmpeg.Start();
        ffmpeg.BeginErrorReadLine();

        return File(new BufferedStream(ffmpeg.StandardOutput.BaseStream), "audio/ogg");


    


    Complete Logs : https://pastebin.com/tTUcsjuT