Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (69)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (12973)

  • 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