
Recherche avancée
Autres articles (103)
-
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (15773)
-
lavfi/loudnorm : add an internal libebur128 library
15 octobre 2016, par Marton Balintlavfi/loudnorm : add an internal libebur128 library
Also contains the following changes to the library :
add ff_ prefix to functions
remove cplusplus defines.
add FF_ prefix to contants and some structs
remove true peak calculation feature, since it uses its own resampler, and
af_loudnorm does not need it.remove version info and some fprintf(stderr) functions
convert to use av_malloc
always use histogram mode for LRA calculation, otherwise LRA data is slowly
consuming memory making af_loudnorm unfit for 24/7 operation. It also uses a
BSD style linked list implementation which is probably not available on all
platforms. So let’s just remove the classic mode which not uses histogram.add ff_thread_once for calculating static histogram tables
convert some functions to void which cannot fail
remove intrinsics and some unused headers
add support for planar audio
remove channel / sample rate changer function, in ffmpeg usually we simply
alloc a new contextconvert some static variables to defines
declare static histogram variables as aligned
convert some initalizations to mallocz
add window size parameter to init function and remove window size setter
functionconvert return codes to AVERROR
fix indentation
Signed-off-by : Marton Balint <cus@passwd.hu>
-
'ffmpeg' is not recognized as an internal or external command in nodejs node-ffmpeg
24 mars 2024, par Wai Yan HeinI am developing a Node.js application. First of all, I am just a beginner when it comes to Node.


What I am doing in my application now is that I am trying to create the thumbnail JPEG file for my mp4 file. I have already tried many possible solutions. Now I am using this one - https://github.com/damianociarla/node-ffmpeg. I think this is the potential solution among all. I am getting the error when I generate the JPEG thumbnail of the video file.


Here is what I have done so far. I installed the package running this command


npm install ffmpeg --save



Then I try to generate the thumbnail files like this


var ffmpeg = require('ffmpeg');
module.exports.createVideoThumbnail = function(req, res)
{
 try {
 var process = new ffmpeg('public/lalaland.mp4');
 process.then(function (video) {
 
 video.fnExtractFrameToJPG('public', {
 frame_rate : 1,
 number : 5,
 file_name : 'my_frame_%t_%s'
 }, function (error, files) {
 if (!error)
 console.log('Frames: ' + files);
 else
 //This error message is displayed
 console.log(error)
 });

 }, function (err) {
 console.log('Error: ' + err);
 });
 } catch (e) {
 console.log(e.code);
 console.log(e.msg);
 }
 res.json({ status : true , message: "Video thumbnail created. Hopefully" });
}



When I run the code, it is throwing an error. I commented in the code where the error is thrown from.
This is the error message


{ Error: Command failed: ffmpeg -i public/lalaland.mp4 -r 1 -s 0x0 -aspect NaN:NaN -vframes 5 -filter_complex "scale=iw*sar:ih, pad=max(iw\,ih*(NaN/NaN)):ow/(NaN/NaN):(ow-iw)/2:(oh-ih)/2:black" public/my_frame_1518211962631_0x0_%d.jpg
'ffmpeg' is not recognized as an internal or external command,
operable program or batch file.

 at ChildProcess.exithandler (child_process.js:275:12)
 at emitTwo (events.js:126:13)
 at ChildProcess.emit (events.js:214:7)
 at maybeClose (internal/child_process.js:925:16)
 at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
 killed: false,
 code: 1,
 signal: null,
 cmd: 'ffmpeg -i public/lalaland.mp4 -r 1 -s 0x0 -aspect NaN:NaN -vframes 5 -filter_complex "scale=iw*sar:ih, pad=max(iw\\,ih*(NaN/NaN)):ow/(NaN/NaN):(ow-iw)/2:(oh-ih)/2:black" public/my_frame_1518211962631_0x0_%d.jpg' }



I installed the ffmg as well. You can see below it is an installed command on my laptop




What is missing in my code ?


-
Flash 9, non-NetStream/movieStar can detect when playback fails due to missing sound hardware support (or 32-channel sound ceiling being hit.) Implemented as SMSound.onplayerror() callback.
1er mai 2012, par Scott Schillerm script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js m src/SoundManager2.as m src/SoundManager2_AS3.as m src/SoundManager2_SMSound_AS3.as m swf/soundmanager2.swf m swf/soundmanager2_debug.swf m (...)