Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (11)
-
MediaSPIP Init et Diogène : types de publications de MediaSPIP
11 novembre 2010, parÀ l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)
Sur d’autres sites (515)
-
ffmpeg, HLS options, ffmpeg components for dummies ? [closed]
10 juin 2013, par VetalI am trying to make some HLS encoding with ffmpeg
After playing a lot (in Ubuntu 12.04) with ffmpeg I realized I do not understand basic questions.
How to make a ffmpeg "by the book" ?
I've started a "sudo apt-get install ffmpeg"
I finished with a manual install :
Latter needed a following command to get rid of build error, where I spent quite some time with :
sudo apt-get remove ffmpeg x264 libx264-dev
So, now I've got to the documentation for HLS : http://ffmpeg.org/ffmpeg-all.html#hls-2
Trying to run some stuff :
ffmpeg -i 3.mp4 hls.m3u8
Error : Unable to find a suitable output format for 'hls.m3u8'
ffmpeg -i 3.mp4 -hls_time 10 hls.m3u8
Error :
Unrecognized option 'hls_time'
Failed to set value '10' for option 'hls_time'Anyway, looks like an options specified in different formats, e.g. 'vbsf' vs 'v:bsf', -vcodec and -v:c, etc. etc. Like there are few alternative versions
After starting with it some time ago, I feel more pessimistic now like I missed some fundametals. Any Ideas for the things above ?
Thank you
-
How to use the latest version of @ffmpeg/ffmpeg in a React.js project ?
3 août 2023, par Muzammil RazaI'm working on a React.js project where I need to process videos in the browser using @ffmpeg/ffmpeg. I noticed that the package has been updated recently, and the API and functions have changed.


In the older version, I used to import the package and functions like this :


import { createFFmpeg, fetchFile } from '@ffmpeg/ffmpeg';



However, in the latest version, I see that the import has changed to :


import { FFmpeg } from '@ffmpeg/ffmpeg';



and all new functions are changed I have checked in by log :


I have check by console ffmpeg, it show :


createDir: path => {…}
deleteDir: path => {…}
deleteFile: path => {…}
exec: ƒ ( /** ffmpeg command line args */ args)
listDir: path => {…}
load: ƒ ()
loaded: true
readFile: ƒ (path)
rename: (oldPath, newPath) => {…}
terminate: () => {…}
writeFile: (path, data) => {…}



I'm not sure about the changes in the API and functions, and I couldn't find any updated documentation or guides on how to use the latest version of @ffmpeg/ffmpeg in a React.js project.


I have task of video processing for streaming and need to add logo in video.


Could someone please provide guidance on how to use the latest version of @ffmpeg/ffmpeg in a React.js project ? Specifically, I'm looking for information on the changes in the API, the new function names, and how to perform video processing tasks with the latest version.


If anyone has experience with the latest version of @ffmpeg/ffmpeg or knows the updated usage, any help or examples would be greatly appreciated. Thank you !


-
Class 'FFMpeg\FFMpeg\Coordinate\Dimension' not found
14 juillet 2016, par Vaibhavraj S. RohamI am trying to execute basic example of php-ffmpeg library in Laravel 5. I have already installed ffmeg on ubuntu and working fine from command line. I am getting following error while running the example.
Error
FatalErrorException in WelcomeController.php line 26 : Class
’FFMpeg\FFMpeg\Coordinate\Dimension’ not found
My Code
use FFMpeg\FFMpeg;
class WelcomeController extends Controller {
public function __construct()
{
$this->middleware('guest');
}
public function index()
{
return view('welcome');
}
public function video()
{
$ffmpeg = FFMpeg::create();
$video = $ffmpeg->open('test1.mp4');
$video
->filters()
->resize(new FFMpeg\Coordinate\Dimension(320, 240))
->synchronize();
$video
->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
->save('frame.jpg');
$video
->save(new FFMpeg\Format\Video\X264(), 'export-x264.mp4')
->save(new FFMpeg\Format\Video\WMV(), 'export-wmv.wmv')
->save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');
}
}What would be the error ?