
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (101)
-
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 (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)
Sur d’autres sites (12832)
-
Add Audio to video with existing audio using FFmpeg and change volume of of both audios
14 juin 2017, par 1234567Add Audio to video with existing audio using FFmpeg and change volume of both audios
I am using this command from ffmpeg to merge audio to video
video.mp4 has
video and audio
, and audio.m4a only hasaudio
ffmpeg -i video.mp4 -i audio.m4a -map 0:v -map 1:a -c copy -shortest output.mp4
I want to merge audio to video but maintain audio from both video and the new audio file
I also want to change the volume of audio file that I want to add from current file to 1.5 times
and change the audio from the video file to 0.5 times
how can we change the volume and still maintain new and old audio in the merged file
-
Simple ffmpeg merge and volume customization
16 juin 2017, par 1234567I have following commands to change volume of audio, video and then merge it.
First, change volume level of a MP3 File.
ffmpeg -i audio.mp3 -vol 100 audio1.mp3
then change volume level of a MP4 File.
ffmpeg -i video.mp4 -vol 300 video1.mp4
and then to merge both audio and video at specific time of video.
String[] complexCommand =
{"-ss", "" + startMs / 1000, "-y", "-i", video1.mp4`,"-i",
audio1.mp3, "-t", "" + (endMs - startMs) / 1000, "-s",
"320x240", "-vcodec", "mpeg4", "-b:v",
"2097152", "-b:a", "48000", "-ac", "2", "-ar", "22050", output.mp4};I want to simplify this into just one process.
How can this be done ?
I tried this command :
String[] complexCommand = {"-i",STORE_DIRECTORY,"-i",yourRealPath,"-filter_complex","[0:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.5[a1];[1:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.8[a2];[a1][a2]amerge,pan=stereo:c0code>
I am using
https://github.com/WritingMinds/ffmpeg-android-java
It gave me the error
Unknown encoder '-vcodec'
but when I tried to simply merge audio with video without volume customization, it worked fine. -
FFMPEG set volume in amix
23 juin 2017, par user5839I’ve been trying to mix an audio mp3 with a video mp4 while retaining the mp4 audio. This is working with .
ffmpeg -y -i video.mp4 -i audio.mp3
-filter_complex "[0:a][1:a]amix=inputs=2:duration=longest[out]"
-map 0:v -map [out] output.mp4I’m now trying to adjust the volumes of the sound files (video 0.5, audio 1) as part of the mix.
I’ve been trying things like
ffmpeg -i 020c276b-face-4bb3-9169-e8969c1232ba.mp4 -i test.mp3 -filter_complex
"[0:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.5[a1];
[1:a]aformat=sample_fmts fltp:sample_rates=44100:channel_layouts=stereo,volume=0.8[a2];
[a1][a2]amerge,pan=stereo:c0code>And I get errors such as
[Parsed_aformat_2 @ 037f8620] Error parsing sample format : sample_fmts
fltp. [AVFilterGraph @ 038be620] Error initializing filter ’aformat’
with args ’sample
_fmts fltp:sample_rates=44100:channel_layouts=stereo’ Error initializing complex filters. Invalid argumentDoes anyone know how to make the code I’ve code above that is working, also change the volume of the inputs ?
Thanks