Advanced search

Medias (91)

Other articles (20)

  • Les formats acceptés

    28 January 2010, by

    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 February 2011, by

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

  • Les vidéos

    21 April 2011, by

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

On other websites (4219)

  • FFmpeg cannot recognize a preset even though it does exist Ubuntu 12.04

    6 September 2017, by Ahmad Tahboub

    I have installed ffmpeg and x264 folloowing the steps in this documentation :http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide

    Now I have this line to execute :

    sudo /usr/bin/ffmpeg -i input_file.flv -f flv -vcodec libx264 -vpre normal -r 25 -s 0x0 -aspect 1.7777777777778 -padcolor 000000 -padtop 0 -padbottom 0 -padleft 0 -padright 0 -acodec libfaac -ab 128000 -ar 22050 output_file.flv

    Input #0, flv, from 'WIN! Jwow.flv':
     Metadata:
       starttime       : 0
       totalduration   : 101
       totaldatarate   : 865
       bytelength      : 10897460
       canseekontime   : true
       sourcedata      : BD58B2E43HH1338284027987695
       purl            :
       pmsg            :
     Duration: 00:01:40.66, start: 0.000000, bitrate: 877 kb/s
       Stream #0.0: Video: h264 (Main), yuv420p, 640x360, 745 kb/s, 29.97 tbr, 1k tbn, 59.94 tbc
       Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 131 kb/s
    **File for preset 'normal' not found**

    I have the presets in the the following directories:

    /usr/share/ffmpeg
    /usr/local/share/ffmpeg
    /home/user/.ffmpeg
    /usr/local/src/ffmpeg/presets

    And still getting the same error: File for preset ’normal’ not found

    What is the problem here?

    Extra info - this is what i get when i do ffmpeg -version

    ffmpeg version git-2012-05-31-60de761
    built on May 31 2012 15:54:11 with gcc 4.6.3
    configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
  • How to make timelapse with ffmpeg from files with date-time names?

    4 November 2019, by LA_

    I understand how to make timelapse video from the sequence of files.
    But what if my files have names like YYYYMMDDHHmmSS.jpg? How can I pass them in the correct order? I would prefer not to rename them (there are 55’000 files, almost 10 Gb).

  • Android: mp4 file plays when downloaded but when choosing "Video" player gets "Cannot play video"

    11 July 2019, by gview

    I’ve converted the video to an mp4 with ffmpeg using the h264 codec and AAC, and used the baseline profile.

    Videos are 540x360x250kbps

    I then ran qt-faststart on the file to move the atoms into the right order.

    I’ve stuck the file up on a wiki we use and created a link to it.

    My test phone is a Samsung Galaxy S3.

    When I browse to the page that has links to the mp4’s on it, and I click on them, I get a popup window with 2 options: Internet and Video.

    If I download the videos using the "Internet" option, I can play them on the phone without issue.

    I’ve done other encodings with the main profile as well, and these also play fine. I thought that a powerful phone like the s3 would be able to handle the more advanced compression schemes available in h264, however I’ve also browsed the Android docs in regards to supported video formats, and it seems to state that only the "baseline" compression profile is supported.

    Regardless, what doesn’t work is trying to use the "Video" option which I assume tries to stream the video.

    For the wiki in question, clicking on the link reveals that the content-type and content-length headers are being set:

    Content-Length  6175996
    Content-Type    video/mp4;charset=UTF-8

    Clicking on the link with a browser invokes a player (Quicktime in most cases) that can play the mp4’s.

    Is there more to having the file HTTP streamable beyond making a link to it? Why won’t my Android 4 play these files?

    UPDATE:
    I decided to make a quick HTML5 page using the video tag, and the videos do play on both my Galaxy S3 and the latest IOS.