Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (102)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (6525)

  • I want to use C# to get the first frame of a video as a preview image of the video without using ffmpeg to achieve it [closed]

    19 avril 2023, par anton

    I have some video files here. My client asked me to edit and format these video files and some text content and display them. Of course, C# is required. Since ffmpeg has 100+ mb, it's too big. Is there any other alternative or other more portable three-party library ?

    


    I'm using ffmpeg now, but it's too big, it needs to be started from the command line, and it can't be packaged perfectly with fody.

    


    I wonder if there is a more lightweight or embedded way to replace it to get the first frame of the video as a preview of the video

    


    I'm using winform not WPF

    


  • Calculate VMAF score while encoding a video with FFmpeg

    31 octobre 2024, par user8071576

    I have an ffmpeg version built with VMAF library. I can use it to calculate the VMAF scores of a distorted video against a reference video using commands like this :

    


    ffmpeg -i distorted.mp4 -i original.mp4 -filter_complex "[0:v]scale=640:480:flags=bicubic[main];[main][1:v]libvmaf=model_path=model/vmaf_v0.6.1.json:log_path=log.json" -f null -


    


    Now, I remember there was a way to get VMAF scores while performing regular ffmpeg encoding. How can I do that at the same time ?

    


    I want to encode a video like this, while also calulate the VMAF of the output file :

    


    ffmpeg -i original.mp4 -crf 27 -s 640x480 out.mp4


    


  • ffmpg - Overlay merged video from a bunch of small videos on another video

    31 août 2022, par Krishna Chebrolu

    I have a situation where 3-4 small 5secs video clips to be merged and placed at a specific point in time of another video within a fixed frame of 800x600.

    


    For example, main video is of 40 secs of 1280x720 resolution and have 4 small clips of 5 secs each to be placed in a frame of 800x600 from 10 to 30 secs one after the other (or) merge them before placing within the frame.

    


    I tried multiple filters and failing to get the required output.

    


    ffmpeg -y -i bg.mp4 -i c0.mp4 -i f.mp4 -filter_complex "split [main][tmp]; [tmp][1:v][1:a][2:v][2:a]concat=n=2:v=1:a=1[tmp1]; [main][tmp1] overlay=enable='between(t,10,24)':x=50:y=50[v]; [v]drawtext=enable='between(t,26,29)':font='DejaVu Serif':text='Kris Cheb':x=(w-tw)/2:y=((h-text_h)/4): fontsize=80: fontcolor=white, drawtext=enable='between(t,27,29)':text='Awesome Work..':x=(w-tw)/2:y=(((h-text_h)/3)+20): fontsize=38: fontcolor=white, drawtext=enable='between(t,27,29)':text='Congratulations!!':x=(w-tw)/2:y=(((h-text_h)/2)+10): fontsize=38: fontcolor=white"[v] -map [v] out.mp4


    


    Of course, in the above command, I'm yet to add scale with force_original_aspect_ratio=decrease filter and associated attributes.

    


    Could someone please suggest how to achieve this with ffmpeg ?

    


    Thanks

    


    [EDIT-1] :

    


    To overcome this issue, as an alterative, I had split bg.mp4 into multiple segments intro.mp4, outro.mp4 & frame.png and concatenated them with the following command, which is working fine. Of course, there is slight deviation from original requirement of placing c0.mp4 & f.mp4 as overlay in the middle segment and now frame.png is being used as overlay on these middle segment clips.

    


    ffmpeg -y -i intro.mp4 -i c0.mp4 -i f.mp4 -i outro.mp4 -i frame.png &#xA;-filter_complex "[0:v][0:a][1:v][1:a][2:v][2:a][3:v][3:a]concat=n=4:v=1:a=1[vv][a];&#xA;[vv][4:v]overlay=enable=&#x27;between(t,4,16)&#x27;:x=0:y=0[v];&#xA;[v]drawtext=text=&#x27;NAME&#x27;: font=&#x27;Serif&#x27;:fontsize=70: fontcolor=white: x=((w-tw)/2):y=(((h-text_h)/4)&#x2B;10):enable=&#x27;between(t,16,20)&#x27;, &#xA;drawtext=text=&#x27;TEXT2&#x27;:font=&#x27;Serif&#x27;:fontsize=40: fontcolor=black:x=((w-tw)/2): y= ((h/2)&#x2B;30):enable=&#x27;between(t,16,20)&#x27;,&#xA;drawtext=text=&#x27;<text3>&#x27;:font=&#x27;Serif&#x27;:fontsize=40: fontcolor=black:x=((w- &#xA;tw)/2):y=((h/2)&#x2B;70):enable=&#x27;between(t,16,20)&#x27;[v]" -vsync 2 -map &#xA;[v] -map [a] out.mp4&#xA;</text3>

    &#xA;

    But, need help in replacing the audio of middle segment clips c0.mp4 & f.mp4 with the audio from bgm.mp3 which will be given as a new input.

    &#xA;

    Appreciate all the help..

    &#xA;