Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (105)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (8817)

  • Aubio (aubioonset.exe) on Windows - can't find ffmpeg libraries

    7 octobre 2024, par Peter Wirdemo

    I have installed Aubio on Windows but when trying to use the tools, like aubioonset.exe, I am faced with the following error message :

    


    C:/Peter/aubio/aubio/aubio-0.4.6-win64-ffmpeg/bin/aubioonset.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory


    


    I assume it looks after ffmpeg libraries. I have FFmpeg installed and bin-dir added to PATH environment variable. FFMPEG is working flawless globally.

    


    After searching internet for answers to my issue I find "answers" like :
"install chosen libraries (for instance ffmpeg, with header files)"

    


    That vague answer doesn't help me at all. Exactly how do I install ffmpeg libraries, with header files, so that the Aubio-tools can find them ? I need specifics about what environmental-variables must be set - or - should the ffmpeg lib-files be placed in the Aubio Build folder somewhere, or what should I do ?

    


    And after doing that I am supposed to recompile and reinstall Aubio. I can do that.

    


    This is btw. the result from ./waf configure when building my own Aubio-binaries (instead of downloading pre-builds) :

    


    peter@DESKTOP-I0KNADQ MINGW64 /c/Peter/aubio/aubio (master)
$ ./waf configure
Setting top to                           : C:\Peter\aubio\aubio
Setting out to                           : C:\Peter\aubio\aubio\build
Checking for 'msvc' (C compiler)         : C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\CL.exe
Checking for header stdlib.h             : yes
Checking for header stdio.h              : yes
Checking for header math.h               : yes
Checking for header string.h             : yes
Checking for header errno.h              : yes
Checking for header limits.h             : yes
Checking for header stdarg.h             : yes
Checking for header getopt.h             : not found
Checking for header unistd.h             : not found
Checking for library m                   : not found
Checking for C99 __VA_ARGS__ macro       : yes
Checking for size of smpl_t              : float
Checking for size of lsmp_t              : double
Checking if complex.h is enabled         : no
Checking for FFT implementation          : ooura
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking for all libav libraries         : not found (missing avcodec)
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking if using source_wavread         : yes
Checking if using sink_wavwrite          : yes
Checking for program 'txt2man'           : not found
Checking for program 'doxygen'           : not found
Checking for program 'sphinx-build'      : not found
'configure' finished successfully (7.590s)


    


    As can be seen above I have no problem building Aubio without external libraries.

    


    So my guess is that I can go down two different paths for a solution here : either try building with all external libraries somehow prepared (I have tried but can't change the output of ./waf configure no matter what I do. I have cloned the ffmpeg source from github. I can't figure out where ./waf configure is looking for it). Or I can get the precompiled binaries to work, by somehow installing the external libraries.

    


    I have tried both solutions in multiple ways, but fail getting any one of them to work.

    


  • bad audio mic recording quality with ffmpeg compared to sox

    1er juillet 2021, par user2355330

    I am contacting you as after 3 days of searching I am stuck on a really simple point.

    


    I want to record the sound of my mic on MacOS using ffmpeg.

    


    I managed to do it using the following command :

    


    ffmpeg -f avfoundation -audio_device_index 2 -i "none:-" -c:a pcm_s32l alexspeaking.wav -y -loglevel debug


    


    The issue is that each time I am speaking, there are cracks and pop in the sound...

    


    I tried to use sox and it gave me a perfect and crystal clear sound and I have no idea why... Below is the output of the sox command :

    


    sox -t coreaudio "G935 Gaming Headset" toto.wav -V6
