Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (98)

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

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (9208)

  • Blank video as the result of converting from bmp ffmpeg [duplicate]

    1er juin 2021, par Артур Клочко

    


    Update

    


    I'm sorry, as I wrote I tried to play video via different variants and got nothing, but now I send it to myself via Telegram app, and it displays there correctly. It plays via Chrome also. Seems it is not the ffmpeg problem.

    


    I uploaded it to my site, if you are not aware, please check it via stupid uwp app or Windows Media player if you are using Windows, and if you have the same problem, please feedback and I will report it as a bug

    


    https://okumaima.com/cave.mp4

    



    


    Recently I have been using ffmpeg to convert jpg file set to mp4, and it was successfully. I used the next .bat file to do it :

    


    ffmpeg -framerate 60 -i out\%%d.jpg render.mp4


    


    Now, I am trying to do the same, but with bmp files, generated as screenshots using WinApi. Images as themselves are absolutely correct - I can open them via photos app, or anything else. Images resolution is constant and equals 2002x773.

    


    So now I am using the same .bat to make video :

    


    ffmpeg -framerate 60 -i out\%%d.bmp render.mp4


    


    It generates a tiny-size video (17 kb, for 10 bmp images, 5 mb each), that is opening by UWP video app or Windows Media program, but nothing is happening - no errors, yet no video length. If there are more images, the result video size also increases, but the video still doesn't play.

    


    Full output from ffmpeg :

    


    ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20200122
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, image2, from 'rnd\%d.bmp':
  Duration: 00:00:00.17, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: bmp, bgra, 2002x773, 60 tbr, 60 tbn, 60 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (bmp (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 052fed40] using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2
[libx264 @ 052fed40] profile High 4:4:4 Predictive, level 4.2, 4:4:4, 8-bit
[libx264 @ 052fed40] 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'caev.mp4':
  Metadata:
    encoder         : Lavf58.29.100
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 2002x773, q=-1--1, 60 fps, 15360 tbn, 60 tbc
    Metadata:
      encoder         : Lavc58.54.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame=   10 fps=0.0 q=-1.0 Lsize=      16kB time=00:00:00.11 bitrate=1142.4kbits/s speed=0.151x
video:15kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 6.097639%
[libx264 @ 052fed40] frame I:1     Avg QP:18.80  size:  6840
[libx264 @ 052fed40] frame P:4     Avg QP:25.73  size:  1517
[libx264 @ 052fed40] frame B:5     Avg QP:35.54  size:   426
[libx264 @ 052fed40] consecutive B-frames: 20.0% 40.0%  0.0% 40.0%
[libx264 @ 052fed40] mb I  I16..4: 21.1% 76.3%  2.6%
[libx264 @ 052fed40] mb P  I16..4:  0.6%  0.3%  0.3%  P16..4:  0.9%  0.6%  0.1%  0.0%  0.0%    skip:97.0%
[libx264 @ 052fed40] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  4.0%  0.2%  0.0%  direct: 0.0%  skip:95.6%  L0:34.5% L1:64.6% BI: 0.9%
[libx264 @ 052fed40] 8x8 transform intra:73.8% inter:10.2%
[libx264 @ 052fed40] coded y,u,v intra: 1.8% 1.5% 1.5% inter: 0.1% 0.1% 0.1%
[libx264 @ 052fed40] i16 v,h,dc,p: 52% 47%  1%  0%
[libx264 @ 052fed40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 47% 45%  8%  0%  0%  0%  0%  0%  0%
[libx264 @ 052fed40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 31% 32%  3%  0%  1%  2%  5%  2%
[libx264 @ 052fed40] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 052fed40] ref P L0: 75.8%  4.1% 15.8%  4.3%
[libx264 @ 052fed40] ref B L0: 63.5% 34.8%  1.7%
[libx264 @ 052fed40] ref B L1: 97.6%  2.4%
[libx264 @ 052fed40] kb/s:721.78


    


  • Anomalie #4813 : Liens "(+) Plus d’info" et "(-) Moins d’info"

    7 juin 2021

    Pour l’instant le + et le moins c’est faute de mieux en attendant les icônes symboliques.
    Il faut imaginer que dans l’avenir ça sera remplacé par une icône caret ou autre, qui montrera proprement que le truc est dépliable.

    Les outlines servent uniquement pour l’accessibilité à la prise de focus. Si dans certaines situations ça fait pas très "joli", c’est pas bien grave, c’est pas le but premier. Là on est dans un groupe de boutons, seules les extrémités ont des arrondis.

    Nb : c’est exactement pareil que dans bootstrap, si tu met .btn-link au lieu de .btn-primary dans le 1er exemple, tu auras le même résultat : https://getbootstrap.com/docs/5.0/components/button-group/

  • What are VP9 Codec settings comparable to x264 encoder with preset=ultrafast setting regarding CPU ?

    11 juin 2021, par xKubo

    I'd like to replace the x264 codec [codec settings : preset=ultrafast] with the vp9 codec.
My primary requirement is that the encoding has less or approximately equal CPU,
while keeping the quality of the video roughly the same.
I tried the following settings, however my CPU is still roughly 30% higher.

    


    VP9 codec settings : crf=30;quality=realtime;speed=15;lag-in-frames=7

    


    x264 codec settings : preset=ultrafast;

    


    Is there any codec setting that can lower my CPU during encoding even more ?

    


    I am constrained to only a single thread.
Screenshot of my simple testing app