
Recherche avancée
Autres articles (58)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (10429)
-
Dynamic volume mixing with FFMPeg
1er juin 2021, par jvhangI am streaming audio using FFMPeg and need to mix two audio sources using FFMpeg and set the volume level dynamically. I.e. once the stream starts, I need to be able update the ratio of the two volumes.


Currently, I have the volume mixing and streaming working using the CLI version of FFMPeg but the volume mix ratio is static.


Is there a way to dynamically set the volume ratio using the CLI tool ? Perhaps something with an FFMpeg expression ?


Or is using the API the only option ? If so, can anyone point me towards an example of dynamically mixing audio ? I haven't been able to find one.


Edit : here are the params I currently pass to mix audio. Again, this works fine, so not including the log as there is no error to fix. The question is how can I adjust the ratio of the
amix
mix after the process has launched. Willing to use the API if need be.

"-f rawvideo" + // container
 " -vcodec rawvideo" + // codec
 " -s " + width + "x" + height + // input video size, must be correct
 " -pix_fmt rgba" + // pixel format
 " -framerate " + frameRate +
 " -i pipe:0" + // from stdin in via pipe
 " -f dshow" +
 " -i audio=\"Stereo Mix (Realtek(R) Audio)\"" + //
 " -f dshow" +
 " -i audio=\"Microphone Array (Xbox NUI Sensor)\"" + // 
 " -filter_complex \"amix\"" + // mix the two inputs, can added ratio if needed
 " -c:v libx264" + // x264 software encoder
 " -g " + frameRate *2 +
 " -keyint_min " + frameRate +
 " -c:a aac" + // audio format
 " -b:v 6M -maxrate 2M -bufsize 1M" + // constrain bitrate per twitch
 " -f flv" +
 " " + address 
 );



-
How to detect two identical audio/video files with different volume level ?
3 juillet 2017, par Marina RappoportI’m working on program that could compare 2 video files and show difference.
I compare audio track of files using SOX and FFMPEG :- invert one of the files (sox)
- merge other file and invert version of first (sox)
- detect silence (ffmpeg)
But if two file differs only by volume level - all audio track will be detected as non-silent ranges.
How to understand that 2 files have the same audio track, but with different volume level ?
I tried to change sound level via sox :
sox -v 1.1 input.wav output.wav
And then compare statistical information (-n stat).
It works fine. Result of division parameters audio2/audio1 :Samples read 1.00;
Length (seconds) 1.00;
Scaled by 1.00;
Maximum amplitude 1.10;
Minimum amplitude 1.10;
Midline amplitude 1.10;
Mean norm 1.10;
Mean amplitude 1.00;
RMS amplitude 1.10;
Maximum delta 1.10;
Mean delta 1.10;
RMS delta 1.10;
Rough frequency 1.00;
Volume adjustment 1/1.10;BUT ! When I tried ffmpeg to change volume of video :
ffmpeg -i input.mp4 -vcodec copy -af "volume=10dB" output.mp4
(orvolume=volume=0.5
) and than compared sox audio statistic : I can’t find any patterns...Samples read 1.00
Length (seconds) 1.00
Scaled by 1.00
Maximum amplitude 0.71
Minimum amplitude 0.64
Midline amplitude -2401.73
Mean norm 0.34
Mean amplitude 0.50
RMS amplitude 0.36
Maximum delta 0.37
Mean delta 0.34
RMS delta 0.36
Rough frequency 0.99
Volume adjustment 0.71I will be grateful for any ideas and help.
-
FFMPEG mixing .wav files volume control [closed]
1er avril 2024, par JoonSeo YangI am working on Java, using the ffmpeg library with command line processing to mix 2 .wav files into one .wav file, but I would like to know how to control the volume of each original file.


My problem : i have 2 audio files (human voice BGM), but BGM is too loud, so i can barely hear human voice, i would like to -> volume down the BGM file, or volume up voice file


Here is my partial code


String ffmpegCommand = file_exe.getAbsolutePath()
 + String.format(
 " -i %s -i %s -filter_complex amix=inputs=2:duration=first:dropout_transition=3 %s",
 file_1.getAbsolutePath(), file_2.getAbsolutePath(), outputFilePath);
Process process = Runtime.getRuntime().exec(ffmpegCommand);



it is quite simple code. I need help on this, and it would be very thankful to which document to read to get such information


PS.sorry for my poor eng.. Im not native :D


I was wandering around documentations, but its quite hard to find what i want