Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (71)

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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (8832)

  • cutting multiple segments with ffmpeg [duplicate]

    13 juin 2018, par B Pulsart

    This question already has an answer here :

    So there is a 10 min long .mp4 and I have to cut it in 2 seconds long segments every 10 seconds, then concatenate all 2 sec segments together to get a 2 min long film.

    I manage to do that with a loop in python that subprocep ffmpeg, but it’s long and ugly (cut, cut cut... and then glue)

    Is it a way to do that with just a line in ffmpeg ?

    my code in python for cutting sequences :

    import subprocess# as sp

    ffmpeg = file on disk # on Windows
    film_in =  a file name

    t_total = 10#min
    t_sec = t_total*60

    def c_cut(time) :
       cmd = [ffmpeg  , '-i' ,film_in ,'-b:v', '800k' ,'-ss', str(time) , '-t','2' , '-an', film_out]
       return cmd


    for tps in range(0, t_sec, 10) :
       film_out = a file name unique for each segment
       command = c_cut(tps)
       subprocess.call(command)
  • how do I only output a single video stream per HLS output

    20 octobre 2018, par Marc Archenault

    I have successfully output 3 HLS output using -map 360, 720 & 1080p. My source file is 540p. once generated I use ffprobe on the newly created 360.ts, 720.ts, and 1080.ts and notice that there is a second video channel. This channel is the input video. How do I have FFmpeg not output the original video as part of the output ?

    this is the ffprobe on 360.ts

    Stream #0:0[0x100] : Video : h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:10x101 : Audio : aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 100 kb/s
    Stream #0:2[0x102] : Video : h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 960x540 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc

    This is the FFmpeg command

    %ffmpeg% -loglevel fatal -threads %threads% -hide_banner -y -i %input% -i %overlayImg%^
    -filter_complex "[1]colorchannelmixer=aa=%thumbopacity%,scale=iw*%thumbscale% :-1[wm] ;[0:v][wm]overlay=(main_w-overlay_w)-36 :(main_h-overlay_h)-21,split=4[a][b][c][d] ;[a]scale=w=640:h=360:force_original_aspect_ratio=decrease[a] ;[b]scale=w=1280:h=720:force_original_aspect_ratio=decrease[b] ;[c]scale=w=1920:h=1080:force_original_aspect_ratio=decrease[c] ;[d]scale=w=1280:h=720:force_original_aspect_ratio=decrease[d]"^
    -map "[a]" -map 0 -c:a aac -ar 48000 -c:v h264 -profile:v main -movflags +faststart -tune film -crf %crf% -preset %preset% -sc_threshold 0 -g 72 -keyint_min 72 -hls_time 4 -hls_playlist_type vod -b:v 800k -maxrate 856k -bufsize 1200k -b:a 96k -hls_flags single_file^
    %output%\360p.m3u8^
    -map "[b]" -map 0 -c:a aac -ar 48000 -c:v h264 -profile:v main -movflags +faststart -tune film -crf %crf% -preset %preset% -sc_threshold 0 -g 72 -keyint_min 72 -hls_time 4 -hls_playlist_type vod -b:v 2800k -maxrate 2996k -bufsize 4200k -b:a 128k -hls_flags single_file^
    %output%\720p.m3u8^
    -map "[c]" -map 0 -c:a aac -ar 48000 -c:v h264 -profile:v main -movflags +faststart -tune film -crf %crf% -preset %preset% -sc_threshold 0 -g 72 -keyint_min 72 -hls_time 4 -hls_playlist_type vod -b:v 5000k -maxrate 5350k -bufsize 7500k -b:a 192k -hls_flags single_file^
    %output%\1080p.m3u8^
    -map "[d]" -map 0 -c:a aac -ar 48000 -c:v h264 -profile:v main -preset %preset%^
    %output%\720.mp4^
    -map 0:v -y -ss 0.5 -vframes 1 -s %thumbsize% -ss 30^
    %outputthumb%

    thank you.

  • libdav1d : update API usage to the first stable release

    11 décembre 2018, par James Almer
    libdav1d : update API usage to the first stable release
    

    The color fields were moved to another struct, and a way to propagate
    timestamps and other input metadata was introduced, so the packet
    fifo can be removed.

    Add support for 12bit streams, an option to disable film grain, and
    read the profile from the sequence header referenced by the ouput
    picture instead of guessing based on output pix_fmt.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DBH] configure
    • [DBH] libavcodec/libdav1d.c
    • [DBH] libavcodec/version.h