Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (59)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 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 (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (7354)

  • FFMPEG Batch Copy Metadata from "Folder1File1.mp3" to "Folder2File1.mp3" in different folders

    27 février 2020, par Vektorz

    I have two separate files in separate folders with the same name and I would like to transfer the metadata from the file in "folder1" to "folder2".
    Then I would like to add a whole bunch of files fitting this same format and batch transfer all of the metadata information.

    From a stack exchange thread I’ve tried :

    "The following script will loop through the the files in one directory, find corresponding files in a second directory and then combine these two files into a third output directory

    dir1=FIRST DIRECTORY
    dir2=SECOND DIRECTORY
    output=OUTPUT DIRECTORY
    for file in $(ls $dir1); do
     ffmpeg -i "$dir1/$file" -i "$dir2/$file" -map 1 -c copy \
      # copies all global metadata from in0.mkv to out.mkv  
      -map_metadata 0 \
      # copies video stream metadata from in0.mkv to out.mkv
      -map_metadata:s:v 0:s:v \
      # copies audio stream metadata from in0.mkv to out.mkv
      -map_metadata:s:a 0:s:a \
      "$outdir/$file"
    done"

    But for the life of me I cannot get this to work properly and it is a bit overkill. He continues on saying :

    If you want to make something reuseable you could put this in a script with the following header (remove the assignment for dir1, dir2 and output in the script above). And then call it as script.sh dir1 dir2 outdir

    #!/bin/bash
    set -x errexit # exit immediately on error
    dir1="$1"
    dir2="$2"
    output="$3"

    And I am totally lost. Can someone please help me to get this to work and walk me through it a bit easier as I’m fairly inexperienced with code/FFMPEG.

    Thank you.

  • FFmpeg playing audio slowly after conversion from AAC

    18 janvier 2014, par AnthonyM

    I'm attempting to convert an AAC audio stream for playback. I've discovered that I need to convert from AV_SAMPLE_FMT_FLTP to AV_SAMPLE_FMT_S16 but when I do so the audio plays back at about half speed.

    swr = swr_alloc();
    assert(av_opt_set_int(swr, "in_channel_layout", audioContext->channel_layout, 0) == 0);
    assert(av_opt_set_int(swr, "out_channel_layout", audioContext->channel_layout, 0) == 0);
    assert(av_opt_set_int(swr, "in_sample_rate", audioContext->sample_rate, 0) == 0);
    assert(av_opt_set_int(swr, "out_sample_rate", 44100, 0) == 0);
    assert(av_opt_set_int(swr, "in_sample_fmt", audioContext->sample_fmt, 0) == 0);
    assert(av_opt_set_int(swr, "out_sample_fmt", AV_SAMPLE_FMT_S16, 0) == 0);
    swr_init(swr);

    There is my code to convert. The input sample rate is 44100 and the audio is stereo.

    I call the code with

    swr_convert(swr, &output, aDecodedFrame->nb_samples, (const uint8_t**)aDecodedFrame->extended_data, aDecodedFrame->nb_samples) >= 0)
  • arm : vp9itxfm : Reorder iadst16 coeffs

    31 décembre 2016, par Martin Storsjö
    arm : vp9itxfm : Reorder iadst16 coeffs
    

    This matches the order they are in the 16 bpp version.

    There they are in this order, to make sure we access them in the
    same order they are declared, easing loading only half of the
    coefficients at a time.

    This makes the 8 bpp version match the 16 bpp version better.

    This is cherrypicked from libav commit
    08074c092d8c97d71c5986e5325e97ffc956119d.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavcodec/arm/vp9itxfm_neon.S