Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (78)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (7677)

  • 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
  • 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
  • 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.&#xA;Any ways to save the files in the desired folder ?

    &#xA;

    An error message reads as follows : "input.mp4: No such file or directory"&#xA;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 !

    &#xA;

    import os&#xA;import subprocess&#xA;

    &#xA;

    Replace with the URL of the YouTube playlist

    &#xA;

    playlist_url = "PLAYLISTLINK"

    &#xA;

    Set the output directory for the downloaded files

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

    Extract the audio from the downloaded video using ffmpeg

    &#xA;

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

    &#xA;

    Move the extracted audio file to the output directory

    &#xA;

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

    &#xA;