Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (25)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

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

Sur d’autres sites (7577)

  • Is it possible to add stroke to text in ffmpeg

    5 mai 2021, par DLucky Studio

    I would like to add black stroke to text in ffmpeg. Is it possible ?

    


    ffmpeg -y -i video.mp4 -vf drawtext="fontfile=arialuni.ttf:textfile=z1.txt : x=0/2:y=h-t*13:fontcolor=white:fontsize=35:shadowcolor=black:shadowx=10:shadowy=10" -shortest -vcodec libx264 -pix_fmt yuv420p -r 25 -g 160 -b:v 4000k -profile:v main -level 3.1 -acodec libmp3lame -b:a 128k -ar 44100 -preset superfast output1.mp4


    


  • Stacking videos with ffmpeg via MATLAB not working as expected

    18 juillet 2022, par ersatzsheep

    I am stacking 4 video inputs in a 2x2 grid and running into a conversion failure.

    


    Basically, at least one of the videos is just a filler black video that I generated with this line (MATLAB, hence the eval) :

    


    eval(['!ffmpeg -framerate 1/3600 -i black_frame.JPG -c:v libx264 -t 3600 -pix_fmt yuv420p -vf scale=320:240 black_frame.mp4']);


    


    The other video inputs are 4 hr long videos with identical specs. I've concatenated them with this line :

    


    eval(['!ffmpeg -i "' v1 '" -i "' v3 '" -i "' v2 '" -i "' v4 '" -filter_complex "  [0:v] setpts=PTS-STARTPTS, scale=qvga [a0]; [1:v] setpts=PTS-STARTPTS, scale=qvga [a1]; [2:v] setpts=PTS-STARTPTS, scale=qvga [a2];  [3:v] setpts=PTS-STARTPTS, scale=qvga [a3];  [a0][a1][a2][a3]xstack=inputs=4:layout=0_0|0_h0|w0_0|w0_h0[out] "  -map "[out]" -c:v libx264 "' output '"'])  


    


    When I input v1-v4 with normal videos (not the filler black video), it outputs very quickly and everything is good. The line to generate the filler black video is very fast too. But when I sub one of the video inputs with the file path for the filler black video, the speed tanks exponentially, stalls, and conversion fails.

    


    Any pointers for me ? I also tried just subbing one of the inputs with a black image file instead of generating a whole video and inputting that. But it does the same thing :/ Does it have to do with frame rate ? Should I try a different approach ? Thanks.

    


  • Youtube-dl cannot read various set on batch script

    18 novembre 2019, par Al UrbaseR Blongtous

    I created an batch-script that positioned with youtube-dl and ffmpeg. I set several set to put URL and Video/Audio ID. Here my script that I simplified

    @echo off
    cd /d %root%\YT
    color 0a
    title Youtube Downloader
    setlocal enableDelayedExpansion
    set q=^"
    color 0a

    :submenu
    echo Please enter URL.
    set /p f1="URL: "
    echo Checking ID...
    youtube-dl -F %f1%
    ping localhost -n 2 >nul
    goto menu

    :menu
    echo.
    echo Script created by UrbaseR
    echo ___________________________________________________________
    echo.
    echo                          MENU
    echo ___________________________________________________________
    echo OS Windows - %ComputerName%
    echo.
    echo M E N U
    echo Press 1 to Download Best version
    echo Press 2 to Download Custom version + convert
    echo Press 3 to Exit

    set /p you=">"
    if %you%==1 goto 1
    if %you%==2 goto 2
    if %you%==3 goto 3

    cls
    echo *********************************
    echo Sorry invalid number!
    echo *********************************
    ping localhost -n 2 >nul
    goto menu

    :1
    echo Downloading...
    youtube-dl -f best %f1%
    echo.
    echo Done
    ping localhost -n 2 >nul
    cls
    goto submenu

    :2
    set /p id1="Insert Video ID: "
    set /p id2="Insert Audio ID: "
    echo Downloading Video..
    youtube-dl -f %id1% -ciw -o "vid.%(ext)s" -v --write-sub %f1%
    echo.
    echo Video Done
    ping localhost -n 2 >nul
    echo Downloading Audio..
    youtube-dl -f %id2% -ciw -o "aud.%(ext)s" -v %f1%
    echo.
    echo Audio Done
    ping localhost -n 2 >nul
    echo Converting Video
    ffmpeg -i "vid.%(ext)s" -i "aud.%(ext)s" -c:v copy -c:a aac -strict experimental "input.mkv"
    echo Converting Done
    ping localhost -n 4 >nul
    cls
    goto submenu

    :3
    exit

    First and third option execute successfully. Second option will appear the message like this :

    Usage : youtube-dl [OPTIONS] URL [URL...]
    youtube-dl : error : You must provide at least one URL.

    Type youtube-dl —help to see a list of all options.

    Note : Since I stuck on first and second stage of youtube-dl, ffmpeg may not work (I have not tested it yet).

    Can you help me ?