Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (53)

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

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

Sur d’autres sites (6881)

  • How can I save the downloaded and converted audios to a specific folder

    19 décembre 2022, par Retire Young

    I'm trying to download Videos from a specific playlist and converting it to a m4a file for further downloading. The process works perfectly but the files are being saved in the same folder where my Phyton script is located. I choose a specific Output Folder but the files don't appear there.
Any ways to save the files in the desired folder ?

    


    An error message reads as follows : "input.mp4: No such file or directory"
In my Code block, I censored the playlist link and the user name on the path. Just imagine a working playlist link instead. Thanks in advance !

    


    import os
import subprocess


    


    Replace with the URL of the YouTube playlist

    


    playlist_url = "PLAYLISTLINK"

    


    Set the output directory for the downloaded files

    


    output_dir = "/Users/USER/Documents/VideoBot/Output"

    


    Use youtube-dl to download the latest video in the playlist

    


    subprocess.run(["youtube-dl", "-f", "bestaudio[ext=m4a]", "--playlist-start", "1", "--playlist-end", "1", playlist_url])

    


    Extract the audio from the downloaded video using ffmpeg

    


    subprocess.run(["ffmpeg", "-i", "input.mp4", "-vn", "-acodec", "copy", "output.m4a"])

    


    Move the extracted audio file to the output directory

    


    os.rename("output.m4a", os.path.join(output_dir, "output.m4a"))

    


  • mjpegdec : parse JPS extension and save relevant stereo3d information

    29 janvier 2014, par Kirill Gavrilov
    mjpegdec : parse JPS extension and save relevant stereo3d information
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/mjpegdec.c
    • [DH] libavcodec/mjpegdec.h
  • avformat/hlsenc : save the EXT-X-DISCONTINUITY from old list

    7 décembre 2016, par Steven Liu
    avformat/hlsenc : save the EXT-X-DISCONTINUITY from old list
    

    when use fix ticket 2nd problem.

    command line test step :
    rm -rf output* ;./ffmpeg -i /Movies/objectC/facebook.mp4 -an -c:v copy
    - f hls -hls_time 4 -hls_list_size 5 -hls_flags +delete_segments
    - hls_flags +append_list -hls_flags +omit_endlist -hls_flags
    +discont_start -t 50 output.m3u8
    ./ffmpeg -i /Movies/objectC/facebook.mp4 -an -c:v libx264 -g 4 -f hls
    - hls_time 4 -hls_list_size 5 -hls_flags +delete_segments -hls_flags
    +append_list -hls_flags +omit_endlist -hls_flags +discont_start -t 5
    output.m3u8
    ./ffmpeg -i /Movies/objectC/facebook.mp4 -an -c:v libx264 -g 4 -f hls
    - hls_time 4 -hls_list_size 5 -hls_flags +delete_segments -hls_flags
    +append_list -hls_flags +omit_endlist -hls_flags +discont_start -t 5
    output.m3u8

    result :
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:5
    #EXT-X-MEDIA-SEQUENCE:6
    #EXTINF:4.120000,
    output6.ts
    #EXT-X-DISCONTINUITY
    #EXTINF:4.000000,
    output7.ts
    #EXTINF:0.960000,
    output8.ts
    #EXT-X-DISCONTINUITY
    #EXTINF:4.000000,
    output9.ts
    #EXTINF:0.960000,
    output10.ts

    Signed-off-by : Steven Liu <lq@chinaffmpeg.org>

    • [DH] libavformat/hlsenc.c