Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (111)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (15025)

  • Subtitle word scaling with ASS file causing line shifting

    23 avril 2024, par Barrard

    I'm trying to make my subtitles scale one word at a time, but I'm running into an issue with the whole line shifting.
Is there a way I can scale a word, and make the other words not move sue to the scale effect ?
Here is the ASS File

    


    [Script Info]
ScriptType: v4.00+
PlayResX: 384
PlayResY: 288
ScaledBorderAndShadow: yes
[V4+ Styles]
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: Default,Arial,18,&H00FFFFFF,&H00FFFFFF,&H00000000,&HFF000000,-1,0,0,0,100,100,0,0,3,1,0.6,5,10,10,10,0
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:0.00,0:00:1.00,Default,,0,0,0,,{\an5\pos(192,144)\alpha&HFF&}And so my fellow Americans,
Dialogue: 0,0:00:0.00,0:00:02.50,Default,,0,0,0,,{\an5\pos(192,144)\fscx90\fscy90\t(0,2500,\fscx120\fscy120)}And{\fscx100\fscy100} so my fellow Americans,
Dialogue: 0,0:00:2.50,0:00:05.00,Default,,0,0,0,,{\an5\pos(192,144)\fscx120\fscy120\t(0,2500,\fscx100\fscy100)}And{\fscx100\fscy100} so my fellow Americans,


    


    this shows the video output.
https://youtube.com/shorts/d4VaoWqTMtQ?feature=share

    


    Thanks in advanced.

    


  • Making progress bar with FFmpeg duration value

    11 novembre 2014, par user2978381

    I am mainly a back-end developer. I have rarely used javascript. But for real time update now I have to use javascript, ajax, jquery or something like that.

    My php script outputs this value "100%" at the end of the conversion.

    echo "Progress: " . $progress . "%";

    The $progress variable actually holds numeric data like 10 and I want to use this value for making progress bar. The value of the $progress variable changes every second and I need to capture this value.

    So if I want to implement this value in the following html file what will I do actually ?

    <code class="echappe-js">&lt;script src=&quot;//code.jquery.com/jquery-1.10.2.js&quot;&gt;&lt;/script&gt;

    &lt;script src=&quot;//code.jquery.com/ui/1.11.2/jquery-ui.js&quot;&gt;&lt;/script&gt;

    &lt;script&gt;<br />
    $(function() {<br />
     var progressbar = $( &quot;#progressbar&quot; ),<br />
       progressLabel = $( &quot;.progress-label&quot; );<br />
    <br />
     progressbar.progressbar({<br />
       value: false,<br />
       change: function() {<br />
         progressLabel.text( progressbar.progressbar( &quot;value&quot; ) + &quot;%&quot; );<br />
       },<br />
       complete: function() {<br />
         progressLabel.text( &quot;Complete!&quot; );<br />
       }<br />
     });<br />
    <br />
     function progress() {<br />
       var val = progressbar.progressbar( &quot;value&quot; ) || 0;<br />
    <br />
       progressbar.progressbar( &quot;value&quot;, val + 2 );<br />
    <br />
       if ( val &lt; 99 ) {<br />
         setTimeout( progress, 80 );<br />
       }<br />
     }<br />
    <br />
     setTimeout( progress, 2000 );<br />
    });<br />
    &lt;/script&gt;
    Loading...
  • Word-by-word display of subtitles in FFMPEG ?

    10 mars 2020, par ThaDon

    I am trying to burn subtitles into a video such that they appear in a word-by-word fashion instead of all at once.

    What I mean by this is, a word will appear, then another word will appear next to it, and so on. Eventually the line will clear, then repeat.

    Example :

    enter image description here

    I thought I could create an Advanced Substation Alpha file where subtitles share the same end-time but differing start times, however FFMPEG doesn’t seem to cope very well when rendering the file :

    [Script Info]
    ; Script generated by FFmpeg/Lavc57.107.100
    ScriptType: v4.00+
    PlayResX: 384
    PlayResY: 288

    [V4+ Styles]
    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: Default,Arial,16,&amp;Hffffff,&amp;Hffffff,&amp;H0,&amp;H0,0,0,0,0,100,100,0,0,1,1,0,2,10,10,10,0

    [Events]
    Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
    Dialogue: 0,0:00:00.00,0:00:03.46,Default,,0,0,0,,I'm
    Dialogue: 0,0:00:01.00,0:00:03.46,Default,,0,0,0,,a
    Dialogue: 0,0:00:01.50,0:00:03.46,Default,,0,0,0,,subtitle

    The idea being that I'm would appear, then 1 second later a would show up next to it followed by subtitle a half second later