Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (103)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (15757)

  • youtube-dl python script postprocessing error : FFMPEG codecs aren't being recognized

    23 septembre 2016, par stackPusher

    My python script is trying to download youtube videos with youtube-dl.py. Works fine unless postprocessing is required. The code :

    import youtube_dl

    options = {
       'format':'bestaudio/best',
       'extractaudio':True,
       'audioformat':'mp3',
       'outtmpl':'%(id)s',     #name the file the ID of the video
       'noplaylist':True,
       'nocheckcertificate':True,
       'postprocessors': [{
           'key': 'FFmpegExtractAudio',
           'preferredcodec': 'mp3',
           'preferredquality': '192',
       }]
    }

    with youtube_dl.YoutubeDL(options) as ydl:
       ydl.download(['http://www.youtube.com/watch?v=BaW_jenozKc'])

    Below is the output I receive :enter image description here

    I get a similar error if I try setting ’preferredcodec’ to ’opus’ or ’best’.
    I’m not sure if this is relevant, but I can run the command line counterpart fine :

    youtube-dl -o 'test2.%(ext)s' --extract-audio --audio-format mp3 --no-check-certificate https://www.youtube.com/watch?v=BaW_jenozKc

    I’ve gotten a few clues from the internet and other questions and from what i understand this is most likely an issue with my ffmpeg, which isn’t a python module right ? Here is my ffmpeg version and configuration :
    enter image description here

    If the answer to my problem is to add some configuration setting to my ffmpeg please explain how i go about doing that.

  • Chrome "stalling" when streaming mp3 file from nodejs windows only

    8 octobre 2015, par Alan Hollis

    We’ve got a really annoying bug when trying to send mp3 data. We’ve got the following set up.

    Web cam producing aac -> ffmpeg convert to adts -> send to nodejs server -> ffmpeg on server converts adts to mp3 -> mp3 then streamed to browser.

    This works *perfectly" on Linux ( chrome with HTML5 and flash, firefox flash only )

    However on windows the sound just "stalls", no matter what combination we use ( browser/html5/flash ). If however we shutdown the server the sound then immediately starts to play as we expect.

    For some reason on windows based machines it’s as if the sound is being buffered "waiting" for something but we don’t know what that is.

    Any help would be greatly appreciated.

    Relevant code in node

       res.setHeader('Connection', 'Transfer-Encoding');
       res.setHeader('Content-Type', 'audio/mpeg');
       res.setHeader('Transfer-Encoding', 'chunked');
       res.writeHeader('206');

       that.eventEmitter.on('soundData', function (data) {
           debug("Got sound data" + data.cameraId + " " + req.params.camera_id);
           if (req.params.camera_id == data.cameraId) {
               debug("Sending data direct to browser");
               res.write(data.sound);
           }
       });

    Code on browser

          soundManager.setup({
                               url: 'http://dashboard.agricamera.co.uk/themes/agricamv2/swf/soundmanager2.swf',
                               useHTML5Audio: false,
                               onready: function () {
                                   that.log("Sound manager is now ready")
                                   var mySound = soundManager.createSound({
                                       url: src,
                                       autoLoad: true,
                                       autoPlay: true,
                                       stream: true,
                                   });
                               }
                           });
  • C# The specified executable is not a valid application for this OS platform

    22 avril 2015, par Mihai Ciully

    I’m making a Video sharing application(the likes of youtube) for my bachelor degree(the project is done in asp.net web forms)
    And i want to convert any video the user uploads to mp4.For this i’m using the Nreco ffmpeg wrapper for asp.

    I’m doing all this locally and this project is not going live.

    The video conversion is done in a separate thread.

    protected void Upload_Click(object sender, EventArgs e)
    {
    //File Uploads to Server
    Thread t1 = new Thread(
    unused => compressVideo(Video_Path, Final_Path,User_id)
    );
    t1.Start();
    }

    public static void compressVideo(string Video_Path, string Final_Path,string UID)
    {
       var ffMpeg = new NReco.VideoConverter.FFMpegConverter();
       ffMpeg2.ConvertProgress += (o, args) =>
           {
               //SignalR calls.Doing this to update the ui
           };

       ffMpeg.ConvertMedia(Video_Path, Final_Path, NReco.VideoConverter.Format.mp4);
    }

    First time i did this it all worked fine,not a single problem.
    Two weeks late,after not modifying this page,i try it again and the application throws this exception :

    An unhandled exception of type ’System.ComponentModel.Win32Exception’
    occurred in NReco.VideoConverter.dll

    Additional information : The specified executable is not a valid
    application for this OS platform.

    on the line :

    ffMpeg.ConvertMedia(Video_Path, Final_Path, NReco.VideoConverter.Format.mp4);

    If i call the ffMpeg.ConvertMedia(),the exception is not thrown and the code works as expected.So im guessing it has something to do with threads.But that’s not all.
    After messing around with the code trying to solve this and not succeeding i revert back to the original code.In a last attempt i try it again(with the original code) and the application gave the build error.

    attempted to access an unloaded appdomain.

    Any modification i did to the code was ignored and i was always getting that error when compiling.
    After taking a five minutes break to calm down, i try it again.It magically fixed its self.The build error was gone and even the conversion was working.

    But the dream didn’t last long.After a few minutes the conversion thread started throwing the same exception again.
    I was not able to replicate the same result.

    My experience and knowledge with asp.net web forms and web design in general are fairly low,so please keep the answers as simple as possible.