home.social

#webvtt — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #webvtt, aggregated by home.social.

  1. At iPres, a question I was asked about webvtt_metadata was "what happens if you mess up a line when you run it?" At the time, the best option was to correct the mistake in the csv and re-run the script - but that only works if you catch the error when you run the script. What if you don't catch it til much later, or you need to correct something in a legacy #webvtt?

    So I've made webvtt_whoops, which replaces a single element in a webvtt header: github.com/ninarao/webvtt_meta

    #captions #digipres

  2. RE: mastodon.social/@firefoxwebdev

    It is fantastic that one of the focus items for this year is #WebVTT. As a developer working for a bigger German TV network, I really struggle with that in browsers a lot.

    github.com/web-platform-tests/

    🫶

  3. Made some updates to github.com/ninarao/webvtt_meta:

    - Can now embed #FADGI #metadata in #WebVTT files using a csv, header data from an associated parent file, and/or an optional default metadata set
    - Local usage elements can be added to the csv as needed
    - Can create/update FADGI header for WebVTT files that have been human-reviewed

    Feedback welcome! I've tested for various scenarios but there are many nested conditionals so I may have missed something.

    #captions #accessibility #digipres #AVpres

  4. Made some updates to github.com/ninarao/webvtt_meta:

    - Can now embed #FADGI #metadata in #WebVTT files using a csv, header data from an associated parent file, and/or an optional default metadata set
    - Local usage elements can be added to the csv as needed
    - Can create/update FADGI header for WebVTT files that have been human-reviewed

    Feedback welcome! I've tested for various scenarios but there are many nested conditionals so I may have missed something.

    #captions #accessibility #digipres #AVpres

  5. Made some updates to github.com/ninarao/webvtt_meta:

    - Can now embed #FADGI #metadata in #WebVTT files using a csv, header data from an associated parent file, and/or an optional default metadata set
    - Local usage elements can be added to the csv as needed
    - Can create/update FADGI header for WebVTT files that have been human-reviewed

    Feedback welcome! I've tested for various scenarios but there are many nested conditionals so I may have missed something.

    #captions #accessibility #digipres #AVpres

  6. Made some updates to github.com/ninarao/webvtt_meta:

    - Can now embed #FADGI #metadata in #WebVTT files using a csv, header data from an associated parent file, and/or an optional default metadata set
    - Local usage elements can be added to the csv as needed
    - Can create/update FADGI header for WebVTT files that have been human-reviewed

    Feedback welcome! I've tested for various scenarios but there are many nested conditionals so I may have missed something.

    #captions #accessibility #digipres #AVpres

  7. Made some updates to github.com/ninarao/webvtt_meta:

    - Can now embed #FADGI #metadata in #WebVTT files using a csv, header data from an associated parent file, and/or an optional default metadata set
    - Local usage elements can be added to the csv as needed
    - Can create/update FADGI header for WebVTT files that have been human-reviewed

    Feedback welcome! I've tested for various scenarios but there are many nested conditionals so I may have missed something.

    #captions #accessibility #digipres #AVpres

  8. #askfedi Looking for a (preferrably FOSS) way to rename speaker labels and edit timings in (Web)VTT files (subtitles). Not feeling comfortable with online web editors for privacy reasons. Adobe Premiere won't load the .vtt I have.Suggestions for macOS/WIN … please, ty.

    #vtt #webvtt #videoediting

  9. "Showtime" is shaping up to become a pretty good video player for #GNOME, but if we want it to truly please #anime lovers, it will need to package fancy ASS stuff, and find fonts embedded in my ASS :blobpeek:

    Here are the tracking issues:
    * gitlab.gnome.org/GNOME/Incubat
    * gitlab.freedesktop.org/gstream

    Bonus: if someone could help implement #WebVTT subtitles support in #GStreamer, that would be great too: gitlab.freedesktop.org/gstream

  10. 🚩 Audacity 3.6.0 OpenVINO Transcription Gets Added Polish

    I just installed #Audacity 3.6 & tested the latest #Intel #OpenVINO #AI plugin updates. While the OpenVINO installer had issues extracting the recommended base AI models after Web download, I was able to manually extract the archives from their location in the Windows "Temp" folder. As I did with Audacity 3.4.2, I loaded the OpenVINO overview video to test #SpeechToText #Transcription. Version 3.6 excelled & now has #WebVTT file export

  11. #today finshed my #WebVTT #transcripts, now lots of unrelated admin to catch up on. Drinks this evening...

  12. Wait, WebSRT and WebVTT are the same standard? (With the latter being renamed from the former.)

    Holy Standaroli!

    I have no idea why I had this in my head as two different things. Maybe because of the SRT format (sans Web) which is still around and used.

    And yes, apparently it has been for over a decade, see this tweet from @ourmaninjapan from 2010[!!!]: twitter.com/ourmaninjapan/stat

    🤯🤯🤯

    #accessibility #a11y #webVTT

  13. Mozilla releases Firefox version 100 this week - Enlarge / A special 100th-version splash page appears on the first laun... - arstechnica.com/?p=1852162 #firefox100 #webbrowser #android #browser #firefox #mozilla #webvtt #https #tech #ios

  14. 1. Les sous-titres #WebVTT arrivent dans l’incrustation vidéo (Picture-in-Picture). Vous pouvez tester le travail en cours en passant la valeur de la préférence “media.videocontrols.picture-in-picture.display-text-tracks.enabled” à “true” dans “about:config”.

    2. La communauté est appelée à tester la compatibilité des sites avec Firefox 100. Dans “about:preferences#experimental”, cochez la case devant “Chaîne « User-Agent » Firefox 100”. Envoyez vos rapports de bogue à webcompat.com/

  15. C'est bon, j'ai trouvé un moyen de le faire en utilisant #ffmpeg

    ----------------------------------------------------
    ffmpeg -i "https://chemin-vers-le-fichier.m3u8" "soustitres.vtt"
    ---------------------------------------------------

    J'ai du chercher le chemin vers le fichier .m3u8 dans le code source de la page, merci @ronane

    #soustitres #subtitles #webvtt

  16. CW: Short shell command to extract legible (YouTube) video captions with long explanation of each step.

    Do you have a YouTube ¹ video link, but you would rather just read the subtitles / closed captions for it?

    Then with a couple of command-line tools such as youtube-dl, grep, sed and tail, you can extract and re-format these to be a somewhat legible text:

    youtube-dl --sub-lang en --sub-format vtt --skip-download --write-sub --output "tmp-mysubs" YOUTUBE_VIDEO_URL_HERE && grep -Pv '^(([0-9]{2}:){2}[0-9]{2}.[0-9]{3}( --> ([0-9]{2}:){2}[0-9]{2}.[0-9]{3})?|)$' tmp-mysubs*.vtt | sed 's/ / /g' | sed -z 's/[, ]\n/ /g' | sed --regexp-extended -z 's/([^\. ])\n([a-z])/\1 \2/g' | tail -n +4

    See my earlier toot containing the captions for Tom Scott's video about Torpenhow Hill for an example of the output.

    The youtube-dl command will extract the captions in Web Video Text Tracks (VTT) format and store them in a file prefixed with 'tmp-mysubs' ² (likely 'tmp-mysubs.en.vtt').

    The grep command will remove the timestamps and empty lines.

    The sed commands will try their best to make the text more legible by merging lines and replacing non-breaking-space HTML-entities.

    Finally, the tail command will strip the WebVTT header info such as language and format. I'm not 100% certain this header will always be exactly 4 lines though, so you might want to leave it out.

    ¹: While I've written it for YouTube videos in mind, it will likely also work on other media sites supported by youtube-dl

    ² You can replace the prefix 'tmp-mysubs' with any prefix you see fit; just be sure to replace it in both the youtube-dl and grep commands.

    Related hashtags: #YouTube #YouTubeDL #subtitles #subs #closedCaptions #captions #streamingMedia #accessibility #a11y #video #grep #sed #tail #CLI #commandLine #oneliner #VTT #WebVTT #WebVideoTextTracks