Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (109)

  • 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.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (12180)

  • How to convert messed-up .vtt sub file from youtube-dl —write-auto-sub download ?

    27 septembre 2023, par perry_the_python

    My goal is to download a YouTube video with auto-generated subtitles in a separate file like .vtt,.srt, etc.

    


    I am currently trying to achieve this with youtube-dl but I am open to other solutions if needed.

    


    When I run the following command, it downloads the video as .mp4 (which is fine) and a separate .vtt file, but the .vtt seems to be messed-up somehow and displays all the text for the whole clip at once instead of the specified times.

    


    Command I am running :

    


    youtube-dl --write-auto-sub https://www.youtube.com/watch?v=Roc89oOZOF4&list=PLJBo3iyb1U0eNNN4Dij3N-d0rCJpMyAKQ&index=45


    


    Downloads this .vtt :

    


    WEBVTT&#xA;Kind: captions&#xA;Language: en&#xA;&#xA;00:00:05.960 --> 00:00:08.290 align:start position:0%&#xA; &#xA;thank &lt;00:00:06.003><c>you  </c>&lt;00:00:06.046><c>ah </c>&lt;00:00:06.089><c>crap  </c>&lt;00:00:06.132><c>well </c>&lt;00:00:06.175><c>looks </c>&lt;00:00:06.218><c>like </c>&lt;00:00:06.261><c>the </c>&lt;00:00:06.304><c>good </c>&lt;00:00:06.347><c>Lord </c>&lt;00:00:06.390><c>just </c>&lt;00:00:06.433><c>sent  </c>&lt;00:00:06.476><c>me </c>&lt;00:00:06.519><c>a </c>&lt;00:00:06.562><c>conversation </c>&lt;00:00:06.605><c>starter </c>&lt;00:00:06.648><c>come </c>&lt;00:00:06.691><c>here  </c>&lt;00:00:06.734><c>Jesse </c>&lt;00:00:06.777><c>come </c>&lt;00:00:06.820><c>get </c>&lt;00:00:06.863><c>the </c>&lt;00:00:06.906><c>ball  </c>&lt;00:00:06.949><c>hmm</c>&#xA;&#xA;00:00:08.290 --> 00:00:10.549 align:start position:0%&#xA;thank you  ah crap  well looks like the good Lord just sent  me a conversation starter come here  Jesse come get the ball  hmm&#xA; &#xA;&#xA;00:00:10.549 --> 00:00:13.070 align:start position:0%&#xA; &#xA; &#xA;&#xA;00:00:13.070 --> 00:00:15.470 align:start position:0%&#xA; &#xA; &#xA;&#xA;00:00:15.470 --> 00:00:23.750 align:start position:0%&#xA; &#xA; &#xA;&#xA;00:00:23.750 --> 00:00:23.760 align:start position:0%&#xA; &#xA; &#xA;&#xA;00:00:23.760 --> 00:00:26.480 align:start position:0%&#xA; &#xA;&#xA;&#xA;&#xA;

    &#xA;

    I have read that this may be done on purpose by YouTube.

    &#xA;

    Even if this is true, is there any way to convert this .vtt to a usable format or simply download correctly-formatted auto-generated subtitles from YouTube ?

    &#xA;

    Python, FFMPEG, cmd-line preferred, but anything is helpful !

    &#xA;

    Thanks ! Any and all assistance is greatly appreciated !

    &#xA;

  • Directly response video to the client for download when ffmpeg cutting the video

    7 mars 2023, par web disiner

    I am bulding a web application using Node.js with Express framework. That simply cut the video and send to the client browser as a response for download. For cutting a video i use FFmpeg tool.&#xA;all things working fine but ffmpeg cutted video save to working directory.

    &#xA;

    Below is my code..

    &#xA;

    const child_process= require("child_process")&#xA;&#xA;const cutting =async()=>{&#xA;    ffmpeg = child_process.spawn(&#x27;ffmpeg&#x27;, [&#xA;&#xA;        "-i", /video.mp4,&#xA;         "-ss", "00:02:20",&#xA;         "-to","00:02:50",&#xA;         "-c:v", "copy", &#xA;         "-c:a", "copy", &#xA;         "output3.mp4"&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;    ])&#xA;    ffmpeg.stderr.on(&#x27;data&#x27;, function(data) {&#xA;            console.log(&#x27;ffmpeg stderr data = &#x27;&#x2B;data );&#xA;      });&#xA;&#xA;}&#xA;

    &#xA;

    This is image of working directory

    &#xA;

    Now i want when **ffmpeg cutting the video it directly send chunks of video to the client for download **without saving it in working directory or server where my code is hosted.

    &#xA;

    How can i do this ? which approch will useful for this ?&#xA;Anyone help me. much appreciated&#xA;Thanks

    &#xA;

  • hey i need to download my coaching classes but they are using hls aes 128 bit encrypted streams. i downloaded m3u8 and all .ts files and found enc key

    19 mars 2023, par tinu one

    I downloaded all the .ts files using a python script but it is encrypted with aes 128.i found a encryption key (supposedly) under the network tab in developer options. I ran it through ffmpeg but got an error( invalid data found while processing ). I need these classes because they are going to remove it in may 2023. i am a noob to this and may have done step wrong. Please forgive me. I would deeply appreciate anyone who will help me find a solution to this problem. Thankyou.

    &#xA;

    I downloaded all the .ts files and m3u8 file and put it inside a folder. I hosted the key file in localhost that I found under the preview tab of the network tab in developer options( it was named key/ after all and had characters which was not human readable. it also had the request URL similar to that inside the m3u8 file)because ffmpeg did not want to read the key file from my local pc. I edited the m3u8 file to access the key stored in local host and it read successfully. but it shows error( invalid data found while processing).

    &#xA;

    encryption key from preview tab I found : Ø®¢Ù¦Aä [u&#xA;request url of the key : https://classes.brilliantpala.org/api/v2.5/video_contents/42475/key/

    &#xA;

    unedited m3u8 file :

    &#xA;

    #EXTM3U&#xA;#EXT-X-VERSION:3&#xA;#EXT-X-TARGETDURATION:19&#xA;#EXT-X-MEDIA-SEQUENCE:0&#xA;#EXT-X-KEY:METHOD=AES-128,URI="https://classes.brilliantpala.org/api/v2.4/encryption_key/40cd559c70c241699cfcda9072c4fb42/",IV=0x00000000000000000000000000000000&#xA;#EXTINF:11.680000,&#xA;video_0.ts&#xA;#EXTINF:10.000000,&#xA;video_1.ts&#xA;#EXTINF:10.000000,&#xA;etc etc..&#xA;

    &#xA;

    fetch("https://classes.brilliantpala.org/api/v2.5/video_contents/42475/key/", {&#xA;  "headers": {&#xA;    "accept": "*/*",&#xA;    "accept-language": "en-US,en;q=0.9",&#xA;    "sec-ch-ua": "\"Microsoft Edge\";v=\"111\", \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"111\"",&#xA;    "sec-ch-ua-mobile": "?0",&#xA;    "sec-ch-ua-platform": "\"Windows\"",&#xA;    "sec-fetch-dest": "empty",&#xA;    "sec-fetch-mode": "cors",&#xA;    "sec-fetch-site": "same-origin",&#xA;    "x-key": "5e5d8c5d0486a678ccd4935ecb9fa8a01b1db7327396184ab00b50573119e947"&#xA;  },&#xA;  "referrer": "https://classes.brilliantpala.org/courses/535/contents/42475/",&#xA;  "referrerPolicy": "strict-origin-when-cross-origin",&#xA;  "body": null,&#xA;  "method": "GET",&#xA;  "mode": "cors",&#xA;  "credentials": "include"&#xA;});```&#xA;&#xA;&#xA;

    &#xA;