Recherche avancée

Médias (91)

Autres articles (53)

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

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (5808)

  • Get bitmap / thumbnail from a streaming video with format like .mp4, .3gp in Android ?

    12 janvier 2016, par Androzr

    I am working on ListView which on item click redirecting to a video link.
    I explain my problem :

    I have three types of videos :

    • Youtube
    • Dailymotion
    • Other formats from streaming video like this one : Video Link

    I am trying to get thumbnail to get it in my ImageView from my item of my ListView. I encoutered a problem, I get Youtube thumbnail, Dailymotion thumbnail but I couldn’t get thumbnail for other formats.

    I tried to use MediaMetaDataRetriever class but nothing happens.

    Here is the line where I tried to get my bitmap :

    We are in my VideoAdapter class in the getView method. holder is my ViewHolder class and thumbVideo is my ImageView.

    Here is differents lines I tried :

    holder.thumbVideo.setImageBitmap(createVideoThumbnail(m_Context, Uri.parse(m_Video.getM_Preview())));

    m_Video is my Video class and the method getM_Preview() is getting the link of video thumbnail.

    Here is my createVideoThumbnail(Context context, Uri uri) method :

       public Bitmap createVideoThumbnail(Context context, Uri uri) {
       Bitmap bitmap = null;
       MediaMetadataRetriever retriever = new MediaMetadataRetriever();
       try {
           retriever.setDataSource(context, uri);
           bitmap = retriever.getFrameAtTime(-1);
       } catch (RuntimeException ex) {
       } finally {
           try {
               retriever.release();
           } catch (RuntimeException ex) {
           }
       }
       return bitmap;
    }

    I am looking an answer for 4 days. If anybody know how I can do, it’ll be helpful

  • ffmpeg extension isn't installing

    29 avril 2013, par kaan yilgin

    I'm using wamp server v2.2 x64 and php version 5.3.13. I'm trying to install ffmpeg during two days. I fallowed this steps :

    • Download dll files for x64 (I'm using windows7 x64)
    • copied ffmpeg.dll to bin\php\php5.3.13\ext
    • copied rest of dll files to system32
    • enable ffmpeg extension from wamp server.

    and I checked phpinfo() but it's not working.
    by the way is there any way to take a frame from video for poster image ?

  • fix bad HTML

    25 mars 2010, par Scott Schiller

    m doc/download/index.html fix bad HTML