
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (97)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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, parMultilang 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, parLa 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 Lilavf/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.00Low 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>
-
Laravel FFMpeg - Unable to load FFMpeg in file error
13 juin 2022, par dtwooI'm trying to integrate FFMpeg into a Laravel project but am getting the error when I call the end point :


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


What I've done :


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

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


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


install Laravel ffmpeg
composer require pbmedia/laravel-ffmpeg


added FFMPEG to providers and aliases in
app.php
:

'providers' => [
 ...
 ProtoneMedia\LaravelFFMpeg\Support\ServiceProvider::class,
 ...
];

'aliases' => [
 ...
 'FFMpeg' => ProtoneMedia\LaravelFFMpeg\Support\FFMpeg::class
 ...
];



and then my controller is


<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use FFMpeg;

class VideoController extends Controller
{
 public function makeVideo()
 {

 FFMpeg::fromDisk('songs')
 ->open('yesterday.mp3')
 ->export()
 ->toDisk('converted_songs')
 ->inFormat(new \FFMpeg\Format\Audio\Aac)
 ->save('yesterday.aac');
 return "hello";
 }
}



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 !


-
How to open&save a video file in python ?
27 août 2014, par AliGHI’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