Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (95)

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

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (9613)

  • 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 ?
  • Batch convert MP3 and static image to AVI with FFMPEG

    8 décembre 2013, par user3027136

    I'm tired of searching for this problem. I have found 2 solutions here, but both work only partially.
    What I want to do is to convert all the MP3 inside a folder (if possible subfolders, too) to avi or anything else accepted by Youtube. I have created 2 .bat that should do this (according to the other threads here). They don't, one of them creates the avi without the image (black) and the other seems to capture the screen.
    Here they are.
    If you know about ffmpeg please point me to the right direction. Thank you.

    This one uses mp3info.exe - to be honest I have no idea what mp3info does, I just guess it finds the lenght of the song to be mathed later with the length of the video.

    @echo off
    for %%a in (*.mp3) do (
    for /f "delims=" %%b in ('mp3info.exe -p %%S "%%a"') do (
    ffmpeg -i "%%a" -loop 1 -r 1 -i "cover.jpg" -acodec copy "%%~na.mp4" -t %%b
    )
    )

    This seems more simple, runs faster but captures the screenshot and ignores the cover.jpg file.

    @echo off
    for %%A IN (*.mp3) DO ffmpeg -i "%%A" -i "cover.jpg" "%%A.mpg"
    done

    mp2info.exe, cover.jpeg and the .bat scripts are in the same folder with the .mp3 files.

  • Why doesn't the lame mp3 codec (libmp3lame) create XingHeaders ?

    5 novembre 2012, par user784637

    I downloaded a video from youtube whose audio was encoded in aac and transcoded it to an mp3 using the libmp3lame codec.

    $ ffmpeg -i video.mp4 -vn -acodec libmp3lame -- test.mp3

    Now when I try to write id3 tags to it using the taglib example tagwriter I get the following warning :

    $ ./testwriter -t 'stuff' test.mp3
    TagLib: MPEG::XingHeader::parse() -- Xing header doesn't contain the total stream size.

    The id3 tags are written and display correctly, but the lack of the XingHeaders causes older players to loop the song several times.

    Why doesn't the lame mp3 codec create XingHeaders ? How do I create XingHeaders ?