Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (54)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (7423)

  • fate : mtv : disable video decoding

    11 mai 2012, par Mans Rullgard

    fate : mtv : disable video decoding

  • ffmpeg : 1 audio file + js animation = 1 mp4 video

    9 juin 2014, par Melaga888

    I would like to make an mp4 file from 1 audio file and some java script animations produced on a browser ?! How is that possible please ?
    Any working example or ideas would be greatly appreciated.

    Thank you everyone

  • 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