Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (97)

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

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

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

Sur d’autres sites (11256)

  • lavf/qsv_scale : add scaling modes support

    18 juin 2019, par Zhong Li
    lavf/qsv_scale : add scaling modes support
    

    low_power mode will use a fixed HW engine (SFC), thus can offload EU usage.
    high quality mode will take EU usage (AVS sampler).

    Performance and EU usage (Render usage) comparsion on Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz :

    High quality mode : ffmpeg -hwaccel qsv -c:v h264_qsv -i bbb_sunflower_1080p_30fps_normal_2000frames.h264 \
    - vf scale_qsv=w=1280:h=736:mode=hq -f null -
    fps=389
    RENDER usage : 28.10 (provided by MSDK metrics_monitor)

    Low Power mode : ffmpeg -hwaccel qsv -c:v h264_qsv -i /bbb_sunflower_1080p_30fps_normal_2000frames.h264 \
    - vf scale_qsv=w=1280:h=736:mode=low_power -f null -
    fps=343
    RENDER usage : 0.00

    Low power mode (SFC) may be disabled if not supported by
    MSDK/Driver/HW, and replaced by AVS mode interanlly.

    Signed-off-by : Zhong Li <zhong.li@intel.com>

    • [DH] libavfilter/vf_scale_qsv.c
  • Laravel FFMpeg - Unable to load FFMpeg in file error

    13 juin 2022, par dtwoo

    I'm trying to integrate FFMpeg into a Laravel project but am getting the error when I call the end point :

    &#xA;

    FFMpeg\Exception\ExecutableNotFoundException: Unable to load FFMpeg in file /Users/me/Desktop/video/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFMpegDriver.php on line 55

    &#xA;

    What I've done :

    &#xA;

    brew install ffmpeg - installed FFMEG locally, can confirm that this works when using terminal

    &#xA;

    Fresh Laravel install composer create-project laravel/laravel example-app

    &#xA;

    Install php ffmpeg composer require php-ffmpeg/php-ffmpeg

    &#xA;

    install Laravel ffmpeg composer require pbmedia/laravel-ffmpeg

    &#xA;

    added FFMPEG to providers and aliases in app.php :

    &#xA;

    &#x27;providers&#x27; => [&#xA;    ...&#xA;    ProtoneMedia\LaravelFFMpeg\Support\ServiceProvider::class,&#xA;    ...&#xA;];&#xA;&#xA;&#x27;aliases&#x27; => [&#xA;    ...&#xA;    &#x27;FFMpeg&#x27; => ProtoneMedia\LaravelFFMpeg\Support\FFMpeg::class&#xA;    ...&#xA;];&#xA;

    &#xA;

    and then my controller is

    &#xA;

    &lt;?php&#xA;&#xA;namespace App\Http\Controllers;&#xA;&#xA;use Illuminate\Http\Request;&#xA;&#xA;use FFMpeg;&#xA;&#xA;class VideoController extends Controller&#xA;{&#xA;    public function makeVideo()&#xA;    {&#xA;&#xA;        FFMpeg::fromDisk(&#x27;songs&#x27;)&#xA;    ->open(&#x27;yesterday.mp3&#x27;)&#xA;    ->export()&#xA;    ->toDisk(&#x27;converted_songs&#x27;)&#xA;    ->inFormat(new \FFMpeg\Format\Audio\Aac)&#xA;    ->save(&#x27;yesterday.aac&#x27;);&#xA;        return "hello";&#xA;    }&#xA;}&#xA;

    &#xA;

    which is the example they give on git. if I call the end point I get the above error. Has anyone got any ideas what's wrong or how to debug ? The logs don't give me any more information !

    &#xA;

  • How to open&save a video file in python ?

    27 août 2014, par AliGH

    I’ve just started to make a ubuntu application using PyGtk. My very first object is to open, convert and then save a video file. Ignoring convert phase, I’m going to implant open-save functions. But at the moment when I open a video file, and save it, I get non-video file with 11B size. I’ve just google this and found OpenCV for python. But I’m not sure if it’s the best way to do it. I also think I’m going to use ffmpeg libraries to do some manipulates on video files. Is it what I want or there might be other built-in libraries ?

    By the way, here’s my code to open and save the file :

       def on_openFile_clicked(self, widget):
           filename=None
           dialog = Gtk.FileChooserDialog("Please choose a file", self,
               Gtk.FileChooserAction.OPEN,
               (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL,
                Gtk.STOCK_OPEN, Gtk.ResponseType.OK))

           response = dialog.run()
           self.add_filters(dialog)

           if response == Gtk.ResponseType.OK:
               filename = dialog.get_filename()
           elif response == Gtk.ResponseType.CANCEL:
               print 'Cancel Clicked'
           dialog.destroy()

           print "File Choosen: ", filename

       def add_filters(self, dialog):

           filter_py = Gtk.FileFilter()
           filter_py.set_name("Video Files")
           filter_py.add_mime_type("video/mp4")
           filter_py.add_mime_type("video/x-flv")
           dialog.add_filter(filter_py)

           filter_any = Gtk.FileFilter()
           filter_any.set_name("Any files")
           filter_any.add_pattern("*")
           dialog.add_filter(filter_any)

       def on_saveFile_clicked(self, widget):
           filename=None
           dialog = Gtk.FileChooserDialog("Please choose a file", self,
               Gtk.FileChooserAction.SAVE,
               (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL,
                Gtk.STOCK_SAVE, Gtk.ResponseType.OK))

           response = dialog.run()
           self.add_filters(dialog)

           if response == Gtk.ResponseType.OK:
               filename = dialog.get_filename()
           elif response == Gtk.ResponseType.CANCEL:
               print 'Cancel Clicked'
           dialog.destroy()

           if filename != None:
               save_file=open(filename, 'w')
               save_file.write("Sample Data")
               save_file.close()
           print "File Saved: ", filename