Recherche avancée

Médias (0)

Mot : - Tags -/flash

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (46)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (9342)

  • fix scalarproduct_and_madd_int16_altivec() for orders > 16

    24 mai 2013, par Kostya Shishkov
    fix scalarproduct_and_madd_int16_altivec() for orders > 16
    

    the second and third sources were incremented only by half of the needed size

    • [DBH] libavcodec/ppc/int_altivec.c
  • 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)