Recherche avancée

Médias (91)

Autres articles (81)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

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

  • position subtitles in the middle of the video height using ffmpeg

    9 août 2023, par Maor Cohen

    Assume my video resolution is 848x480. I add subtitles on the video and I want it to be positioned on the middle of the video. How to do it ?

    


    ffmpeg -y -i video.mp4 -filter_complex [0:v]subtitles='subtitles.srt:force_style='FontName=opensans_extrabold',fontsize=30' -c:a copy -preset superfast -y output.mp4

    


    This command positions the subtitles at the bottom of the video. I tried using marginV=240 (half of the height) and it positions the subtitles on the top of the video

    


    Edit : I can use Alignment=10 but I want to control the height by pixels and not always in the middle

    


  • FFMPEG - height not divisible by 2

    27 septembre 2019, par iSaBo

    i have an problem with ffmpeg. i would like to format a image sequence into a video. I use the followed command for this :

    ffmpeg -framerate 24 -i image%04d.jpeg Project.mp4 -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2"

    i have 4 pictures :

    • image0001.jpeg
    • image0002.jpeg
    • image0003.jpeg
    • image0004.jpeg

    With this command, i get the following error :

    [libx264 @ 000001f12e7a0540] height not divisible by 2 (1200x1599)
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe
    incorrect parameters such as bit_rate, rate, width or height
    Conversion failed!

    Can someone tell me why this mistake comes and how can I fix it ?

    Thanks

  • Append video files of different width, height

    28 novembre 2013, par Jatin

    I am building an application where user can record a screencast. Integral part of application is that, one can pause recording and resume it later any time (the session is maintained on server side).

    So say when user starts recording the screen, the width and height is :1024*768. Using xuggler (java wrapper for ffmpeg), I am able to generate a video. But say later he is on a different system and wishes to resume screen cast, then resolution changes to 1080 * 720. At this stage, I record it seperately and then try merging two files. But because the width & height are not same, I get the below exception :

    16:38:03.916 [main] WARN com.xuggle.xuggler - Got error : picture is
    not of the same width as this Coder
    (../../../../../../../csrc/com/xuggle/xuggler/StreamCoder.cpp:1430)
    Exception in thread "main" java.lang.RuntimeException : failed to
    encode video

    What is the best way to solve this Issue. The user can be on screen with different width and height. How do I merge (or any other alternatives, probably append) video files of different width and height ?