Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (56)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (10167)

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

  • ffmpeg : capture two screens simultaneously, save as two separate files

    9 janvier 2017, par wetjosh

    Is this possible ? Here is my working single file solution. How can I modify it to save two separate files instead ?

    ffmpeg \
    -f avfoundation -pix_fmt uyvy422 -s 1440x900 -i 1 \
    -f avfoundation -pix_fmt uyvy422 -s 1440x900 -i 2 \
    -pix_fmt yuv420p -r 30 -preset ultrafast -b:v 5000k -t 15 \
     -filter_complex \
       "nullsrc=size=2880x900 [background]; \
       [0:v] setpts=PTS-STARTPTS, scale=1440x900 [left]; \
       [1:v] setpts=PTS-STARTPTS, scale=1440x900 [right]; \
       [background][left] overlay=shortest=1 [background+left]; \
       [background+left][right] overlay=shortest=1:x=1440 [left+right]" \
     -map [left+right] out.mov

    I’ve tried removing the filter complex. I’ve tried adding two output files. I’ve tried various combinations of mapping. The following is the closest I’ve gotten to making it work. It creates two files, but both contain only the second stream (-i 2).

    ffmpeg \
    -f avfoundation -pix_fmt uyvy422 -s 1440x900 -i 1 \
    -f avfoundation -pix_fmt uyvy422 -s 1440x900 -i 2 \
    -pix_fmt yuv420p -r 30 -preset ultrafast -b:v 5000k -t 15 out1.mov \
    -pix_fmt yuv420p -r 30 -preset ultrafast -b:v 5000k -t 15 out2.mov