Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (74)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

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

  • ffmpeg blend=screen makes background look green or foreground green

    24 novembre 2022, par OneWorld

    When I apply a screen blend to the foreground asset (Pikachu) over the background asset (White circle on black background)
GIMP and Adobe Photoshop make the circle asset look white, and the background asset look RGB like this :-

    


    enter image description here

    


    which is how it should look.

    


    However, if we take the input assets :-
enter image description here
and
enter image description here

    


    and use this ffmpeg command

    


    ffmpeg -i circle_rgb_50.png -i pikachu_rgb.png -filter_complex "[0:v][1:v]blend=screen" pikachu_screened_over_circle_rgb_just_blend.png


    


    we get this :-
enter image description here

    


    and if I reverse the blend so that the inputs to the blend function are the other way around, like this :-

    


    ffmpeg -i circle_rgb_50.png -i pikachu_rgb.png -filter_complex "[1:v][0:v]blend=screen" pikachu_screened_over_circle_rgb_just_blend_other_way_around.png


    


    we get this :-
enter image description here

    


    Why doesn't FFMPEG do blending the same way as GIMP or Adobe Photoshop ?

    


    Or is there another parameter I need to pass so that blends look as they should ?

    


  • C# Play MPEG audio files

    23 novembre 2017, par Ch3shire

    I’m looking for a way to play mpeg audio files in C#. With mp3 the case is simple :

       System.Windows.Media.MediaPlayer player = new System.Windows.Media.MediaPlayer();
       player.Open(new System.Uri(File));
       player.Play();

    I’m looking for a way to play with similar simplicity the m4a or webm audio files. For now I’m desperate and I’m trying to make a workaround :

           String path = Path.GetFullPath("./x.m4a");
           Process process = new Process();
           ProcessStartInfo startInfo = new ProcessStartInfo();
           startInfo.WindowStyle = ProcessWindowStyle.Hidden;
           startInfo.FileName = "ffplay.exe";
           startInfo.Arguments = "-vn -showmode 0 " + path;
           process.StartInfo = startInfo;
           process.StartInfo.UseShellExecute = false;
           process.StartInfo.RedirectStandardOutput = true;
           process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
           process.StartInfo.CreateNoWindow = true;
           process.Start();

    For now I am able to play x.m4a file, but it doesn’t stop when I exit the file. Also I’m afraid I won’t have much control over the track flow. Is there any different method (with NuGet package for example) to play mpeg files ?

  • how to play audio files using ffmpeg

    6 juin 2012, par user1426122

    I'm using ffmpeg to make a music player, i want to know the function to play the music and pause the music. The have searched several times about it but it, but didn't find a workable answer.