Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (20)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (3552)

  • Anomalie #3760 (Fermé) : Le correcteur typographique ne gère pas le HTML5

    26 mars 2016, par Christian Pierre MOMON

    Le correcteur typographique fait un super boulot pour le rendu des articles. Par exemple, il transforme « Exemple : » en HTML « Exemple  ».

    C’est vraiment super, sauf que ce n’est pas compatible avec HTML5 où le   est ignoré (&#160 est attendu à la place). Et donc on obtient des rendus catastrophiques (monstrueux espaces entre «  : » et le mot précédent, etc.). J’ai tenté de mettre «   », même résultat. J’ai tenté de mettre « Exemple : » et j’obtiens « Exemple  : » :-/

    Le HTML5 devenant de plus en plus répandu et étant amené à devenir le DOCTYPE de référence, suggestion d’adapter le module typo pour gérer le HTML5.

    Informations complémentaires :
    - j’utilise SPIP 3.0.17-2+deb8u2 (Debian) ;
    - j’ai activé « Permettre le HTML5 » dans l’interface d’administration ;
    - je mets «  » dans mes entêtes de fichier HTML.

    Avec tous mes encouragements \o/

  • Is there a way to force FFMPEG to decode a video stream with alpha from ​a WebM video encoded with libvpx-vp9 ?

    24 mars 2021, par David

    I have a ​WebM file with one video stream that was encoded with VP9 (libvpx-vp9).

    


    I wrote a C++ program to extract the frames from the video stream and save them out as PNG's. This works fine except that the resulting PNG's are missing alpha.

    


    If I extract the frames from the same WebM file using FFMPEG the resulting PNG's do contain alpha. Here is the output from FFMPEG :

    


    $ ffmpeg -c:v libvpx-vp9 -i temp/anim.webm temp/output-%3d.png

[libvpx-vp9 @ 0000024732b106c0] v1.10.0-rc1-11-gcb0d8ce31
    Last message repeated 1 times
Input #0, matroska,webm, from 'temp/anim.webm':
  Metadata:
    ENCODER         : Lavf58.45.100
  Duration: 00:00:04.04, start: 0.000000, bitrate: 112 kb/s
  Stream #0:0: Video: vp9 (Profile 0), yuva420p(tv), 640x480, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      alpha_mode      : 1
      ENCODER         : Lavc58.91.100 libvpx-vp9
      DURATION        : 00:00:04.040000000


    


    FFMPEG identifies the stream format as yuva420p.

    


    Here is the output from my program when av_dump_format is called :

    


    Input #0, matroska,webm, from 'temp/anim.webm':
  Metadata:
    ENCODER         : Lavf58.45.100
  Duration: 00:00:04.04, start: 0.000000, bitrate: 112 kb/s
  Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv), 640x480, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      alpha_mode      : 1
      ENCODER         : Lavc58.91.100 libvpx-vp9
      DURATION        : 00:00:04.040000000


    


    Notice that the detected stream format is yuv420p (the alpha is missing).

    


    Does anybody know how to force the stream format to use alpha ?

    


    My setup code resembles the following (error handling is omitted)

    


    auto result = avformat_open_input(&formatContext, fileName.c_str(), nullptr, nullptr);
auto result = avformat_find_stream_info(formatContext, nullptr);
streamIndex = av_find_best_stream(formatContext, mediaType, -1, -1, nullptr, 0);
auto stream = formatContext->streams[streamIndex];
const auto codecIdentifier{ AV_CODEC_ID_VP9 };
auto decoder = avcodec_find_decoder(codecIdentifier);
pCodecContext = avcodec_alloc_context3(decoder);
auto result = avcodec_open2(pCodecContext, decoder, &options);
// AV_PIX_FMT_YUV420P - missing alpha
auto pixelFormat = pCodecContext->pix_fmt;


    


    Gyan pointed out what the problem was. Here is the corrected code :

    


    In case anybody else runs into this issue in the future here is the code (error handling omitted):&#xA;&#xA;auto formatContext = avformat_alloc_context();&#xA;formatContext->video_codec_id = AV_CODEC_ID_VP9;&#xA;const auto decoder = avcodec_find_decoder_by_name("libvpx-vp9");&#xA;formatContext->video_codec = decoder;&#xA;avformat_open_input(&amp;formatContext, fileName.c_str(), nullptr, nullptr);&#xA;avformat_find_stream_info(formatContext.get(), nullptr);&#xA;for (unsigned int streamIndex = 0; streamIndex &lt; formatContext->nb_streams; &#x2B;&#x2B;streamIndex) {&#xA;    // Displayed the stream format as yuva420p (contains alpha)&#xA;    av_dump_format(formatContext, static_cast<int>(streamIndex), fileName.toStdString().c_str(), 0);&#xA;}&#xA;```&#xA;&#xA;Thanks,&#xA;</int>

    &#xA;

  • Skipping silent parts of video with ffplay

    3 février 2021, par handy

    so I saw that I can cut the silent parts of an audio file. Is it possible to play a video file with ffplay and make it auto skip the silent parts using those audio filters ?

    &#xA;

    Like using e.g. https://ffmpeg.org/ffmpeg-filters.html#silenceremove on the audio stream and then tell ffplay "skip the video where the silenceremove filter detects silence".

    &#xA;

    I know that there are cases where the video might change in silence. That does not matter in my case. I know that https://github.com/WyattBlue/auto-editor could help me in any such edge case since it implements motion detection but I want to skip the generation of a new video file since it just takes too much ressources.

    &#xA;