Recherche avancée

Médias (91)

Autres articles (50)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (5986)

  • Anomalie #2866 (Fermé) : SPIP sous estime les visites de 30 à 50% par rapport à Google Analytics

    2 août 2014, par cedric -

    Tout et son contraire dans les fils de discussion, ticket inexploitable.

  • How to Adjust Google TTS SSML to Match Original SRT Timing ?

    2 avril, par Alexandre Silkin

    I have an .srt file where each speech segment is supposed to last a specific duration (e.g., 4 seconds). However, when I generate the speech using Google Text-to-Speech (TTS) with SSML, the resulting audio plays the same segment in a shorter time (e.g., 3 seconds).

    


    I want to adjust the speech rate dynamically in SSML so that each segment matches its original timing. My idea is to use ffmpeg to extract the actual duration of each generated speech segment, then calculate the speech rate percentage as :
generated duration
speech rate = --------------------
original duration

    


    This percentage would then be applied in SSML using the tag, like :
Text to be spoken

    


    How can I accurately measure the duration of each segment using ffmpeg, and what is the best way to apply the correct speech rate in SSML to match the original .srt timing ?

    


    I tried duration and my SSML should look like this :

    


            f.write(f&#x27;\t<p>{break_until_start}{text}<break time="{value["></break></p>\n&#x27;)&#xA;

    &#xA;

    Code writing the SSML :

    &#xA;

    text = value['text']&#xA;start_time_ms = int(value['start_ms']) # Start time in milliseconds&#xA;previous_end_ms = int(subsDict.get(str(int(key) - 1), {}).get('end_ms', 0)) # Get the previous end time&#xA;gap_to_fill = max(0, start_time_ms - previous_end_ms)

    &#xA;

            text = text.replace("&amp;", "&amp;amp;").replace(&#x27;"&#x27;, "&amp;quot;").replace("&#x27;", "&amp;apos;").replace("&lt;", "&amp;lt;").replace(&#xA;            ">", "&amp;gt;")&#xA;&#xA;        break_until_start = f&#x27;<break time="{gap_to_fill}ms"></break>&#x27; if gap_to_fill > 0 else &#x27;&#x27;&#xA;&#xA;        f.write(f&#x27;\t<p>{break_until_start}{text}<break time="{value["></break></p>\n&#x27;)&#xA;&#xA;    f.write(&#x27;\n&#x27;)&#xA;

    &#xA;

  • Google - Shaka | Deleting SegmentTimeline in manifest.mpd after restart container

    27 juin 2022, par burakkiymaz

    Shaka is running inside docker container. When I restarted container, SegmentTimeline part in manifest.mpd file deleting. Is possible appending old SegmentTimeline to new manifest.mpd file or recover it when I restarted ?

    &#xA;

    Operating System :

    &#xA;

    NAME="CentOS Linux"&#xA;VERSION="7 (Core)"&#xA;

    &#xA;

    Shaka Packager Version :

    &#xA;

    google/shaka-packager:v2.5.1&#xA;

    &#xA;

    You can find out my configuration file below :

    &#xA;

    CH_PATH=/some/path/$CH_NAME&#xA;&#xA;/usr/bin/packager \&#xA;        &#x27;in=udp://127.0.0.1:&#x27;$PORT&#x27;,stream=audio,init_segment=&#x27;$CH_PATH&#x27;/audio_init.m4s,segment_template=&#x27;$CH_PATH&#x27;/audio_$Time$.m4s&#x27; \&#xA;        &#x27;in=udp://127.0.0.1:&#x27;$PORT&#x27;,stream=video,init_segment=&#x27;$CH_PATH&#x27;/h264_360p_init.m4s,segment_template=&#x27;$CH_PATH&#x27;/h264_360p_$Time$.m4s&#x27; \&#xA;        &#x27;in=udp://127.0.0.1:&#x27;$(($PORT &#x2B; 1))&#x27;,stream=video,init_segment=&#x27;$CH_PATH&#x27;/h264_540p_init.m4s,segment_template=&#x27;$CH_PATH&#x27;/h264_540p_$Time$.m4s&#x27; \&#xA;        &#x27;in=udp://127.0.0.1:&#x27;$(($PORT &#x2B; 2))&#x27;,stream=video,init_segment=&#x27;$CH_PATH&#x27;/h264_720p_init.m4s,segment_template=&#x27;$CH_PATH&#x27;/h264_720p_$Time$.m4s&#x27; \&#xA;        &#x27;in=udp://127.0.0.1:&#x27;$(($PORT &#x2B; 3))&#x27;,stream=video,init_segment=&#x27;$CH_PATH&#x27;/h264_1080p_init.m4s,segment_template=&#x27;$CH_PATH&#x27;/h264_1080p_$Time$.m4s&#x27; \&#xA;        --enable_widevine_encryption \&#xA;        --key_server_url ************ \&#xA;        --content_id ********** \&#xA;        --signer ********** \&#xA;        --aes_signing_key ************ \&#xA;        --aes_signing_iv ************* \&#xA;        --mpd_output $CH_PATH/manifest.mpd \&#xA;        --hls_playlist_type LIVE \&#xA;        --hls_master_playlist_output $CH_PATH/mn.m3u8 \&#xA;        --time_shift_buffer_depth 43200 \&#xA;        --preserved_segments_outside_live_window 43200&#xA;

    &#xA;