
Recherche avancée
Médias (1)
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
Autres articles (41)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (4023)
-
Changing Audio Volume using FFmpeg Android
23 août 2018, par katarotyAs I have understood, the only way to change
FFmpeg
volume is to do it throught acommand line
.This is what should change the volume of the audio :
ffmpeg -i input.wav -filter:a "volume=1.5" output.wav
Now I have used
FFmpeg
with command line before and it looked like this and gave me no errors :String[] cmd = { "-i" , pcmtowavTempFile.toString(), "-i", mp3towavTempFile.toString(), "-filter_complex", "amix=inputs=2:duration=first:dropout_transition=3", combinedwavTempFile.toString()};
ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {
@Override
public void onSuccess(String message) {
super.onSuccess(message);
encodeWavToAAC();
}
@Override
public void onFailure(String message) {
super.onFailure(message);
onError(message);
}
});But If I try to do it with audio volume in the same method, it just ignores it :
String[] cmd = { "-i" , pcmtowavTempFile.toString(), "-filter:a", "volume=1.3", pcmtowavTempFile.toString()};
ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {
@Override
public void onSuccess(String message) {
super.onSuccess(message);
}
@Override
public void onFailure(String message) {
super.onFailure(message);
}
});I get neither, no
success or error message
with the last volume change method.Since the volume is there between
" "
, I tried adding this :String[] cmd = { "-i" , pcmtowavTempFile.toString(), "-filter:a", "\"volume=1.3\"", pcmtowavTempFile.toString()};
But the app started crashing after adding this line.
-
How to use Laravel FFMpeg to convert file using cuda
30 novembre 2022, par Filippo TosoI have the following ffmpeg command that converts and scales an input video using cuda :


ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i input.mp4 -c:a copy –vf scale_npp=-1:360:interp_algo=super -c:v h264_nvenc -b:v 5M output.mp4



I'm trying to use Laravel FFMpeg to convert using the following code :


FFMpeg::fromDisk('sources')
 ->setInitialParameters(['-hwaccel', 'cuda', '-hwaccel_output_format', 'cuda'])
 ->open($file)
 ->export()
 ->toDisk('indexed')
 ->setAdditionalParameters(['-c:a', 'copy', '–vf', 'scale_npp=-1:360:interp_algo=super', '-c:v', 'h264_nvenc', '-b:v', '5M'])
 ->save($file);



But the command tries to execute the following command (notice the absence of filenames) :


fmpeg.exe -y -hwaccel cuda -hwaccel_output_format cuda -c:a copy –vf scale_npp=-1:360:interp_algo=super -c:v h264_nvenc -b:v 5M



Any idea what I'm doing wrong ?


I can live with using directly PHP FFMpeg if the Laravel wrapper can't do it.


Thanks


-
Revision 29928 : On réutilise l’ancien code pour débuter notre branche
17 juillet 2009, par kent1@… — LogOn réutilise l’ancien code pour débuter notre branche