Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (108)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • 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 ;

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (10418)

  • Revision 34233 : Utiliser un plugin existant pour insérer de nouveaux tests de validation : ...

    6 janvier 2010, par xdjuj@… — Log

    Utiliser un plugin existant pour insérer de nouveaux tests de validation : - taille d’une chaîne de caractère - is numérique ? - téléphone français - date (fonction du format voulu) - email dispo en base SPIP ? - validation email plus "stricte" que celle de SPIP - SIREN/SIRET - URL A peaufiner, (...)

  • Creating Thumbnails From Ffmpeg Hangs Php

    30 octobre 2012, par Piyush Arora

    I have been working on a php webservice, which receives videos(uploaded) from iphone and upload them to Amazon cloudFront. After uploading videos, I need to generate thumbnails for video from the Amazon link generated. I am using ffmpeg with shell_exec command for it. Here is the code for the same :

    public function createThumbnail($userId,$fileUrl,$imageName){
       //$imageUrl = 'http://184.168.116.177:81/json_api/json/bin/';
       if(!is_dir("images/".$userId)){
           mkdir("images/".$userId);
       }
       // path of installed ffmpeg
       $ffmpeg = $_SERVER['DOCUMENT_ROOT'] .'bin/ffmpeg';
       $cmd = "$ffmpeg  -itsoffset -1 -i $fileUrl -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 images/".$userId."/".$imageName;

       shell_exec($cmd);

       return "images/".$userId."/".$imageName;
    }

    The above code generates the thumbnail, but script does not execute after shell_exec command. So, there is no response sent to iphone end about the thumbnail link. This function works well video is uploaded from web browser of pc. If I comment, shell_exec command, then response is sent to iphone end, but obviousely image is not created.

    Thanks in advance.

  • FFMPEG RTP Microphone Audio Stream Won't Work Over 4G/LTE

    11 juillet 2021, par Andrew Smith

    I am trying to RTP stream the Mic input of my USB soundcard over 4G to an iphone running VLC, the phone is on the Three UK mobile network. I cannot get any audio at all but it works with no problem if I route it via a VPN, my ffmpeg command is :-

    


    ffmpeg -f dshow -i audio="Microphone (C-Media USB Headphone Set  )" -c:a libmp3lame -f rtp rtp://xxx.xxx.xxx.xxx:1234

    


    I am streaming to the ip of the phone as shown by whatsmyip in a browser, then trying to play the stream on the iphone using rtp ://@:1234

    


    If I switch on my VPN and change the ffmpeg stream-to ip address to my 10.0.0.xxx ip then it works just fine.

    


    Something seems to be blocking RTP when not using the VPN, could it be the 4G network blocking it ?