Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (54)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (6316)

  • How to rip a movie-DVD using cmd-line FFMPEG

    19 octobre 2022, par David

    I'm trying to use the cmd-line FFMPEG pgm, to rip a movie-DVD into either a MP4 or MKV container, on Windows-OS. (Please do NOT tell
me to use some other GUI-based pgm, as so many of the other articles
do.)

    


    The part of the ffmpeg command that I can't determine, is just
what syntax to use to reference the DVD-drive as the input. (I've
looked in the FFMPEG documentation, but I can't see the forest
for the trees.)

    


    [Edit :]So I did some more google-searches and found an article on using VLC for this task.
Since I already had VLC installed, this approach
seemed worth trying. That article is here : https://www.howtogeek.com/howto/2696/how-to-rip-dvds-with-vlc/
(Stay tuned for further updates on my progress.)

    


  • Cannot use input file in filter_complex_script (movie filter)

    28 juin 2022, par Nick Gammon

    I am trying to edit some video footage using ffmpeg rather than a GUI editor.

    


    This example works, to read a PNG file and overlay a resized video on top of it :

    


    ffmpeg -y \
 -loop 1 -i 'Title.png' \
 -i 'Presentation.mp4' \
 -filter_complex_script 'my.nodes'  \
 -map "[video]" -map 1:a -codec:a copy output.mkv


    


    The file my.nodes contains :

    


    [1:v]scale=430:240[a];
[1:v]scale=1280:720[b];
[0:v][a]overlay=0:0[c];
[c][b]overlay=overlay_w*2:overlay_h:shortest=1[video]


    



    


    However rather than referring to the input files as numbers (1:v etc.) I wanted to use the "movie" filter to input the files as a source filter, like this :

    


    ffmpeg -y \
 -filter_complex_script 'my_improved.nodes'  \
 -map "[video]" output.mkv


    


    The file my_improved.nodes contains :

    


    movie=Title.png[title];
movie=Presentation.mp4[talk];
[talk]scale=430:240[a];
[talk]scale=1280:720[b];
[title][a]overlay=0:0[c];
[c][b]overlay=overlay_w*2:overlay_h:shortest=1[video]


    


    This gives the error :

    


    Invalid file index 0 in filtergraph description movie=Title.png[title];
movie=Presentation.mp4[talk];
[talk]scale=430:240[a];
[talk]scale=1280:720[b];
[title][a]overlay=0:0[c];
[c][b]overlay=overlay_w*2:overlay_h:shortest=1[video]
.


    



    


    How can I embed video/image names into the filter itself ?

    


  • How to concatenate .mp4 files into one 4x4 movie using -ffmpeg- ?

    7 août 2021, par Clive Nicholas

    How should I best concatenate 16 separate .mp4 files into one 4x4 movie using -ffmpeg- ?

    


    I have workable code to create 2x2 movies (with changeable optional flag calls), with four equally-sized files, thus :

    


    ffmpeg -i foo1.mp4 -i foo2.mp4 -i foo3.mp4 -i foo4.mp4 \ 
 -filter_complex \
   "[0:v][1:v]hstack[t]; \
    [2:v][3:v]hstack[b]; \
    [t][b]vstack,format=yuv420p[v]; \
    [0:a][1:a][2:a][3:a]amerge=inputs=4[a]" \
-map "[v]" \ 
-map "[a]" \
-ac 2 -c:v libx264 \
foo.mp4


    


    and with four unequally-sized files, thus :

    


    ffmpeg -i foo1.mp4 -i foo2.mp4 -i foo3.mp4 -i foo4.mp4 \
 -filter_complex \
   "[0:v]scale=640:360[v0]; \
    [1:v]scale=640:360[v1]; \
    [2:v]scale=640:360[v2]; \
    [3:v]scale=640:360[v3]; \
    [v0][v1]hstack[t]; \
    [v2][v3]hstack[b]; \
    [t][b]vstack,format=yuv420p[v]; \
    [0:a][1:a][2:a][3:a]amerge=inputs=4[a]" \
-map "[v]" \
-map "[a]" \
-c:v libx264 -crf 23 \
-c:a aac -b:a 192k \
foo.mp4


    


    There is a solution posted here for splitting a single movie file into 16 4x4 pieces, but naturally I want to do the opposite ! I can't quite work out in my own mind how I can knit together the necessary elements from my 2x2 code routines and the 4x4 split code into a satisfactory 4x4 solution. It may well be that the 16 individual movie files each have to be re-scaled downwards.

    


    Any ideas would be gratefully received, especially coding solutions which are readily tweakable to any matrix combination (e.g., 3x3, 5x5, etc).

    


    Thanks very much, Clive