Recherche avancée

Médias (91)

Autres articles (64)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (9032)

  • FFmpeg android video processing does not return error message

    25 août 2018, par Дмитрий Мельчин

    friends. I am creating a program that puts the sound and picture to video. I’m using the ffmpeg library https://github.com/bravobit/FFmpeg-Android.
    The command looks like this :

    String command = "-i /data/user/0/com.radpony.vhs.camcorder/files/RADVHS/camcorder_video.mp4 -i /data/user/0/com.radpony.vhs.camcorder/files/RADVHS/watermark_png.png -i /data/user/0/com.radpony.vhs.camcorder/files/RADVHS/playarrow.png -filter_complex [0]crop=720:720[croped];[1]scale=w=143:h=50[tmp];[croped][tmp]overlay=x=577:y=10[overlayed];[overlayed][2]overlay=x=150:y=10[overlayed2];[overlayed2]drawtext=fontfile=/data/user/0/com.radpony.vhs.camcorder/cache/VCR_OSD_MONO_1_001.ttf:text='PM 11\:06Aug..25 2018':fontcolor=white:fontsize=48:x=50:y=600[withdate];[withdate]drawtext=fontfile=/data/user/0/com.radpony.vhs.camcorder/cache/VCR_OSD_MONO_1_001.ttf:text='Play':fontcolor=white:fontsize=48:x=50:y=30 -codec:a copy -c:v libx264 -preset ultrafast /data/user/0/com.radpony.vhs.camcorder/files/RADVHS/rendered_video.mp4";

    It works great for Android 6, but on the Samsung devices with Android 7 while processing of video ffmpeg just stops without displaying an error message.
    If someone knows the solution to this problem, help, please

  • doc : apply various grammar fixes

    10 août 2013, par Bryce W. Harrington
    doc : apply various grammar fixes
    

    The first sentence of each of the modified man pages are worded a bit
    awkwardly. These minor copy-edits should make them clearer.

    Signed-off-by : Bryce Harrington <b.harrington@samsung.com>
    Signed-off-by : Stefano Sabatini <stefasab@gmail.com>

    • [DH] doc/demuxers.texi
    • [DH] doc/ffmpeg.texi
    • [DH] doc/outdevs.texi
    • [DH] doc/protocols.texi
  • how to merge a mp3 file into a mp4 file with low framerate(0.5) using FFmpeg wrapped in javacv

    21 février 2016, par hychanbb

    The video is with no sound only image and frame rate is 0.5, i want to merge a mp3 file into it, but it seem not work at all. Below it the code

               File folder = Environment.getExternalStorageDirectory();
               String path = folder.getAbsolutePath() + "/DCIM/Camera";
               long millis = System.currentTimeMillis();
               videoPath = path + "/" + "test_sham_"+millis+".3gp";
               try {

               //audio grabber
               FrameGrabber grabber2 = new FFmpegFrameGrabber(folder.getAbsolutePath()+"/Samsung/Music/Over_the_horizon.mp3");

               //video grabber
               FrameGrabber grabber1 = new FFmpegFrameGrabber(path+"/20140527_133034.jpg");
                   grabber1.start();
                   grabber2.start();
                 recorder = new FFmpegFrameRecorder(path
                         + "/" + "test_sham_"+millis+".3gp",  grabber1.getImageWidth(), grabber1.getImageHeight(),2);
                   recorder.setVideoCodec(avcodec.AV_CODEC_ID_MPEG4);
                   recorder.setFormat("3gp");
                   recorder.setFrameRate(frameRate);
                   recorder.setSampleRate(grabber2.getSampleRate());
                   recorder.setVideoBitrate(30);
                   startTime = System.currentTimeMillis();
                   recorder.start();

                   Frame frame1, frame2 = null;

                   while ((frame1 = grabber1.grabFrame()) != null ||

                         (frame2 = grabber2.grabFrame()) != null) {

                       recorder.record(frame1);

                       recorder.record(frame2);

                   }
                   recorder.stop();
                   grabber1.stop();
                   grabber2.stop();
                   System.out.println("Total Time:- " + recorder.getTimestamp());

               } catch (Exception e) {
                   e.printStackTrace();
               }

    I do the above and find out that the video contains no sound. Anyone knows how to deal with the framerate problem...