Recherche avancée

Médias (0)

Mot : - Tags -/images

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

Autres articles (96)

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

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

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

Sur d’autres sites (11121)

  • PHP ffmpeg how give information about video file if binary path /usr/bin/ffmpeg ? [closed]

    19 septembre 2012, par John Smith

    Tell me please how give information about video file if binary path /usr/bin/ffmpeg ? me need code on php. Found not give results for this question...

  • avformat/img2dec : add option to provide metadata fields related to input path

    1er janvier 2020, par Alexandre Heitor Schmidt
    avformat/img2dec : add option to provide metadata fields related to input path
    

    libavformat/img2.h : New field export_path_metadata to
    VideoDemuxData to only allow the use of the extra metadata
    upon explicit user request, for security reasons.

    libavformat/img2dec.c : Modify image2 demuxer to make available
    two special metadata entries called lavf.image2dec.source_path
    and lavf.image2dec.source_basename, which represents, respectively,
    the complete path to the source image for the current frame and
    the basename i.e. the file name related to the current frame.
    These can then be used by filters like drawtext and others. The
    metadata fields will only be available when explicitly enabled
    with image2 option -export_path_metadata 1.

    doc/demuxers.texi : Documented the new metadata fields available
    for image2 and how to use them.

    doc/filters.texi : Added an example on how to use the new metadata
    fields with drawtext filter, in order to plot the input file path
    to each output frame.

    Usage example :

    ffmpeg -f image2 -export_path_metadata 1 -pattern_type glob
    -framerate 18 -i '/path/to/input/files/*.jpg'
    -filter_complex drawtext="fontsize=40:fontcolor=white :
    fontfile=FreeSans.ttf:borderw=2:bordercolor=black :
    text='%metadata\:lavf.image2dec.source_basename\:NA':x=5:y=50"
    output.avi

    Fixes #2874.

    Signed-off-by : Alexandre Heitor Schmidt <alexandre.schmidt@gmail.com>
    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] doc/demuxers.texi
    • [DH] doc/filters.texi
    • [DH] libavformat/img2.h
    • [DH] libavformat/img2dec.c
    • [DH] libavformat/version.h
  • How give information about file with binary path /usr/bin/ffmpeg ? [closed]

    19 septembre 2012, par John Smith

    How give information about file with binary path /usr/bin/ffmpeg ?

    Peoples its not answer - its code for help all peoples-)

    Long time i search the correct code, now i write here. Washes it be useful to someone.

    1) get duration file

    ob_start();
    passthru("ffmpeg-9260.exe -i \"". $videofile . "\" 2>&amp;1");
    $duration = ob_get_contents();
    ob_end_clean();


    preg_match(&#39;/Duration: (.*?),/&#39;, $duration, $matches);
    $duration = $matches[1];
    $duration_array = split(&#39;:&#39;, $duration);
    $duration = $duration_array[0] * 3600 + $duration_array[1] * 60 + $duration_array[2];
    $time = $duration * $percent / 100;
    $time = intval($time/3600) . ":" . intval(($time-(intval($time/3600)*3600))/60) . ":" . sprintf("%01.3f", ($time-(intval($time/60)*60)));

    2) get a picture of a particular frame of the video (flv or avi or another)

    ffmpeg -i video.avi -an -ss 00:01:30 -r 1 -vframes 1 -s 320×240 -y -f mjpeg screenshot.jpg

    3) how to convert video file to format .ogg

    a) ffmpeg -an -deinterlace -s 400×300 -r 20.00 -i CapeCodMarsh.avi -vcodec rawvideo -pix_fmt yuv420p -f rawvideo – |  ffmpeg -an -f rawvideo -s 400×300 -r 20.00 -i – -f yuv4mpegpipe – |  libtheora-1.0/lt-encoder_example –video-rate-target 512k – -o tmp.ogv

    b)ffmpeg -y -i CapeCodMarsh.avi -vn -acodec libvorbis -ac 2 -ab 128k -ar 44100 audio.ogg

    4) How I can get this value for the buffer ?

    var v = document.getElementById(&#39;file_id&#39;);
    var r = v.buffered.end(0);

    Enjoy=)