Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (96)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (10663)

  • 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=)