Recherche avancée

Médias (91)

Autres articles (79)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

Sur d’autres sites (6927)

  • How to convert iphone's caf to ogg on ubuntu

    24 novembre 2012, par Amure Pinho - Syncmobile

    i really need your support to solve that problem :

    We developed an iOS application that sends a sound file to our server and then, we share this audio.

    The problem is we didnt find any solution to convert the audio inside the iOS.

    We tought : Ok, thats a problem, but we can still convert the audio in the server right ?

    We are trying to make this using afconvert, ffmpeg but with no sucess.

    Do you have any basic guide or hint so we can write this in our server application and convert all the .CAF files to another format like OGG or MP3 ?

    Thanks a lot !

  • The New Samples Regime

    1er décembre 2011, par Multimedia Mike — General

    A little while ago, I got a big head over the fact that I owned and controlled the feared and revered MPlayer samples archive. This is the repository that retains more than a decade of multimedia samples.

    Conflict
    Where once there was one multimedia project (FFmpeg), there are now 2 (also Libav). There were various political and technical snafus regarding the previous infrastructure. I volunteered to take over hosting the vast samples archive (53 GB at the time) at samples.mplayerhq.hu (s.mphq for this post).

    However, a brand new server is online at samples.libav.org (s.libav for this post).

    Policies
    The server at s.libav will be the authoritative samples repository going forward. Why does s.libav receive the honor ? Mostly by virtue of having more advanced features. My simple (yet bandwidth-rich) web hosting plan does not provide for rsync or anonymous FTP services, both of which have traditionally been essential for the samples server. In the course of hosting s.mphq for the past few months, a few more discrepancies have come to light– apparently, the symlinks weren’t properly replicated. And perhaps most unusual is that if a directory contains a README file, it won’t be displayed in the directory listing (which frustrated me greatly when I couldn’t find this README file that I carefully and lovingly crafted years ago).

    The s.mphq archive will continue to exist — nay, must exist — going forward since there are years’ worth of web links pointing into it. I’ll likely set up a mirroring script that periodically (daily) rsyncs from s.libav to my local machine and then uses lftp (the best facility I have available) to mirror the files up to s.mphq.

    Also, since we’re starting fresh with a new upload directory, I think we need to be far more ruthless about policing its content. This means making sure that anything that is uploaded has an accompanying file which explains why it’s there and ideally links the sample to a bug report somewhere. No explanation = sample terminated.

    RSS
    I think it would be nifty to have an RSS feed that shows the latest samples to appear in the repository. I figure that I can use the Unix ‘find’ command on my local repository in concert with something like PyRSS2Gen to accomplish this goal.

    Monetization
    In the few months that I have been managing the repository, I have had numerous requests for permission to leech the entire collection in one recursive web-suck. These requests often from commercial organizations who wish to test their multimedia product on a large corpus of diverse samples. Personally, I believe the archive makes a rather poor corpus for such an endeavor, but so be it. Go ahead ; hosting this archive barely makes a dent in my fairly low-end web hosting plan. However, at least one person indicated that it might be easier to mail a hard drive to me, have me copy it, and send it back.

    This got me thinking about monetization opportunities. Perhaps, I should provide a service to send HDs filled with samples for the cost of the HD, shipping, and a small donation to the multimedia projects. I immediately realized that that is precisely the point at which the vast multimedia samples archive — with all of its media of questionable fair use status — would officially run afoul of copyright laws.

    Which brings me to…

    Clean Up
    I think we need to clean up some samples, starting with the ones that were marked not-readable in the old repository. Apparently, some ‘samples’ were, e.g., full anime videos and were responsible for a large bandwidth burden when linked from various sources.

    We multimedia nerds are a hoarding lot, never willing to throw anything away. This will probably the most challenging proposal to implement.

  • Build Live Audio Stream Player

    5 décembre 2011, par Kurt

    For an internship project i've been trying to develop a simple audio player for audio live stream.

    Currently i'm using a homemade three buffering (of 1/3 s each) solution played by QAudioOutput, which recall himself after finished his reading.

    void VideoServer::getBuf(QBuffer * p_buf)
    {
       audio_chunk*    ac = NULL;
       std::vector v;

       v.clear();
       for (int i = 0; i < 20;)
       {
           ac = _audioPreviewSharedData->deQueueAudio();
           if (ac)
           {
               v.insert(v.end(), ac->v_buf.begin(), ac->v_buf.end());
               i++;
               delete ac;
           }
           else
               usleep(50000);
       }
       p_buf->close();
       p_buf->setData((const char *)(&v[0]), v.size()*2);
       p_buf->open(QIODevice::ReadOnly);
    }

    -

    void VideoServer::slot_launchAudioPreviewBuffering()
    {
       getBuf(_buf1);
       getBuf(_buf2);
       _state = 2;
       connect(_audioPreviewTimer, SIGNAL(timeout()), this, SLOT(slot_audioPreviewBuffering()));
       _audioPreviewTimer->start(0);
       connect(_audioOut, SIGNAL(stateChanged(QAudio::State)), this, SLOT(finishedPlaying(QAudio::State)));
    }

    -

    void VideoServer::finishedPlaying(QAudio::State state)
    {
       if(state == QAudio::IdleState) {
           slot_audioPreviewBuffering();
       }
    }

    -

    void VideoServer::slot_audioPreviewBuffering()
    {
       switch (_state) {
       case 0:
           {
               _audioOut->start(_buf2);
               getBuf(_buf1);
               _state = 1;
               break;
           }
       case 1:
           {
               _audioOut->start(_buf3);
               getBuf(_buf2);
               _state = 2;
               break;
           }
       case 2:
           {
               _audioOut->start(_buf1);
               getBuf(_buf3);
               _state = 0;
               break;
           }
       }
    }

    But i'm suffering of choppy sound (little interruption between audio chunk).

    How to play this flux without interruption () and with a reasonable delay between audio and video (less 1s) ? Is there a best way ? Am i doing wrong ?

    Thank you !