Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (20)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (5104)

  • Anomalie #4562 : Suite #4468 : Unification des CSS pour les boutons et les icônes

    10 février 2021

    Les grands principes de séparation entre la forme et le contenu, oui ok d’accord.

    Mais t’as bien vu que l’objet de cette proposition, c’est justement d’accepter de faire un compromis pour simplifier la vie de tout le monde : à la fois pour maintenir le truc et à la fois quand on veut les utiliser dans le core et les plugins.
    Le constat de départ je rappelle, c’est qu’actuellement c’est bien des classes sémantiques-tout-ça, mais au prix de circonvolutions hypers lourdes dans le css (t’as jeté un coup d’oeil à boutons.css ?).

    Si on est pas content des quelques icônes qui peuvent se ballader d’office dans certains formulaires ou bouts de squelettes, on règle ça en 1 ligne de CSS hein : .icone-spip { display: none }
    Ou même si on veut les garder et les surcharger : .icone-spip svg { display: none } et voilà.
    Ça me semble pas un très gros prix à payer.

  • Create 4K video with Mjpeg codec in ffmpeg

    25 novembre 2018, par Sulli

    I’m trying to produce a simple 6 seconds video clip by zooming on an image (.mov output, mjpeg codec). I can get this command to work when I set the output to be 1920x1080 :

    ffmpeg -y -r 25 -nostdin -loop 1 -i input.jpg -vf "zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'" -c:v mjpeg -qscale:v 1 -t 6 -s "1920x1080" "test/output.mov"

    but it’s not working anymore when I set the output to be 4K (3840x2160) : the command hangs, is killed or produces a corrupted output.

    My input.jpg resolution is 4240x2832.

    What am I missing ?

    Edit : here is the full log :

    ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
     libavutil      54. 31.100 / 54. 31.100
     libavcodec     56. 60.100 / 56. 60.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 40.101 /  5. 40.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    [mjpeg @ 0x151da00] Changeing bps to 8
    Input #0, image2, from 'input.jpg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 760992 kb/s
       Stream #0:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 4240x2832, 25 tbr, 25 tbn, 25 tbc
    [swscaler @ 0x153cf80] deprecated pixel format used, make sure you did set range correctly
    Output #0, mov, to 'test/output.mov':
     Metadata:
       encoder         : Lavf56.40.101
       Stream #0:0: Video: mjpeg (jpeg / 0x6765706A), yuvj444p(pc), 3840x2160, q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
       Metadata:
         encoder         : Lavc56.60.100 mjpeg
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> mjpeg (native))
    [swscaler @ 0x43c82c0] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 0x43c82c0] Warning: data is not aligned! This can lead to a speedloss
    [swscaler @ 0x43c7dc0] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 0x444d0a0] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 0x444cdc0] deprecated pixel format used, make sure you did set range correctly
       Last message repeated 5 times
    [swscaler @ 0x4439e20] deprecated pixel format used, make sure you did set range correctly
       Last message repeated 6 times
    [swscaler @ 0x43df9c0] deprecated pixel format used, make sure you did set range correctly
       Last message repeated 83 times
    [output stream 0:0 @ 0x15240c0] 100 buffers queued in output stream 0:0, something may be wrong.
    [swscaler @ 0x43df9c0] deprecated pixel format used, make sure you did set range correctly
    creer_videos.sh: line 10:    18 Killed                  ffmpeg -y -r 25 -nostdin -loop 1 -i input.jpg -vf "zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'" -c:v mjpeg -qscale:v 1 -t 6 -s "3840x2160" "test/output.mov"
  • Create video from images, add audio and animation within images without FFMPEG in Android

    28 février 2017, par Vivek Bhatt

    I want to create a video from multiple images without using FFMPEG in Android. Also i have to multiple audios over it. And at last there should be some animation within each images. I have tried this using FFMPEG, but it is taking hell lot of time, let say , 4-5 min for 10 photos. Is there any other way for this or any efficient way ?

    There is 3 way process.

    1. First i create video from each image with audio and added text.
    2. Then i concatenate all the videos into a single video.
    3. At last, i add a background audio to the concatenated video.

    I am sharing the commands here :

    1.
    String[] cmds = "-y"
    , "-r", "1", "-vcodec", "mjpeg" ,"-loop", "1", "-t", "1"
    , "-i", image
    , "-i", audio
    , "-vf"
    , "zoompan=z=’if(lte(zoom,1),1.1,max(1.001,zoom-0.0015))’:d=125,drawbox=y=ih/PHI:color=black@0.4:width=iw:height=120:t=max,drawtext=fontfile=/storage/emulated/0/ffmpeg/font.ttf:text="+text+":fontcolor=white:fontsize=60:x=(w-tw)/2:y=(h/PHI)+th"
    , "-c:v", "libx264"
    , "-preset", "ultrafast", "-t", "5", "-c:a", "aac", "-b:a", "128k", "-pix_fmt", "yuv420p"
    , "video1.mp4"
     ;

    2.

    String cmd = "-y -i video1.mp4 -i video2.mp4 -i video3.mp4 -filter_complex concat=n=3:v=1:a=1 -preset ultrafast concat_video.mp4 ;

    3.

    cmd = "-y -i bg_audio.mp3 -i concat_video.mp4 -shortest -preset ultrafast -filter_complex [a1][a2]amerge,pan=stereo:c0