Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (38)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

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

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (7256)

  • Move converted file after each encode and delete original file on Ubuntu

    24 septembre 2018, par TinyTim

    I encode in batch and would like it to move the converted file to another directory after completing each encode and delete the original file.

    Here is my current bash I use to convert using FFMPEG.

    #!/bin/bash
    for i in *.mkv;
    do
    #Output new files by prepending "X265" to the names  
    ffmpeg -threads 32 -i "$i" \
      -c:v libx265 -preset medium -crf 20 -pix_fmt yuv420p10le \
      -c:a ac3 -b:a 128k \
      -c:s copy \
      -map 0:0 \
      -map 0:1 \
      -map 0:2 \
      -x265-params "bframes=6:no-sao:frame-threads=3:numa-pools:8:slices=5:interlace=0:ref=6:rd=1:rect:analysis-reuse-mode:analysis-reuse-level=10:refine-mv:me=2:merange=64:rc-lookahead=60:b-adapt=2" \
      -max_muxing_queue_size 4000 X265_"$i"
    done

    Appreciate any help in advance.

  • avformat/libopenmpt : Probe file format from file data if possible

    21 février 2018, par Jörn Heusipp
    avformat/libopenmpt : Probe file format from file data if possible
    

    When building with libopenmpt 0.3, use the libopenmpt file header
    probing functions for probing. libopenmpt probing functions are
    allocation-free and designed to be as fast as possible.

    For libopenmpt 0.2, or when libopenmpt 0.3 file header probing cannot
    probe successfully due to too small probe buffer, test the filename
    against the file extensions supported by the libopenmpt library that
    is actually linked, instead of relying on a hard-coded file extension
    list. File extension testing is also allocation-free and designed to
    be fast in libopenmpt. Avoiding a hard-coded file extension list is
    useful because later libopenmpt versions will likely add support for
    more module file formats.

    libopenmpt file header probing is tested regularly against the FATE
    suite and other diverse file collections by libopenmpt upstream in
    order to avoid false positives.

    FATE passes with './configure —enable-libopenmpt' as well as with
    './configure —enable-libopenmpt —enable-libmodplug'.

    libopenmpt probing adds about 5%..10% cpu time (depending on precise
    usage pattern and host CPU and compiler version used for libopenmpt)
    compared to all current internal FFmpeg probing functions combined in
    tools/probetest for all of its module formats combined (currently 41
    modules formats in libopenmpt 0.3.4 and 234 file formats in FFmpeg).

    Signed-off-by : Jörn Heusipp <osmanx@problemloesungsmaschine.de>
    Reviewed-by : Josh de Kock <josh@itanimul.li>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/libopenmpt.c
  • Write, with ffmpeg, every 30 seconds wav file from ip stream to file.temp and change the name to timestamp.wav after

    18 juillet 2018, par Eliya

    I’m using ffmpeg to record IP stream and write every 30 seconds to wav file.

    Here is my bash script code :

    #!/bin/bash
    function start_ffmpeg_stream ()
    {
       address=$1 #This is IP stream address
       ffmpeg_option=$2 # "?overrun_nonfatal=1&amp;fifo_size=250000"
       folder_name=$3 #folderName
       channel_number=$4 #i
       #local pid      
       ffmpeg  -loglevel 8 -thread_queue_size 1500 -i "$address$ffmpeg_option" -c copy\
           -vn -f segment -segment_time 30 -ar 8000 -acodec pcm_s32le -ac 1 -strftime 1 /"$folder_name"/"X$channel_number""_""%s.wav"&amp;    
       pid=$!
       echo "$Start ffmpeg, pid is - $pid"
       __="$pid"
    }
    ffmpegOptions="?overrun_nonfatal=1&amp;fifo_size=250000"
    folderName="/wav_files"
    start_ffmpeg_stream "udp://224.10.0.1"  "$ffmpegOptions" "$folderName" "1"

    Now the wav file name is like "X000001_unix_time_stamp.wav".

    I want to write the file name in writeing time something like "X000001_unix_time_stamp.temp"

    And when the 30 seconds done and the FFmpeg finish to write this 30 seconds, I want that FFmpeg changes the name to "X000001_unix_time_stamp.wav"

    And keep writing next 30 seconds.

    The only change that i want is, when FFmpeg writing it write in temp name and after FFmpeg finish to write it change the name.

    It’s seem to case when i donloaded a file so until the donload not finish the file has a temp name and when it done the name change to const name.