Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (104)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (6473)

  • A Digital Media Primer for Geeks

    24 septembre 2010, par noreply@blogger.com (John Luther)

    Our friend Monty Montgomery (creator of the Vorbis audio codec used in WebM) has started a video series about digital media. The first episode is an excellent overview of "the technical foundations of modern digital media."

    You can stream WebM versions of the video in your favorite WebM-enabled browser or download it to your desktop and watch it one of many WebM-enabled media players. Supported browsers and players are listed on our site.

    There’s also a companion Wiki.

  • How to calculate the "Range" header for mp4 file to play/download a part of it ? [youtube-dl]

    5 décembre 2016, par supersan

    I’m using youtube-dl to download videos from YouTube. Unfortunately, sometimes I just need to download a part of the video like 10 seconds of a 3 hour video and here is how I see I can do it.

    Step 1 : Get the URL of the mp4 file from youtube-dl.

    youtube-dl -g -f "[ext=mp4]" https://www.youtube.com/watch?v=qOZ1u9VpoMk

    This returns $url : the full URL of mp4 file on server.

    Step 2 : Download part of the video using curl

    curl -r $startBytes-$endBytes $url

    But how to calculate $startBytes and $endBytes. What is the formula for that ?

    P.S I was thinking could be something as simple but this isn’t it..

    $startBytes = (total_size_of_video / total_length_of_video_secs) * start_seconds

    P.P.S. When I play the mp4 video in Chrome and use the scrub bar to jump around in the video, Chrome too send the Range header to the same URL (as I can see in fiddler)

  • Animated Gif using PHP 5 and ffmpeg [closed]

    1er décembre 2012, par user1828200

    I make an Animated Gif, by download a video from youtube with youtube-dl and then convert it into AVI with ffmpegand then make animated gif through convert. It works, but speed is very slow.

    Here is my code

    Youtube Download :

    shell_exec("youtube-dl -o JNJNoaIU7qs.flv --format=5 --audio-quality=9 http://www.youtube.com/watch?v=JNJNoaIU7qs);

    Convert to AVI , because I want to make Small Gif so time manipulation is not done with youtube-dl thats why i convert avi with time manipulation

    shell_exec("ffmpeg -i JNJNoaIU7qs.flv -sameq -ss 00:00:5 -t 00:00:10 JNJNoaIU7qs.avi");

    Make Gif

    shell_exec("convert -quiet -delay 0  JNJNoaIU7qs.avi JNJNoaIU7qs.gif");

    It creates the GIF files, but it is very slow, how can I increase the speed of conversion ?