Recherche avancée

Médias (91)

Autres articles (3)

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

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (1720)

  • configure : speed up flatten_extralibs_wrapper()

    30 juillet 2018, par Avi Halachmi (:avih)
    configure : speed up flatten_extralibs_wrapper()
    

    x50 - x200 faster.

    Currently configure spends 50-70% of its runtime inside a single
    function : flatten_extralibs[_wrapper] - which does string processing.

    During its run, nearly 20K command substitutions (subshells) are used,
    including its callees unique() and resolve(), which is the reason
    for its lengthy run.

    This commit avoids all subshells during its execution, speeding it up
    by about two orders of magnitude, and reducing the overall configure
    runtime by 50-70% .

    resolve() is rewritten to avoid subshells, and in unique() and
    flatten_extralibs() we "inline" the filter[_out] functionality.

    Note that logically, "unique" functionality has more than one possible
    output (depending on which of the recurring items is kept). As it
    turns out, other parts expect the last recurring item to be kept
    (which was the original behavior of uniqie()). This patch preservs
    its output order.

    Tested-by : Michael Niedermayer <michael@niedermayer.cc>
    Tested-by : Helmut K. C. Tessarek <tessarek@evermeet.cx>
    Tested-by : Dave Yeo <daveryeo@telus.net>
    Tested-by : Reino Wijnsma <rwijnsma@xs4all.nl>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] configure
  • ffmpeg multiple text/logo elements

    17 septembre 2018, par omega1

    I am trying to add multiple items to an ffmpeg command and am getting stuck.

    So far in the command I am automatically updating one image, which I’m using as a video, I also want to add a logo and two lines of text.

    I have been successful until the last item, which is the logo overlay.

    This is the relevant part of code :

    ffmpeg \
       -f image2 -loop 1 \
       -y \
       -i "/var/www/html/image_rotate.png" \
       -re \
       -i audio.mp3 \
       -vf "movie=/var/www/html/overlay_logo.png [watermark]; [in][watermark] overlay=0:0 [out], drawtext=fontsize=10:fontfile=/var/www/html/OpenSans-Regular.ttf:textfile=/var/www/html/text1.txt:box=1:boxcolor=#000000:fontcolor=#FFFFFF:x=0:y=(h-text_h-20):reload=1, drawtext=fontsize=10:fontfile=/var/www/html/OpenSans-Regular.ttf:textfile=/var/www/htmltext2.txt:box=1:boxcolor=#000000:fontcolor=#FFFFFF:x=0:y=(h-text_h-30)" \

    This gives me the following error :

    Simple filtergraph ... was expected to have exactly 1 input and 1 output. However, it had >1 input(s) and >1 output(s). Please adjust, or use a complex filtergraph (-filter_complex) instead.

    If I remove the last part I added (the overlay logo) I do not get the error.
    If I add multiple -vf it only processes one (the text OR the logo).

    I’m not sure how to achieve this.

  • ffmpeg : Invalid data found when processing input

    20 septembre 2018, par Rich_F

    I have a situation where ffmpeg is throwing an error :

    Invalid data found when processing input

    I’ve reviewed other answers here, but my situation is different. I generate in Ruby, a text file with a list of input files I want to concatenate together into one large video.

    I generate in Ruby, the command meant for bash, which is also output for me to manually copy :

    ffmpeg -y -f concat -safe 0 -i /Volumes/Dragon2/Yums/randoms.txt /Volumes/Dragon2/Yums/final.mp4

    Throws an error :

    /Volumes/Dragon2/Yums/randoms.txt: Invalid data found when processing input

    Here is that file :

    file '/Volumes/Dragon2/Yums/0CEDC3CA-4571-4271-9938-A161EC2A887B.mov'
    file '/Volumes/Dragon2/Yums/0D25D907-D053-443B-AFC6-9F12B1711BBF.mov'
    file '/Volumes/Dragon2/Yums/6A272808-7706-435D-801E-ACE6B42EC749.mov'
    file '/Volumes/Dragon2/Yums/6E9BA2F1-C5E7-4C1C-B290-D116105732FA.mov'
    file '/Volumes/Dragon2/Yums/0A41C7B7-74CE-484E-B029-3AE57B8BB4EA.mov'

    When bash runs it, it complains about the input file randoms.txt having invalid data. When I copy and paste the very same command in bash, it works fine. I’m stumped as to how the two are different and why ffmpeg is not happy when initiated in the shell.

    How can I get this to work ? What am I missing ? Cheers

    EDIT : Original ruby code :

    `clear`
    require 'pathname'
    require 'pp'

    s = '/Volumes/Dragon2/Yums'
    files = []

    Dir.foreach(s) do |path|
     files &lt;&lt; "#{ s }/#{ path }"  
    end

    result = files.sample(files.size)           # randomizer

    f = File.open("#{ s }/randoms.txt", 'w+')
    result.each_with_index do |item, i|
     pp "#{ i }: #{ item }" if item.include?('mov')
     f &lt;&lt; "file '#{ item }'\n" if item.include?('mov')
    end

    `echo `

    File.delete("#{ s }/final.mp4") if File.exists?("#{ s }/final.mp4")
    s = "ffmpeg -y -f concat -safe 0 -i #{ s }/randoms.txt #{ s }/final.mp4"
    puts s

    sleep 3
    `#{ s }`

    I have also tried system s as well with the same error. The syntax is generated fine, output fine, operates fine manually.