sox:      SoX v
time:     Nov 15 2020 01:06:02
uname:    Darwin MacBook-Pro.local 20.5.0 Darwin Kernel Version 20.5.0: Sat May  8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64
compiler: gcc Apple LLVM 12.0.0 (clang-1200.0.32.27)
arch:     1288 48 88 L
sox INFO coreaudio: Found Audio Device "DELL U2721DE"
sox INFO coreaudio: Found Audio Device "G935 Gaming "
sox DBUG coreaudio: audio device did not accept 2 channels. Use 1 channels instead.
sox DBUG coreaudio: audio device did not accept 44100 sample rate. Use 48000 instead.
Input File     : 'G935 Gaming Headset' (coreaudio)
Channels       : 1
Sample Rate    : 48000
Precision      : 32-bit
Sample Encoding: 32-bit Signed Integer PCM
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no
sox INFO sox: Overwriting `toto.wav'
sox DBUG wav: Writing Wave file: Microsoft PCM format, 1 channel, 48000 samp/sec
sox DBUG wav:         192000 byte/sec, 4 block align, 32 bits/samp
Output File    : 'toto.wav'
Channels       : 1
Sample Rate    : 48000
Precision      : 32-bit
Sample Encoding: 32-bit Signed Integer PCM
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no
Comment        : 'Processed by SoX'
sox DBUG effects: sox_add_effect: extending effects table, new size = 8
sox INFO sox: effects chain: input        48000Hz  1 channels (multi) 32 bits unknown length
sox INFO sox: effects chain: output       48000Hz  1 channels (multi) 32 bits unknown length
sox DBUG sox: start-up time = 0.051332
In:0.00% 00:00:07.13 [00:00:00.00] Out:340k  [      |      ]        Clip:0    ^C
sox DBUG input: output buffer still held 2048 samples; dropped.
Aborted.
sox DBUG wav: Finished writing Wave file, 1359872 data bytes 339968 samples


    


    I am pretty sure the issue is linked to the way the encoding is done and the params I used with ffmpeg but I don't seem to be able to grasp which one I must use.

    


    Any ideas if there are ffmpeg experts here ?

    


  • Unable to merge videos using ffmpeg within Azure Batch

    7 juillet 2019, par JJuice

    Using a tutorial by MSDN I am trying to build a Batch operation, executed within an Azure Function that merges to videos using FFMPEG. Somehow I am doing something wrong because the merging fails.

    The code where I create the task to merge the videos :

    private static async Task> AddTasksAsync(BatchClient batchClient, string jobId, List<resourcefile> inputFiles, string outputContainerSasUrl)
       {
           Console.WriteLine("Adding {0} tasks to job [{1}]...", inputFiles.Count, jobId);

           // Create a collection to hold the tasks added to the job:
           List<cloudtask> tasks = new List<cloudtask>();

           // Assign a task ID for each iteration
           string taskId = String.Format("Task0");

           string appPath = String.Format("%AZ_BATCH_APP_PACKAGE_{0}#{1}%", appPackageId, appPackageVersion);
           Console.WriteLine(inputFiles[0].FilePath);
           Console.WriteLine(inputFiles[1].FilePath);
           Console.WriteLine(inputFiles[2].FilePath);
           string outputMediaFile = String.Format("ResultaatFilmpje.MOV");
           string taskCommandLine = String.Format("cmd /c {0}\\ffmpeg-20190706-feade2b-win64-static\\bin\\ffmpeg.exe -safe 0 -f concat -i {1} -c copy {2}",
                                               appPath, inputFiles[2].FilePath, outputMediaFile);

           // Create a cloud task (with the task ID and command line) and add it to the task list
           CloudTask task = new CloudTask(taskId, taskCommandLine);
           task.ResourceFiles = new List<resourcefile> { inputFiles[2] };

           // Task output file will be uploaded to the output container in Storage.

           List<outputfile> outputFileList = new List<outputfile>();
           OutputFileBlobContainerDestination outputContainer = new OutputFileBlobContainerDestination(outputContainerSasUrl);
           OutputFile outputFile = new OutputFile(outputMediaFile,
                                                   new OutputFileDestination(outputContainer),
                                                   new OutputFileUploadOptions(OutputFileUploadCondition.TaskSuccess));
           outputFileList.Add(outputFile);
           task.OutputFiles = outputFileList;
           tasks.Add(task);

           // Call BatchClient.JobOperations.AddTask() to add the tasks as a collection rather than making a
           // separate call for each. Bulk task submission helps to ensure efficient underlying API
           // calls to the Batch service.
           await batchClient.JobOperations.AddTaskAsync(jobId, tasks);

           return tasks;
       }
    </outputfile></outputfile></resourcefile></cloudtask></cloudtask></resourcefile>

    When I run the same command from the command-line locally it works fine and FFMpeg merges the two videos.

    I think it has something to do with FFMPEG not able to find the input videos. The location of the input files is stored in the file myfile.txt within the same blob storage container as the two videos itself.
    The videos are listed in the myfile.txt as follows :

    file IMG_7442.MOV
    file IMG_7456.MOV

    Does anyone have an idea on where the failure is coming from ? Any help would be greatly appreciated !