Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (64)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (8503)

  • lavu/pixfmt : Add P012, Y212, XV30, and XV36 formats

    13 août 2022, par Philip Langdale
    lavu/pixfmt : Add P012, Y212, XV30, and XV36 formats
    

    These are the formats we want/need to use when dealing with the Intel
    VAAPI decoder for 12bit 4:2:0, 12bit 4:2:2, 10bit 4:4:4 and 12bit 4:4:4
    respectively.

    As with the already supported Y210 and YUVX (XVUY) formats, they are
    based on formats Microsoft picked as their preferred 4:2:2 and 4:4:4
    video formats, and Intel ran with it.

    P12 and Y212 are simply an extension of 10 bit formats to say 12 bits
    will be used, with 4 unused bits instead of 6.

    XV30, and XV36, as exotic as they sound, are variants of Y410 and Y412
    where the alpha channel is left formally undefined. We prefer these
    over the alpha versions because the hardware cannot actually do
    anything with the alpha channel and respecting it is just overhead.

    Y412/XV46 is a normal looking packed 4 channel format where each
    channel is 16bits wide but only the 12msb are used (like P012).

    Y410/XV30 packs three 10bit channels in 32bits with 2bits of alpha,
    like A/X2RGB10 style formats. This annoying layout forced me to define
    the BE version as a bitstream format. It seems like our pixdesc
    infrastructure can handle the LE version being byte-defined, but not
    when it's reversed. If there's a better way to handle this, please
    let me know. Our existing X2 formats all have the 2 bits at the MSB
    end, but this format places them at the LSB end and that seems to be
    the root of the problem.

    • [DH] doc/APIchanges
    • [DH] libavutil/pixdesc.c
    • [DH] libavutil/pixfmt.h
    • [DH] libavutil/version.h
    • [DH] tests/ref/fate/imgutils
    • [DH] tests/ref/fate/sws-pixdesc-query
  • 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 !

  • 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.

    &#xA;

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

    &#xA;

    I managed to do it using the following command :

    &#xA;

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

    &#xA;

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

    &#xA;

    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 :

    &#xA;

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

    &#xA;

    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.

    &#xA;

    Any ideas if there are ffmpeg experts here ?

    &#xA;