Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (68)

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

  • 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

Sur d’autres sites (10330)

  • Evolution #3908 (Nouveau) : Mémo des raccourcis près du champ

    24 février 2017, par tetue tetue

    Pour aider à la saisie des rédacteurices, ce serait super gentil d’afficher un mémo des raccourcis SPIP, en contexte, c’est-à-dire à proximité immédiate du champ de saisie du porte-plume.

    Fonctionnement : un bouton d’aide (avec picto conventionnel en point d’interrogation) déplie un encart juste au dessus du champ de saisie (pas en popin ni ailleurs), qui affiche un mémo synthétique des principaux raccourcis, de façon à pouvoir les avoir sous les yeux PENDANT la saisie.
    Depuis cet encart un lien permet, à celleux qui en ont besoin, d’aller consulter les explications dans la documentation complète.

    Voir wireframe joint.

    Ceci vaut pour toutes les occurrences du porte-plume, en back comme en front, en champ dans la page et en full screen.

  • Looking for Javacpp FFMPEG CustomIO Example

    26 février 2017, par user1902291

    I am trying to get Custom IO working with JavaCPP FFMPEG. Has anyone succeeded at this ? Can you post your code ?

    Here is mine (Scala), which does not work. It compiles and runs, but does not seem to call my Read and Seek methods

    val readPtr = new Pointer()
    val seekPtr = new Pointer()
    val userDataPtr = new Pointer()
    val read = new Read_packet_Pointer_BytePointer_int(readPtr) {
     override def call(userDataPtr: Pointer, @Cast(Array("uint8_t*")) buf: BytePointer, buf_size: Int): Int = {
       super.call(userDataPtr, buf, buf_size)
     }
    }
    val seek = new Seek_Pointer_long_int(seekPtr) {
     @Cast(Array("int64_t")) override def call(userDataPtr: Pointer, @Cast(Array("int64_t")) offset: Long, whence: Int): Long = {
       super.call(userDataPtr, offset, whence)
     }
    }

    val bufferSize = 1024 * 1024
    val readBuffer = new BytePointer(bufferSize)

    val avioContext = avformat.avio_alloc_context(
     readBuffer,   // internal buffer
     bufferSize,   // and its size
     0,            // write flag (1=true,0=false)
     userDataPtr,  // user data, will be passed to our callback functions
     read,
     null,         // no writing
     seek
    )

    formatContext.pb(avioContext)
    formatContext.flags(formatContext.flags | avformat.AVFormatContext.AVFMT_FLAG_CUSTOM_IO)
    formatContext.iformat(avformat.av_find_input_format("mp4"))

    avformat.avformat_open_input(formatContext, null.asInstanceOf[String], null, null)
  • Use ffmpeg in android for playing video

    14 février 2017, par devxcon

    I am trying use ffmpeg in android. Here is the code so far. I took reference from this project. It just lets me convert video file. But I want to play a video file using ffmpeg. Is it possible ? If yes then how we can do that ?

       package com.ffmpeg;

    import android.support.v7.app.AppCompatActivity;
    import android.os.Bundle;
    import android.widget.ImageView;

    import com.github.hiteshsondhi88.libffmpeg.ExecuteBinaryResponseHandler;
    import com.github.hiteshsondhi88.libffmpeg.FFmpeg;
    import com.github.hiteshsondhi88.libffmpeg.LoadBinaryResponseHandler;
    import com.github.hiteshsondhi88.libffmpeg.exceptions.FFmpegCommandAlreadyRunningException;
    import com.github.hiteshsondhi88.libffmpeg.exceptions.FFmpegNotSupportedException;

    import org.apache.commons.io.FileUtils;

    import java.io.File;
    import java.io.IOException;

    public class MainActivity extends AppCompatActivity {


       Boolean loadedFlag = false;

       @Override
       protected void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.activity_main);
           if (!loadedFlag) {
               FFmpegInitLoader();
           }
           decodeVideo();
       }

       public void FFmpegInitLoader() {
           FFmpeg ffmpeg = FFmpeg.getInstance(this);
           try {
               ffmpeg.loadBinary(new LoadBinaryResponseHandler() {
                   @Override
                   public void onStart() {
                   }

                   @Override
                   public void onFailure() {
                   }

                   @Override
                   public void onSuccess() {
                       System.out.println("Successfully loaded FFmpeg!!!");
                       loadedFlag = true;
                   }

                   @Override
                   public void onFinish() {
                   }
               });
           } catch (FFmpegNotSupportedException e) {
               System.out.println("Whatever....this thing is not supported :::::::::::::::::::: ");
           }
       }

       public void decodeVideo() {
           FFmpeg ffmpeg = FFmpeg.getInstance(this);
           try {
               ffmpeg.execute(new String[]{"-y", "-i", "/storage/sdcard0/AVSEQ02.mp4", "-c:v", "libx264", "/storage/sdcard0/conv.mp4"}, new ExecuteBinaryResponseHandler() {
                   @Override
                   public void onStart() {
                       System.out.println("FFmpeg started for decoding");
                   }

                   @Override
                   public void onProgress(String message) {
                       System.out.println("progress message:::: " + message);
                   }

                   @Override
                   public void onFailure(String message) {
                       System.out.println("failure message:::: " + message);
                   }

                   @Override
                   public void onSuccess(String message) {
                       System.out.println("success message:::: " + message);
                   }

                   @Override
                   public void onFinish() {
                   }
               });
           } catch (FFmpegCommandAlreadyRunningException e) {
               System.out.println("already running::::::");
           }
       }
    }