Recherche avancée

Médias (91)

Autres articles (50)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

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

Sur d’autres sites (7714)

  • android - how to play two audio file at same time

    29 janvier 2016, par Sajad Norouzi

    I wanna create an karaoke android app. so far, user can listen to the song and record his voice. now I want to let user some editing like setting volume of his voice or setting Reverb effect. I have some library like ffmpeg and sox on android and don’t have problem for mixing two audio, but for setting volume or Reverb wanna play two audio file simultaneously using mediaplayer, however it’s not possible because android doesn’t let us play two audio file with mediaplayer at same time even with two different object of mediaplayer. so, what is the solution ?

  • Edit ffmpeg arguments while playing

    12 mars 2019, par C0d0r

    I am building a client (discord.js) that plays music from youtube. Before the client starts playing the ffmpeg-arguments (filters etc.) can be edited and piped into the stream. I use prism-media (npm) to define the args.

    My Question : How is it possible to edit these arguments while the client is playing ? f.ex. disable in the middle of a song etc...

    The code basically looks like in the Readme example on github : https://github.com/amishshah/prism-media/tree/dev

  • Does android support .m4a metadata ?

    23 octobre 2016, par David Barishev

    Im using taglib-sharp-portable to tag audio files in my app. My audio files are .acc, which are inboxed in a .m4a format.
    I have no option but to use this format, since i’m extracting the audio from a Video file (.mp4/.webm), based on using this SO answer. I can’t re encode the music stream, since it will take a lot of time on an cellular device.
    The problem i’m facing is that the music player doesn’t recognize the tags, even though they are tagged correctly. If i pull the file from the device, and view it on my Windows PC, i can see the tags fine.

    Here is the code im using to tag the file :

    public static async Task tagFile(File musicFile, string name, string songID, Context c, SongDownloadNotification nf = null)
    {
               var imageFilePath = await DownloadThumbnailImage(songID, c, nf);
               string[] songDetails = GetSongDetails(name);

               Log.Verbose(tag, "Exstraced song Details. Artist Name: {0}, Song Name: {1}", songDetails[0], songDetails[1]);

               var fsMusic = new System.IO.FileStream(
                   musicFile.CanonicalPath,
                   System.IO.FileMode.Open,
                   System.IO.FileAccess.ReadWrite,
                   System.IO.FileShare.ReadWrite,
                   4096,
                   true);

               TagLib.File tagFile = TagLib.File.Create(new TagLib.StreamFileAbstraction(musicFile.CanonicalPath, fsMusic, fsMusic));

               tagFile.Tag.Clear();

               tagFile.Tag.Performers = new[] { songDetails[0] };
               tagFile.Tag.AlbumArtists = new[] { songDetails[0] };
               tagFile.Tag.Title = songDetails[1];
               tagFile.Tag.Album = songDetails[1];

               var fsImage = new System.IO.FileStream(
                   imageFilePath,
                   System.IO.FileMode.Open,
                   System.IO.FileAccess.ReadWrite,
                   System.IO.FileShare.ReadWrite,
                   4096,
                   true);

               tagFile.Tag.Pictures = new[] { new TagLib.Picture(new TagLib.StreamFileAbstraction(musicFile.CanonicalPath, fsImage, fsImage)) };

               tagFile.Save();
               Log.Debug(tag, "Succesfully added tags to file");

               fsMusic.Close();
               fsImage.Close();

               if (!new File(imageFilePath).Delete())
                   Log.Warn(tag, "Couldnt delete tmp file");
               else
                   Log.Verbose(tag, "Deleted thumbnail file succesfully");
    }

    These question came to me :

    • Is my choice of encapsulating the raw .acc file in .m4a file good ? The format im looking into, is audio only, is .m4a overkill for it ?
    • Does android support reading tags of .m4a file ? If so what did i do wrong with my code ?If not, how can i add tags to .acc ( or some other ’parent’ format), that android supports, and i would not need to re encode it ?