
Recherche avancée
Autres articles (100)
-
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. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (9027)
-
ffmpeg compilation problem : avcodec_find_decoder always returns null
15 mars 2016, par AdionI recently tried to upgrade the ffmpeg libraries I use in my Mac OS X application by downloading and compiling ffmpeg from source.
My code works correctly with pre-compiled libraries of the same version on windows.
On Mac OS X, the library appears to work (it can open the file and find the streams and codecs used), but when it gets to avcodec_find_decoder, this function always returns null.The code has worked with an older version of the library (compiled a year ago on Mac OS X 10.5)
I configured fmpeg using
./configure --extra-cflags="-arch i386" --extra-ldflags='-arch i386' --arch=x86_32 --target-os=darwin --enable-cross-compile --disable-indev=jack --enable-shared --disable-static
I checked config.mak, and it appears to have the decoders for the file types I tried enabled (ogg, vorbis, avi, mkv, ...)
I also checked that the correct header files have been used and that the newly compiled library is used.I have found only some older posts relating to this issue, but without any solution :
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/021399.html
http://libav-users.943685.n4.nabble.com/avcodec-find-decoder-problem-td944800.html
Edit : checking further, it appears av_codec_next(NULL) returns null as well, which means there isn’t a single codec available, or that first_avcodec in utils.c is not set (I actually haven’t found at all where this variable is set, I would have assumed av_register_all, but I can’t find it there)
-
ffmpeg output images filename with time position and problem with 'not(mod(t'
26 novembre 2020, par Дмитрий МышковI'd found a such ffmpeg output images filename with time position topic, but have problem with execute that one "ffmpeg -i source -vf fps=1,select='not(mod(t,5))' -vsync 0 -frame_pts 1 z%d.jpg" :


ffmpeg -i ex.avi -vf fps=1,select='not(mod(t,5))' -vsync 0 -frame_pts 1 z%d.jpg

Stream mapping:
 Stream #0:0 -> #0:0 (mpeg4 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[Parsed_select_1 @ 0x7f96ee6024c0] [Eval @ 0x7ffee72d67d0] Missing ')' or too many args in 'mod(t'
[Parsed_select_1 @ 0x7f96ee6024c0] Error while parsing expression 'not(mod(t'
[AVFilterGraph @ 0x7f96ee439cc0] Error initializing filter 'select' with args 'not(mod(t'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!



what do I not right ?


-
Problem with fluent-ffmpeg in node.js with firebase
20 juillet 2019, par Just A Bad ProgrammerI am using fluent-ffmpeg to compress video to 1000k bit rate for the videos that is uploaded by the user to firebase.
console.log("Compressed File Path: " + compressedVideoFilePath);
const command = ffmpeg(tempFilePath).setFfmpegPath(ffmpegStatic.path)
.videoBitrate(1000)
//.audioChannels(1)
//.audioFrequency(16000)
//.format('flac')
.on('error', function(err) {
console.log('An error occurred: ' + err.message);
})
.on('end', function() {
console.log('Processing finished!');
console.log("File compressed");
return destBucket.upload(compressedVideoFilePath, {
destination: 'compressed-' + path.basename(filePath),
metadata: metadata
}).then(() => {
console.log('Output audio uploaded to', targetStorageFilePath);
// Once the audio has been uploaded delete the local file to free up disk space.
fs.unlinkSync(tempFilePath);
fs.unlinkSync(targetTempFilePath);
console.log('Temporary files removed.', targetTempFilePath);
});
})
.save(compressedVideoFilePath);
console.log("Function Finished");But, the code inside ffmpeg does not run, the output of the console is just :
Compressed File Path: /tmp/compressed-test-4d68b02f-a6ef-4ff3-a5c9-52687fd3f0c4.mp4
Function Finished
Function execution took 17871 ms, finished with status: 'ok'It just skips to the end without displaying any on end or on success messages. The compressed video files also did not appear/uploaded in the firebase.
Can anyone help me find out the problem and help me fix it ? Is the code for ffmpeg not correct ? Thanks.