Recherche avancée

Médias (91)

Autres articles (32)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (4410)

  • List Directory of files to text file sorted by creation date but don't show creation creation date in file

    25 mars 2019, par Oli Shingfield

    I’ve been doing some research on this problem but I can’t get my head around it to suit my particular issue.

    I would like to create a text file of a list of files in a directory, sorted by date but I don’t want the date to be shown in the file.
    The code I have so far is :

    #create list of clips to merge
    save_path = 'downloads/'
    ignored = 'test.bat','mergeclips.bat','draw.bat'
    onlyfiles = [f for f in listdir('downloads/') if isfile(join('downloads/', f)) if f not in ignored]

    with open('downloads/clipstomerge.txt', 'w') as f:
       for item in onlyfiles:
           f.write("file '%s'\n" % item )

    This code ignores the bat files but lists everything else out to a text file in a format ready for ffmpeg to merge the clips. The format of the text file looks like this :

    file 'ARandomClipName.mov'
    file 'Butterflies.mov'
    file 'Chickens.mov'

    At the moment the files are sorted alphabetically but I would like it to be sorted by creation date.
    Does anyone have any ideas how I could modify my code to fix my problem ?

  • avfilter/internal : add more words to sentance

    15 juillet 2015, par Michael Niedermayer
    avfilter/internal : add more words to sentance
    

    Hopefully fixes english syntax

    Found-by : ubitux
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavfilter/internal.h
  • Get audio (M4A or MP3) file links directly from YouTube

    10 mars 2018, par Alex

    I am developing a PHP script that obtains video download links from YouTube. The ones I am grabbing are MP4 (720p) and MP4 (360p) (no-DASH format).

    My script is similar to this PHP class : https://github.com/Athlon1600/youtube-downloader

    It allows me to download any YouTube video that I want, no matter if it has copyright or not. It handles everything with signature ciphering and deciphering included.

    However, apart from videos, I would like to obtain audio download links from YouTube videos as well, either in MP3 or M4A.

    (M4A files are provided by YouTube, but they are in DASH format, which means, it’s not a complete file, but a collection of files that need to be merged together)

    Is there a way to obtain MP3 audio download links directly from YouTube ?

    I would like to avoid using FFMPEG library as it requires a lot of resources.

    In the case that using a library like that is the only option, what’s the most optimal way to convert MP4 files to MP3 files ?

    Is there any more efficient alternative than FFMPEG ?

    PLEASE avoid comments regarding YouTube TOS