Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (36)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (5093)

  • Anomalie #3452 (Nouveau) : L’image jointe à un message de forum n’est pas prise en charge (bug SPI...

    18 mai 2015, par Pascal Verrier

    Bonjour,

    Depuis la MAJ toute récente de SPIP 3.0.19 je constate que l’image jointe à un message de forum n’est plus affichée après enregistrement du message.

    Le document est cependant bien créé dans la médiathèque mais n’est plus associé au forum.

    J’ai identifié le code responsable, dans plugins-dist/medias/action/editer_document.php lignes 260 à 267 : il s’agit d’un ajout depuis la 3.0.17 (ajout du même type également quelques lignes plus haut L252 avec "dissocierdocuments") :

       // verifier les droits d'associer<br />    foreach($objets_parents as $objet=>$ids){<br />        foreach($ids as $k=>$id){<br />            if (!autoriser('associerdocuments',$objet,$id)){<br />                unset($objets_parents[$objet][$k]);<br />            }<br />        }<br />    }<br />

    L’utilisateur courant devrait donc avoir le droit "associerdocuments" pour que l’image soit associée au forum. Or je suis connecté en tant que webmestre. Notez que par ailleurs notre forum peut également être utilisé par des "visiteurs" qui peuvent également joindre des images.

    En supprimant ce code l’image est de nouveau prise en charge normalement.

  • ffmpeg audio and the iphone

    17 juin 2019, par michelle

    has anyone been able to make ffmpeg work with audio queues, I get an error when I try to create the queue.

    ret = avcodec_open(enc, codec);

    if (ret &lt; 0) {
       NSLog(@"Error: Could not open video decoder: %d", ret);
       av_close_input_file(avfContext);
       return;
    }


    if (audio_index >= 0) {
       AudioStreamBasicDescription
       audioFormat;

       audioFormat.mFormatID = -1;

       audioFormat.mSampleRate =
       avfContext->streams[audio_index]->codec->sample_rate;

       audioFormat.mFormatFlags = 0;

       switch (avfContext->streams[audio_index]->codec->codec_id)
       {
       case CODEC_ID_MP3:
           audioFormat.mFormatID = kAudioFormatMPEGLayer3;
           break;

       case CODEC_ID_AAC:
           audioFormat.mFormatID = kAudioFormatMPEG4AAC;
           audioFormat.mFormatFlags = kMPEG4Object_AAC_Main;
           break;

       case CODEC_ID_AC3:
           audioFormat.mFormatID = kAudioFormatAC3;
           break;
       default:
           break;
       }

       if (audioFormat.mFormatID != -1) {
           audioFormat.mBytesPerPacket = 0;
           audioFormat.mFramesPerPacket =
           avfContext->streams[audio_index]->codec->frame_size;

           audioFormat.mBytesPerFrame = 0;

           audioFormat.mChannelsPerFrame = avfContext->streams[audio_index]->codec->channels;

           audioFormat.mBitsPerChannel = 0;

           if (ret = AudioQueueNewOutput(&amp;audioFormat, audioQueueOutputCallback, self, NULL, NULL, 0, &amp;audioQueue)) {

               NSLog(@"Error creating audio output queue: %d", ret);
           }

    The issues only with the audio,

    Video is perfect if only I can figure out how to get audio queues to work.

    http://web.me.com/cannonwc/Site/Photos_6.html

    I though of remoteio but there is’nt much doc on that.

    I will share the code for the complete class with anyone that helps me get it to work.

    The idea is to have a single view controller that plays any streaming video passed to it, similar to ffplay on the iphone but without the sdl overhead.

  • Truly live streaming to Android/iPhone

    4 juillet 2012, par Tsaukpaetra

    I have spent quite a while (past week) trying this to little avail. However, what I want seems completely unheard of. So far, I have reviewed recommendations available through google, which include encoding a static file into multiple static files in different formats, creating a playlist that hosts static files in an m3u8 file (files which get added to the playlist as streaming continues).
    I have also seen ideas involving rtmp, rtsp etc which are completely out of the question because of their incompatibility.
    Ideally, I would have one webpage that would link to the stream (http://server/video.mp4) and/or show it in a webpage (via the video tag). With that in mind, the most likely format would be h264+aac in mp4 container.

    Unfortunately, (and probably because the file has no duration metadata) it does not work. I can use a desktop player (such as VLC) to open the stream and play it, but my iPhone and Android both give their respective "Can't be played" messages.

    I don't think the problem is caused by the devices' ability to stream, for I have made a streaming shoutcast server work just fine (mp3 only).

    Currently, the closest I have become is using the following setup on my win32 machine :

    FFMPEG Command: : ffmpeg -f dshow -i video="Logitech Webcam 200":audio="Microphone (Webcam 200)" -b:v 180k -bt 240k -vcodec libx264 -tune zerolatency -profile:v baseline -preset ultrafast -r 10 -strict -2 -acodec aac -ac 2 -ar 48000 -ab 32k -f flv "udp ://127.0.0.1:1234"

    VLC: : Stream from udp ://127.0.0.1:1234 to http:// :8080/video.mp4 (No Transcoding), basically just to convert the UDP stream into an http-accessible stream.

    Any hints or suggestions would be warmly welcomed !