Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (72)

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

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

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

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

  • avutil/common : add av_rint64_clip

    1er novembre 2015, par Ganesh Ajjanagadde
    avutil/common : add av_rint64_clip
    

    The rationale for this function is reflected in the documentation for
    it, and is copied here :

    Clip a double value into the long long amin-amax range.
    This function is needed because conversion of floating point to integers when
    it does not fit in the integer’s representation does not necessarily saturate
    correctly (usually converted to a cvttsd2si on x86) which saturates numbers
    > INT64_MAX to INT64_MIN. The standard marks such conversions as undefined
    behavior, allowing this sort of mathematically bogus conversions. This provides
    a safe alternative that is slower obviously but assures safety and better
    mathematical behavior.
    API :
    @param a value to clip
    @param amin minimum value of the clip range
    @param amax maximum value of the clip range
    @return clipped value

    Note that a priori if one can guarantee from the calling side that the
    double is in range, it is safe to simply do an explicit/implicit cast,
    and that will be far faster. However, otherwise this function should be
    used.

    avutil minor version is bumped.

    Reviewed-by : Ronald S. Bultje <rsbultje@gmail.com>
    Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>

    • [DH] libavutil/common.h
    • [DH] libavutil/version.h
  • lavfi : make request_frame() non-recursive.

    30 septembre 2015, par Nicolas George
    lavfi : make request_frame() non-recursive.
    

    Instead of calling the input filter request_frame() method,
    ff_request_frame() now marks the link and returns immediately.
    buffersink is changed to activate the marked filters until
    a frame is obtained.

    • [DH] libavfilter/avfilter.c
    • [DH] libavfilter/avfilter.h
    • [DH] libavfilter/avfiltergraph.c
    • [DH] libavfilter/buffersink.c
    • [DH] libavfilter/internal.h