Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (71)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • 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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (9622)

  • ASS/SSA subtitles hard coded using ffmpeg are highly antialiased

    1er août 2024, par Adorn

    I am using ASS/SSA format for hard coding captions on the video. These are relevant parts of my .ass file :

    


    Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: s0, Montserrat-Black, 60, &H0015CCFA, &H001C1CB9, &H77000000, &H00000000, 1, 0, 0, 0, 100, 100, , 0, 1, 2, 2 , 2, 0, 0, 0, 1

[Events]
Format: Start, End, Style, Text
Dialogue: 00:0:43.8,00:0:46.55,s0,{\pos(540,1550)\fscx50\fscy50\t(0,100,\fscx100\fscy100)\org(10540,-8450)\t(100,600,\frz0.10)\t(600,1100,\frz-0.10)\t(1100,1600,\frz0.10)\t(1600,2100,\frz-0.10)\t(2100,2600,\frz0.10)\t(2600,3100,\frz-0.10)\t(3100,3600,\frz0.10)\k3463}ME FOR WHATEVER


    


    And to hard code on the video, I use following ffmpeg command :

    


    ffmpeg -i video_filepath -vf ass={ass_filepath} -c:a copy -y out_path


    


    This works as intended, except the captions are highly antialiased.

    


    enter image description here

    


    By the way, no AI Assistant has solved this. Tried ChatGPT / Claude / llama 3.1.

    


  • Why does hard-coding subtitles into MKV cause resulting video length to be wildly incorrect ?

    21 mai 2018, par BudJB

    I am trying to encode an existing MKV with a video, audio, and several subtitle streams, such that video encodes with H264, audio encodes with AAC, and the second subtitle track is hard-coded into the video stream. I am using the myffmpeg GUI frontend, but can view and modify the ffmpeg command before it’s run.

    Every time that I run the encode, the MKV reports that the duration is 1195 hours and change, where it’s supposed to be around 2 hours, plus some change. If I encode without the hard-coded subtitles, things turn out alright.

    Here’s the command that’s run, with the latest ffmpeg :

    ffmpeg.exe -probesize 50M -analyzeduration 100M -i "D:\Video\in.mkv" -c:a aac -ac 6 -strict -2 -async 1 -c:v libx264 -crf 20 -r 24000/1001 -s 1920x1080 -aspect 16:9 -pix_fmt yuv420p -preset fast -partitions default  -b-pyramid 1 -weightb 1 -8x8dct 1 -fast-pskip 0 -direct-pred 1 -coder ac -trellis 1 -me_method hex -subq 6 -me_range 16 -bf 3 -b_strategy 1 -refs 3 -flags +loop -sws_flags fast_bilinear -sc_threshold 40 -keyint_min 24 -g 48 -qmin 3 -qmax 51 -qdiff 4 -filter_complex "[0:v][0:s:2]overlay[out]" -map [out]  -map 0:a:0 -sn -y "D:\Video\out.mkv"

    I’ve tried a couple other MKV’s with the same results. Anyone else run into this or know what’s going on ?

  • Révision 20273 : pas de : dans le mail hard-codé actuel

    11 mars 2013, par cedric -