Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (80)

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

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

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (5159)

  • Targeting a specific file size in vp8+vorbis encoding using ffmpeg

    4 août 2021, par Mohammad Zamanian

    I have a couple videos that I want to encode to vp8 for video and Vorbis for audio. This is the FFmpeg command I'm currently using :

    


    ffmpeg -y -i input.mp4 -map 0:v:0 -s 640x360 -filter:v fps=20 -c:v libvpx -crf 10 -b:v 200k -map 0:a:0 -b:a 48k -c:a libvorbis output.webm


    


    I want to have control over output file size and limit it to 3MB without clipping the video, but instead, lose quality. so I cant use -fs 3MB.

    


    How can I determine the file size based on video and audio bitrates and duration ?

    


    How can I limit the file size without clipping ?

    


  • Video tube site on wordpress dedicated server mp4 only streams on android firefox

    9 mai 2015, par Steven Minix

    I have a video tube site that is quite popular and I am having an issue with my mp4 files streaming on android devices. When using Mozilla Firefox on android my videos play and seek perfectly. When using google chrome or default Android browser they do not play at all. I ran one of my videos through mp4box with a few settings and I got it to play on those browser in Android but they break when trying to seek. So at this stage the videos still play fine on Firefox in Android but now even though the video will start playing rather quickly on the other two browsers the videos will not seek properly as seeking will cause the video to break and restart itself. I am in a wordpress installation on a dedicated server.

    server specs:
    PHP 5.2.4 or greater
    MySQL 5.0 or greater
    PHP cURL extension
    PHP Zlib extension
    Unix-like OS (Windows is not supported)
    PHP 5.3, 5.4, 5.5 yes
    IonCube Loader 4.6.1 or above yes
    Mysql 5.0 or above and its support in PHP yes
    FFmpeg 1.0 or above with libx264, libavfilter and AAC codec (libfaac, libfdk_aac or native ffmpeg aac codec) yes
    cURL and its support in PHP yes
    Apache + mod_rewrite + (MultiViews option disabled) yes, not sure about multi views, please ask how this is done.
    Zlib library yes
    XML extension yes
    GD2 with true type font (required!) yes
    Ability to exec PHP from CLI using exec() command yes
    PHP register_globals off yes
    PHP magic_quotes_gpc off yes
    PHP safe_mode off yes
    PHP file_uploads on yes
    PHP allow_url_fopen on yes

    The files are MP4 with the meta data at the front of the file and playing in the standard wordpress video player(or any html5 based player as I have tried quite a few and all have the same result)

    I had to ask my server admin to install ffmpeg for my streaming is it possible they did not add the right commands ?

    I have no idea what my videos are doing on Apple devices but I assume it is okay since Google Analytics shows a low bounce rate from that devices.

    If any issue is on service side I want to contact them armed with facts. I appreciate your help in this matter.

    EDIT : FFMPEG SERVER CONFIGURATION :
    root@dwhsv160 [ /ffmpeginstaller.8.0]# ffmpeg -version
    ffmpeg version N-71403-g415f1fa-syslint Copyright (c) 2000-2015 the FFmpeg developers
    built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
    configuration : —prefix=/usr/local/cpffmpeg —enable-shared —enable-nonfree —enable-gpl —enable-pthreads —enable-libopencore-amrnb —enable-decoder=liba52 —enable-libopencore-amrwb —enable-libfaac —enable-libmp3lame —enable-libtheora —enable-libvorbis —enable-libx264 —enable-libxvid —extra-cflags=-I/usr/local/cpffmpeg/include/ —extra-ldflags=-L/usr/local/cpffmpeg/lib —enable-version3 —extra-version=syslint
    libavutil 54. 22.101 / 54. 22.101
    libavcodec 56. 34.100 / 56. 34.100
    libavformat 56. 30.100 / 56. 30.100
    libavdevice 56. 4.100 / 56. 4.100
    libavfilter 5. 13.101 / 5. 13.101
    libswscale 3. 1.101 / 3. 1.101
    libswresample 1. 1.100 / 1. 1.100
    libpostproc 53. 3.100 / 53. 3.100

    The few things I tried with the mp4 that got them to play but still not seek properly were running them through mp4box with no special settings and simply remuxing them. I also tried a couple special settings like adding a hint track and other things none resulted in the file streaming properly in chrome or default android browser. AGAIN my files stream fine on all desktops and in FIREFOX on android but DO NOT work in chrome on android or default android browser.

  • H.264 adds broken still frames to the end

    14 mai 2015, par Panupat

    I’ve been using ffmpeg to encode raw AVI into H.264 MP4 for about 2 years without problem. However, in my recent project we’re using 60 fps for the first time and face some weird results.

    Here’s an example file. It has 82 frames. FFMPEG would produce the correct result from frame 1 to 82. Here’s a capture at frame 82.

    http://imgur.com/VCIcoVH

    Then, we get this still frame added to the end, from frame 83 to 157.

    Am I doing something wrong in my command ? I tried with almost no options.

    ffmpeg -y -i "C:\tmp\uncompressed.avi" -r 60 -vcodec libx264 "C:\tmp\compressed.mp4"

    Tried a couple different options, the problem still occurs.

    ffmpeg -y -i "C:\tmp\uncompressed.avi" -r 60 -vcodec libx264 -keyint_min 12 -vb 4000k -vprofile high -pix_fmt yuv420p -f mp4 "C:\tmp\compressed.mp4"

    Tried with FFmpeg Win64 Static and Shared build by Kyle Schwarz.

    Appreciate any help, thank you !