Recherche avancée

Médias (91)

Autres articles (48)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (4983)

  • lavu : add an API function to return the Libav version string

    2 juillet 2015, par wm4
    lavu : add an API function to return the Libav version string
    

    This returns something like "v12_dev0-1332-g333a27c". This is much more
    useful than the individual library versions, of which there are too
    many, and which are very hard to map back to releases or git commits.

    Signed-off-by : Janne Grunau <janne-libav@jannau.net>

    • [DH] .gitignore
    • [DH] Makefile
    • [DH] cmdutils.c
    • [DH] doc/APIchanges
    • [DH] libavutil/avutil.h
    • [DH] libavutil/utils.c
  • Aspect ratio problems at transcoding with ffmpeg [closed]

    19 novembre 2023, par udippel

    I have a huge collection of videos from the last 20+ years, videos in all sorts of formats. I use gerbera as open source UPnP-AV media server. Our TV handles only very limited of these formats. Therefore I use the transcoding feature of gerbera (I don't want to convert the 2000+ files ; thereby avoiding loss of multiple audio tracks, (multiple) subtitles, and so forth).

    &#xA;

    This is my current unified argument line for ffmpeg :&#xA;-c:v mpeg2video -maxrate 20000k -vf setdar=16/9 -r 24000/1001 -qscale:v 4 -top 1 -c:a mp2 -f mpeg -y&#xA;It works pretty okay, except of the aspect ratios. Well, I don't understand this fully, because ffprobe for File A states :&#xA;Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 624x464 [SAR 1:1 DAR 39:29], 1500 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc&#xA;This file displays very well.&#xA;File B comes as :&#xA;Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 960x720, SAR 1:1 DAR 4:3, 23.98 fps, 23.98 tbr, 1k tbn, 180k tbc (default)&#xA;This file displays horribly squeezed vertically and doesn't fill the screen left and right neither, with the same settings of the TV. Also, playing this file (and others, naturally) the TV doesn't offer the 14:9 display option, which is available e.g. for the file further up.

    &#xA;

    Both have same SAR, DAR, almost identical H:V ratios (1.345, 1.333) ; and almost identical DAR.

    &#xA;

    My questions :

    &#xA;

      &#xA;
    1. Why, despite of almost identical pixel ratios, DAR and SAR are these files handled so differently in one and the same session on the same TV (SONY), please ?
    2. &#xA;

    3. With which method could I instruct ffmpeg to display the second file properly, too, please ?&#xA;(I have already tried 'scale' ; but to no avail. Which could have been foreseen, since the ratios are already very close.)&#xA;My guess is, that the (tv, bt709, progressive) mess things up.&#xA;(I have already tried to add the yuv420p in the argument line, also to no avail.)
    4. &#xA;

    &#xA;

    Appreciate any help,

    &#xA;

    Uwe

    &#xA;

    I have already tried to add a 'scale' option ; but to no avail. Which could have been foreseen, since the ratios are already very close.&#xA;I have already tried to add the yuv420p in the argument line, also to no avail.&#xA;I have already tried force_original_aspect_ratio, but also here, nothing improving.&#xA;Also, I played with -aspect, but the aspects are okay, and would need individual corrections, which I can't and don't to do for 2000+ files. A simple 16:9 doesn't cut it.

    &#xA;

  • How do I deploy Whisper.cpp stream.wasm on an EC2 instance ? [closed]

    3 août, par tosUser

    How do I deploy the whisper.cpp stream.wasm demo on a EC2 instance ?

    &#xA;

    The demo is available from the following git :&#xA;https://github.com/ggml-org/whisper.cpp/tree/master/examples/stream.wasm

    &#xA;

    I am fairly far along, but the program hangs on Preparing ...&#xA;I do not know what is causing the issue.

    &#xA;

    Here are the steps I have taken. (I am trying to make it brief, and provide more detail as necessary.)&#xA;I cloned the repository and built it locally.&#xA;It runs properly.

    &#xA;

    I created an EC2 instance running Amazon Linux 2023, and uploaded the Whisper.cpp files to it.&#xA;I ssh into the server and installed nginx, it displays the default page to the server's public ip address.&#xA;I then configured nginx as a reverse proxy server :

    &#xA;

        server {&#xA;        listen 80;&#xA;        server_name redactedPublicIpAddress;&#xA;        location / {&#xA;            proxy_pass http://127.0.0.1:8000;&#xA;        }&#xA;    }&#xA;&#xA;

    &#xA;

    I enabled and restarted nginx.

    &#xA;

    I then try to run whisper.cpp stream.wasm by running python3 examples/server.py&#xA;It indicates that it is serving home/ec2-user/whisper.cpp/build-em/bin to localhost:8000&#xA;This is analogous to the message when it is served locally.&#xA;Stream.wasm has a 301 response.&#xA;Helpers.js and coi-serviceworker.js have 200 responses.

    &#xA;

    The index file displays normally at the public ip address/stream.wasm/

    &#xA;

    However, all is not well. The js seems to hang on Preparing...&#xA;Other js functions on the page still function, I can download a model and the page indicates it was downloaded, etc. However, I cannot start recording. The start button is not active. It never properly initializes.

    &#xA;

    This type of behavior is identical to trying to open the index file on my local computer without it being served.

    &#xA;

    I think I am missing something simple, but do not know what it is.

    &#xA;

    Here are some steps that I took afterwards that did not fix the issue :&#xA;I installed nodejs and npm so that I could install ffmpeg.wasm : npm install @ffmpeg/ffmpeg @ffmpeg/util

    &#xA;

    The github page indicates that I need to put the files in the html path. So in trying to troubleshoot I put them in /user/shared/nginx/html which is where the nginx default index file is placed.

    &#xA;

    I think it may be related to serving the python. The server.py file is not in a state to deploy it with uvicorn.

    &#xA;

    Maybe there is some sort of cors issue.

    &#xA;

    I simply do not know.

    &#xA;