Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (21)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (7079)

  • Add Audio to video with existing audio using FFmpeg and change volume of of both audios

    14 juin 2017, par 1234567

    Add 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 has audio

    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

  • Batch mixing audio, given timestamps. Multiple offsets, only two sounds. How to do it efficiently ?

    3 août 2021, par Evil

    I have two stereo sounds, 1.wav and 2.wav, these sounds are less than 1 second long and list of timestamps (miliseconds from start of recording). Recording of pure video (recording.mp4) is several hours long and there are thousands (20 000 - 30 000) of timestamps per sounds.

    


    I want to convert list of timestamps and sounds into one recording, merging it with video. The part of merging audio with video is easy with ffmpeg, so this is not part of the question.

    


    The list of timestamps is tsv, for example :

    


    


    1201\t1.wav
    
1501\t2.wav
1603\t1.wav
    
and so on, up to 50 000

    


    


    I can convert it to anything, I am generating this file.

    


    I have seen mixing sound with padding and mixing audio to existing video, but I have to batch process a lots of samples, running sox that many times is not feasible. Mere constructing input for ffmpeg or sox is a cumbersome task.

    


    


    sox -M f2.wav f3.wav f1.wav out.wav delay 4 4 8 8 remix 1,3,5 2,4,6
    
(assuming stereo), or

    


    


    


    sox -m f1.wav "|sox f2.wav -p pad 4" "|sox f3.wav -p pad 8" out.wav

    


    


    Cool for three files. Not feasible for 50 000+. First one needs to read file multiple times (even if it is the same one) and remix channels. Second executes 50 000 sox invocations, also reading the same two files (1.wav, 2.wav) over and over.

    


    I do not use any effects on sounds. There is no explicit support in sox to take one input and play it multiple times (echo / echos destroys the material). Also creating padding or delay takes a lot of time. FFMPEG also needs long query to make it happen.

    


    Since muxing two files is easy, I have tried to record two sounds separately, but still it takes a lot of time to process.

    


    Is there simpler / faster way ?

    


    Taking advice from fdcpp, since wav is PCM coded I also consider writing C program to parse it. I will update code, when I am done.
    
This extends question : is there way to encode offsets in wav format ?

    


  • How do you get exactly equal segments when splitting an audio file using ffmpeg ? [duplicate]

    13 septembre 2022, par dev404

    I'm trying to split a WAV audio file into several 3 second segments.

    


    I tried the following, but I get files with irregular sizes that are slightly above or under 3 seconds :

    


    ffmpeg -i input.wav -c:a libvorbis -segment_time 3 -f segment output%d.ogg


    


    My files look like this :

    


    Duration: 00:00:03.01, start: 0.000000, bitrate: 125 kb/s
Duration: 00:00:03.01, start: 3.008435, bitrate: 132 kb/s
Duration: 00:00:02.99, start: 6.021224, bitrate: 129 kb/s
Duration: 00:00:02.99, start: 9.010794, bitrate: 130 kb/s
Duration: 00:00:03.01, start: 12.000363, bitrate: 128 kb/s
Duration: 00:00:03.00, start: 15.005896, bitrate: 134 kb/s
Duration: 00:00:03.02, start: 18.005624, bitrate: 135 kb/s
Duration: 00:00:02.98, start: 21.031474, bitrate: 131 kb/s


    


    Unfortunately the difference is significant enough that when I later try to chain them together, the gaps between some of them are clearly perceivable.

    


    I found these other two questions that mention similar problems, but they're converting video files not audio.

    


    ffmpeg not splitting into EXACT same length chunks

    


    How to get equal segment times using ffmpeg ?

    


    Is there something that could be used for audio files instead ?