Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (70)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (11633)

  • http live streaming based on a m3u file

    23 mars 2018, par 3agelx45

    I have an account on a platform of streaming (legal !). This platform provide me with a m3u file, the content looks like follow :

    #EXTM3U
    #EXTINF:-1 tvg-id="" tvg-name="|| something ||" tvg-logo="" group-title="",|| CAT1 ||
    http://someurl.domain:1234/video1.ts
    #EXTINF:-1 tvg-id="" tvg-name="video2" tvg-logo="" group-title="CAT1 part 1",VIDEO1
    http://someurl.domain:1234/video2.ts
    #EXTINF:-1 tvg-id="" tvg-name="video2" tvg-logo="" group-title="CAT1 part 1",VIDEO2
    .
    .
    .
    etc

    This file works fine using vlc from home. but when I travel I use Hotels hotspots and some do block the connection to someurl.domain:1234.

    is it possible to stream the m3u file using a light http server (stream the file from server side and reroute result to http). The idea is run a small iptv server from home on my raspberry which will allow me to bypass the "censorship" faced with some hotspots.

    Thanks !

  • avcodec/tiff : Fix handling of av_strdup() failures

    9 mars 2024, par Andreas Rheinhardt
    avcodec/tiff : Fix handling of av_strdup() failures
    

    For unknown geokey values, get_geokey_val() returns
    "Unknown-%d" with val being used for %d. This string
    is allocated and therefore all the known geokey values
    (static strings) are strdup'ed. In case this fails
    it is either ignored or treated as "Unknown-%d".
    (Furthermore it is possible to call av_strdup(NULL),
    although this is not documented to be legal.)

    This commit changes this by only returning the static strings
    in get_geokey_val() ; the unknown handling and strdup'ing
    is moved out of it.

    Reviewed-by : Stefano Sabatini <stefasab@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/tiff.c
  • 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 ?