
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (57)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
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 (...) -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)
Sur d’autres sites (6808)
-
FFmpeg error code 254
17 septembre 2013, par AkerusI try to get file informations via ffprobe in a java-application.
I am using the following command :
/usr/bin/ffprobe -v quiet -print_format json -show_format -show_streams TESTVIDEOPATH
Running that command in bash, it works like a charm : It returns the JSON-String and error code is "0".
Running that command in Java results in error code "254" and result is :\n\n
When I modify the command, so that ffprobe accepts a stream as input :
/usr/bin/ffprobe -v quiet -i - -print_format json -show_format -show_streams
it works in both bash and Java.
In Java the following is used :
ProcessBuilder processBuilder = new ProcessBuilder(command.split(" "));
this.process = processBuilder.start();
this.process.waitFor();
int exitCode = this.process.exitValue();
this.outputOfProcess = this.process.getInputStream();Can anyone tell me what the error code 254 means ? I couldn't find anything about it.
Edit : ffmpeg version 0.10.7-6:0.10.7-0jon1 quantal is used
-
How do I get event emitter based code to wait in nodejs ?
29 mars 2019, par DigitalDisasterI may be asking the question wrong because I don’t have a lot of experience with this. Basically, I have this code :
videoshow(images, videoOptions)
.audio('song.mp3')
.save('video.mp4')
.on('start', function (command) {
console.log('ffmpeg process started:', command)
})
.on('error', function (err, stdout, stderr) {
console.error('Error:', err)
console.error('ffmpeg stderr:', stderr)
})
.on('end', function (output) {
console.error('Video created in:', output)
})from this library
It runs async as far as I understand, but I can’t get it to wait even when I add await before it.
I want the block of code to stop until the
end
has finished and the image has been converted to a vide. I don’t see any examples, and I’m not sure what I’m doing wrong. -
ffmpeg code not working aws lambda environment
5 janvier 2021, par Akash DasI followed this article and deployed the Lambda functions and layers and set it up all fine.


But I am facing a problem when I try converting the mp4 video into a 720p video, the ffmpeg commands that work in my Ubuntu 20.04 are not working in the Lambda and gives me error in the form of 0kb files in the destination folder.


Can someone explain why this is happening ? The command that I used was :


ffmpeg -i input.mp4 -s 1280x720 -c:a copy output.mp4



I use this command in the Python file


ffmpeg_cmd = "/opt/bin/ffmpeg -i \"" + s3_source_signed_url + "\" -f mp4 -s 1280x720 -c:a copy -" ___ . 



This is the error I get :




The problem is that I used a code like this to get only the audio


ffmpeg_cmd = "/opt/bin/ffmpeg -i \"" + s3_source_signed_url + "\" -f mp3 -ab 192000 -vn -" ___ . 



And it works as expected.