Recherche avancée

Médias (91)

Autres articles (100)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (6078)

  • Convert from opus to ogg file using ffmpeg [python soundfile]

    27 septembre 2021, par Zabir Al Nazi

    I'm using python soundfile to audio files in one of my projects. I have a dataset that contains opus files.

    


    python soundfile can not read opus files directly but can read ogg files. (https://github.com/bastibe/python-soundfile/issues/252)

    


    How can I convert all the opus files to ogg files with ffmpeg ?

    


    I have tried the following command,

    


     ffmpeg -i test_file_2.opus -c:a libvorbis -b:a 16k test_file_2.ogg



    


    But I get an error,

    


    ffmpeg version 4.3 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 7.3.0 (crosstool-NG 1.23.0.449-a04d0)
  configuration: --prefix=/opt/conda --cc=/opt/conda/conda-bld/ffmpeg_1597178665428/_build_env/bin/x86_64-conda_cos6-linux-gnu-cc --disable-doc --disable-openssl --enable-avresample --enable-gnutls --enable-hardcoded-tables --enable-libfreetype --enable-libopenh264 --enable-pic --enable-pthreads --enable-shared --disable-static --enable-version3 --enable-zlib --enable-libmp3lame
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
[ogg @ 0x55bad6b9cbc0] 543 bytes of comment header remain
Input #0, ogg, from 'test_file_2.opus':
  Duration: 00:00:14.10, start: 0.000000, bitrate: 34 kb/s
    Stream #0:0: Audio: opus, 48000 Hz, mono, fltp
    Metadata:
      album           : Onder Moeders Vleugels
      ENCODER_OPTIONS : --quiet
      artist          : Louisa May Alcott
      title           : 02 - Een vroolijk kerstfeest
      encoder         : opusenc from opus-tools 0.1.10;Lavf57.83.100
Unknown encoder 'libvorbis'



    


  • brew install ffmpeg installs python 3.9

    13 novembre 2020, par mrgloom

    For some reason brew install ffmpeg downloads python 3.9 as dependence

    


    ==> Installing dependencies for ffmpeg: gnutls, python@3.9, glib, cairo, gobject-introspection, harfbuzz, libass and libvpx


    


    As I can see here https://formulae.brew.sh/formula/ffmpeg there is no dependence on python 3.9

    


    How can I install ffmpeg for my current python Python 3.7.7 ?

    


    Update :

    


    Maybe something is broken in my python installation ?

    


    brew info python&#xA;&#xA;python@3.9: stable 3.9.0 (bottled)&#xA;Interpreted, interactive, object-oriented programming language&#xA;https://www.python.org/&#xA;/usr/local/Cellar/python/3.7.7 (4,165 files, 64.0MB) *&#xA;  Poured from bottle on 2020-04-03 at 20:11:58&#xA;From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/python@3.9.rb&#xA;License: Python-2.0&#xA;==> Dependencies&#xA;Build: pkg-config ✔&#xA;Required: gdbm ✔, openssl@1.1 ✔, readline ✔, sqlite ✔, xz ✔&#xA;==> Caveats&#xA;Python has been installed as&#xA;  /usr/local/bin/python3&#xA;&#xA;Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to&#xA;`python3`, `python3-config`, `pip3` etc., respectively, have been installed into&#xA;  /usr/local/opt/python@3.9/libexec/bin&#xA;&#xA;You can install Python packages with&#xA;  pip3 install <package>&#xA;They will install into the site-package directory&#xA;  /usr/local/lib/python3.9/site-packages&#xA;&#xA;See: https://docs.brew.sh/Homebrew-and-Python&#xA;==> Analytics&#xA;install: 588,344 (30 days), 666,372 (90 days), 666,373 (365 days)&#xA;install-on-request: 104,126 (30 days), 105,703 (90 days), 105,705 (365 days)&#xA;build-error: 0 (30 days)&#xA;</package>

    &#xA;

    brew info shows python@3.9 but actually it's 3.7.7 :

    &#xA;

    /usr/local/bin/python3 -V&#xA;Python 3.7.7&#xA;

    &#xA;

  • Convert set of PNGs into rawvideo .raw FFMPEG

    13 août 2020, par Wire

    Recently, I have been trying to modify the boot animation of a little robot. It is a .raw file and it contains every RGB565 frame one after the other. I have been able to get all of the frames using

    &#xA;

    ffmpeg -f rawvideo  -pixel_format rgb565 -video_size 184x96 -framerate 10 -i "boot_anim.raw" -r 1/1 boot_anim%02d.png

    &#xA;

    But if I try to repack it with

    &#xA;

    ffmpeg -i boot_anim%02d.png -f rawvideo -pix_fmt rgb565 -framerate 10 -video_size 184x96 -r 1/1 "boot_anim.raw"

    &#xA;

    it only puts in the first two frames and nothing else. I have also tried libx264 and putting in vcodecs manually. Same result. I'm new to ffmpeg and Linux overall.

    &#xA;

    Here is the full output :

    &#xA;

    ffmpeg version N-98716-gb40dd2f Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)&#xA;  configuration: --enable-encoder=png --enable-decoder=png&#xA;  libavutil      56. 58.100 / 56. 58.100&#xA;  libavcodec     58.100.100 / 58.100.100&#xA;  libavformat    58. 50.100 / 58. 50.100&#xA;  libavdevice    58. 11.101 / 58. 11.101&#xA;  libavfilter     7. 87.100 /  7. 87.100&#xA;  libswscale      5.  8.100 /  5.  8.100&#xA;  libswresample   3.  8.100 /  3.  8.100&#xA;Input #0, image2, from &#x27;boot_anim%02d.png&#x27;:&#xA;  Duration: 00:00:00.44, start: 0.000000, bitrate: N/A&#xA;    Stream #0:0: Video: png, rgba(pc), 184x96, 25 fps, 25 tbr, 25 tbn, 25 tbc&#xA;File &#x27;boot_anim.raw&#x27; already exists. Overwrite? [y/N] y&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (png (native) -> rawvideo (native))&#xA;Press [q] to stop, [?] for help&#xA;[swscaler @ 0x556d6993d940] full chroma interpolation for destination format &#x27;rgb565le&#x27; not yet implemented&#xA;Output #0, rawvideo, to &#x27;boot_anim.raw&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf58.50.100&#xA;    Stream #0:0: Video: rawvideo (RGB[16] / 0x10424752), rgb565le, 184x96, q=2-31, 282 kb/s, 1 fps, 1 tbn, 1 tbc&#xA;    Metadata:&#xA;      encoder         : Lavc58.100.100 rawvideo&#xA;frame=    2 fps=0.0 q=-0.0 Lsize=      69kB time=00:00:02.00 bitrate= 282.6kbits/s dup=0 drop=9 speed= 871x    &#xA;video:69kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%&#xA;

    &#xA;

    Any help appreciated !

    &#xA;