Recherche avancée

Médias (0)

Mot : - Tags -/masques

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

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

Sur d’autres sites (8256)

  • Laravel FFmpeg error Call to undefined method FFMpeg\FFMpeg::fromDisk()

    13 décembre 2019, par chengwei

    I’m using laravel ffmpeg to create a thumnail fot the video, but when i run the code, it return me

    Call to undefined method FFMpeg\FFMpeg::fromDisk()

    I don’t know what happen to this error, i’m follow the instruction in github.
    here is my code.

    use FFMpeg\FFMpeg;
    use FFMpeg\FFProbe;

    $thumbnail_name =  md5($request->video_name).'_thumbnail.jpg';
    $thumbnail_path = '/assets/' . $request->video_name;
    FFMpeg::fromDisk('videos')
           ->open($export_as)
           ->getFrameFromSeconds(10)
           ->export()
           ->toDisk('thumnails')
           ->save($thumbnail_path);

    i tried the fromFilesystem method, but it is not working, i also change the value in fromDisk() to public/assets even from c drive like C:\xampp\htdocs\vidpuz\public\assets but also not working, it keep return undefined method error.

  • How to make FFMPEG video grayscale ?

    15 octobre 2018, par Aang

    In my program I am using the subprocess Python module in my script to call on FFMPEG to turn a sequence of images into a video (grayscale). It works and a video is created, but upon further inspection I see that the video itself has encoded the different intensities incorrectly.

    Here is my code :

                   subprocess.call(['/usr/local/bin/ffmpeg', '-framerate', \
                                framerate, '-f', 'image2','-pattern_type', \
                                'glob', '-i', self.directory + '/orbit_*.png', \
                                '-r', '10', '-s', '620x380', '-flags', 'gray', self.directory +
                                ".avi"])

    Here is a link to the video that’s created : https://drive.google.com/open?id=0Bxt1siua2KQma0JaMVBMcE9TOEE

    If you’ll look at the scale bar on the right in the video, which normally looks like this
    in color, you’ll see that the same color shows up twice on the scale bar. I think it’s because FFMPEG is reading colors with the same intensities (for example, yellow and blue) the same way and therefore when the photo is encoded into grayscale it looks like this.

    What can I do ? Is this a matter of changing the "-flags", "gray" parameters of my subprocess call ?

  • Image overlay on video using ffmpeg android

    14 mars 2018, par user2458434

    I am trying to add image overlay on video using ffmpeg library but didn’t succeed.

    I tried sample using ffmpeg , https://drive.google.com/file/d/0B2aT0QoEmtuaN0VJZ2Z4ODY3T2s/view

    and referred this link as well to overlay image on video, http://ksloan.net/watermarking-videos-from-the-command-line-using-ffmpeg-filters/#comment-9793 but getting error.

    Below is my logcat error for reference :

    07-31 10:23:43.406 29517-29517/com.examples.ffmpeg4android_demo D/ffmpeg4android : /storage/emulated/0/videokit/in.mp4 length in bytes : 840896
    07-31 10:23:43.432 29517-30185/com.examples.ffmpeg4android_demo I/ffmpeg4android : doInBackground started...
    07-31 10:23:43.432 29517-30185/com.examples.ffmpeg4android_demo I/ffmpeg4android : vk deleted : false
    07-31 10:23:43.434 29517-30185/com.examples.ffmpeg4android_demo D/ffmpeg4android : Acquire wake lock
    07-31 10:23:43.479 29517-30185/com.examples.ffmpeg4android_demo I/ffmpeg4android : =======running first command=========
    07-31 10:23:43.479 29517-30185/com.examples.ffmpeg4android_demo I/ffmpeg4android : running ffmpeg4android_lib : 322.00.02_LM322
    07-31 10:23:43.479 29517-30185/com.examples.ffmpeg4android_demo D/ffmpeg4android : "ffmpeg","-y","-loop","1","-i","/sdcard/videokit/logo.png","-i","/sdcard/videokit/in.mp4","-y","-filter_complex","overlay=0:0:shortest=1","/sdcard/videokit/out.m4v"
    07-31 10:23:43.485 29517-30185/com.examples.ffmpeg4android_demo D/ffmpeg4android : /sdcard/videokit/logo.png length in bytes : 6047
    07-31 10:23:43.486 29517-30185/com.examples.ffmpeg4android_demo D/ffmpeg4android : /sdcard/videokit/in.mp4 length in bytes : 840896
    07-31 10:23:43.486 29517-30185/com.examples.ffmpeg4android_demo I/ffmpeg4android : videokitLibPath exits
    07-31 10:23:43.486 29517-30185/com.examples.ffmpeg4android_demo I/ffmpeg4android : /data/user/0/com.examples.ffmpeg4android_demo/lib/libvideokit.so
    07-31 10:23:43.493 29517-30185/com.examples.ffmpeg4android_demo I/Videokit : libvideokit.so loaded
    07-31 10:23:43.493 29517-30185/com.examples.ffmpeg4android_demo I/Videokit : args is not NULL
    07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo I/Videokit : more then one arg
    07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo I/Videokit : function symbol found
    07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo D/Videokit : Calling videokit run via loader
    07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo D/Videokit : call licenseCheckComplex
    07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo I/Videokit : isLicExistsComplex...
    07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo I/Videokit : You used 1 of your 15 trial days.
    07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo D/Videokit : license check rc : 0
    07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo D/Videokit : ffmpeg4android base 2.5

                                                                           --------- beginning of crash

    07-31 10:23:43.584 29517-30185/com.examples.ffmpeg4android_demo A/libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 30185 (AsyncTask #1)
    07-31 10:23:44.432 29517-29517/com.examples.ffmpeg4android_demo I/Choreographer : Skipped 44 frames ! The application may be doing too much work on its main thread.