Recherche avancée

Médias (91)

Autres articles (107)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

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

  • flutter :can i make the input file & the output file the same in ffmpeg command ?

    17 juillet 2022, par Khaled Mortaja

    I am using this command for applying a crop operation on a video stored on my internal storage $x is the location of the video , I do not want a new output file to be created, i just want the cropped video to overwrite the input video, so any changes on the video will be applied to the original video location.
i used this command but it did not work

    


    FFmpegKit.execute("-i $x -ss 00:00:01 -t 00:00:10 -c copy $x")


    


    any suggestions...
thanks in advance

    


  • Recording from an ImageView using FFmpegFrameRecorder

    8 novembre 2015, par UserAx

    I want to convert images displayed in a imageview to a video using FFmpegFrameRecorder, and add audio using mic as the source

    I have imported JavaCV to my project(javacv.jar, javacpp.jar, opencv.jar , openv-android-arm.jar, ffmpeg.jar, ffmpeg-android-arm.jar ; added them under project structure/dependencies)

    I am using this code https://github.com/gderaco/JavaCVTest/tree/master

    I get error as "record (org.bytedeco.javacv.Frame) in FFmpegFrameRecorder cannot be applied to (org.bytedeco.javacpp.opencv_coreiplImage)"

    where have i gone wrong and how to add mic as the audio source ?

    CODE:
    import..

    import org.bytedeco.javacpp.opencv_core;
    import org.bytedeco.javacv.FFmpegFrameRecorder;

    import static org.bytedeco.javacpp.opencv_imgcodecs.cvLoadImage;

    public class MyAndroidAppActivity extends Activity {

    ImageView image;

    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    addListenerOnButton();

    opencv_core.IplImage img = cvLoadImage("ImageView");

    FFmpegFrameRecorder recorder = new                
    FFmpegFrameRecorder("/sdcard/test.mpeg",200,150);

       try {
           recorder.setFrameRate(30);
           recorder.start();

           for (int i=0;i<100;i++)
           {
               recorder.record(img);
           }
           recorder.stop();
       }
       catch (Exception e){
           e.printStackTrace();
       }

    }

    public void addListenerOnButton() {

    image = (ImageView) findViewById(R.id.imageView1);
    button = (Button) findViewById(R.id.btn1);

    button.setOnClickListener(new OnClickListener() {
       @Override
       public void onClick(View arg0) {
           image.setImageResource(R.drawable.image1);
       }
    });

    //...........

    button = (Button) findViewById(R.id.btn10);

    button.setOnClickListener(new OnClickListener() {
       @Override
       public void onClick(View arg0) {
           image.setImageResource(R.drawable.image10);
       }

    });
    }
  • AAC encoder : memoize quantize_band_cost

    12 octobre 2015, par Claudio Freire
    AAC encoder : memoize quantize_band_cost
    

    The bulk of calls to quantize_band_cost are replaced
    by a call to a version that memoizes, greatly improving
    performance, since during coefficient search there is
    a great deal of repeat work.

    Memoization cannot always be applied, so do this in a
    different function, and leave the original as-is.

    • [DH] libavcodec/Makefile
    • [DH] libavcodec/aaccoder_twoloop.h
    • [DH] libavcodec/aacenc.c
    • [DH] libavcodec/aacenc.h
    • [DH] libavcodec/aacenc_quantization.h
    • [DH] libavcodec/aacenc_quantization_misc.h
    • [DH] libavcodec/mips/aaccoder_mips.c