Recherche avancée

Médias (91)

Autres articles (83)

  • 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

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (13375)

  • avutil/avstring : support input path as a null pointer or empty string

    24 septembre 2019, par Limin Wang
    avutil/avstring : support input path as a null pointer or empty string
    

    Linux and OSX systems support basename and dirname via <libgen.h>, I plan to
    make the wrapper interface conform to the standard interface first.
    If it is feasible, I will continue to modify it to call the system interface
    if there is already a system call interface.

    You can get more description about the system interface by below command :
    "man 3 basename"

    Reviewed-by : Marton Balint <cus@passwd.hu>
    Reviewed-by : Tomas Härdin <tjoppen@acc.umu.se>
    Reviewed-by : Steven Liu <lq@chinaffmpeg.org>
    Signed-off-by : Limin Wang <lance.lmwang@gmail.com>

    • [DH] libavutil/avstring.c
    • [DH] libavutil/avstring.h
  • Bat file that extracts subtitle file then hard encodes the subtitle file into the original mkv file

    1er septembre 2019, par NolanWinsman

    My tv can play mkv files off of a flash drive but it cannot detect the subtitles files. I am trying to make a bat file that essentially takes the .srt file out of the mkv file then hard encodes it into the mkv file using ffmpeg. I am getting close but the naming is not working properly. For instance when it creates the subtitle file it names it infile.mkv.srt. When the file is encoded it is named infile.mkvEncoded.mkv. I am trying to get rid of the extra .mkv

    I am not great with variables in bat files so I am not exactly sure what to do. I added the "Encoded" part to the name of the file so that it doesn’t overwrite the original infile. I plan on just using bulk rename utility to get rid of that part unless there is a better way.

    My code is :

       DO (
       MKDIR Encoded_Files
       )
       FOR /F "tokens=*" %%G IN ('dir /b *.mkv') DO (
           ffmpeg -i "%%G" -vn -an -codec:s:0.1 srt "%%G.srt"
           ffmpeg -i "%%G" -vf "subtitles=%%G.srt" "%%GConverted"
           move *"%%~nG" "Encoded_Files"
               )

    The expected result would be infileEncoded.mkv*

  • Applying same filter_complex many times before output [duplicate]

    19 août 2019, par Fabián

    It’s not a duplicate. This is about using filter_complex, not -vf.

    In my video there’s an object that has shades of yellow (more orange-like) and a solid yellow as background.

    I need to output all frames into a png sequence, using a color key filter to replace the yellow from the background :

    ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.125:0[ckout]" -map "[ckout]" colorkey-%d.png

    This removes the specific color, but leaves some pints behind, and some items are yellow-themed, so blending value is a no-no for this scenario.

    I need to get rid of 4 specific yellow-colors from the frames : 0xfff31b, 0xfae56b, 0xfaec46 and 0xeee2a0, and I plan to run the same filter for specific colors before getting the final result.

    So first I tried this :

    ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.4:0[ckout1];[0:v]colorkey=0xfae56b:0.4:0[ckout2];[0:v]colorkey=0xfaec46:0.4:0[ckout3];[0:v]colorkey=0xeee2a0:0.4:0[ckout4]" -map "[ckout4]" colorkeyrefined-%d.png

    Then this :

    ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xfae56b:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xfaec46:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xeee2a0:0.4:0[ckout]" -map "[ckout]" colorkeyrefined-%d.png

    But both display the same error :

    Filter colorkey has an unconnected output.

    Is there a way to apply the colorkey feature 4 times (with the mentioned values) in one go ?