Recherche avancée

Médias (91)

Autres articles (18)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (4725)

  • FFMPEG Crop with side by side merge

    14 février 2016, par Alan

    I am trying to create a shell/ffmpeg script that can show multiple files after they have been processed using different filters in a side by side / tiled way. An example of desired output would be : https://www.youtube.com/watch?v=DoPuhMRYem4.

    In order to create the desired output I need to crop off the right half of video1 and the left half of video2 and then join them back with [video1+video2] side by side. I have played around with a bunch of different ways of joining them, this does OK :

    ffmpeg -i input1.mp4 -i input2.mp4 -filter_complex "
    nullsrc=size=800x400 [background];
    [0:v] setpts=PTS-STARTPTS, scale=400x400 [left];
    [1:v] setpts=PTS-STARTPTS, scale=400x400 [right];
    [background][left]       overlay=shortest=1       [background+left];
    [background+left][right] overlay=shortest=1:x=400 [left+right]
    " -map '[left+right]' joined.mp4

    How can I modify this to detect the video width (they won’t always be the same width), divide the width in half and crop either the left or right sides off ?

  • Batch Script to Download Video with youtube-dl and Convert with FFmpeg

    24 octobre 2019, par Matt McManis

    I’m trying to

    1. Using a single batch script to
    2. Download an mp4 video using youtube-dl
    3. Save the video’s original title to a batch variable
    4. Convert the video to webm with FFmpeg

    I want to keep the original title, so it needs to read the title with youtube-dl, save it to a variable, and use that variable for FFmpeg input/output filename.


    CMD Batch

    1. Download Video

    youtube-dl -f best "https://www.youtube.com/watch?v=TWNhqCHw0qc" -o "C:\Users\Matt\Downloads\%%(title)s.mp4" --merge-output-format mp4

    2. Download Video using Loop

    This is used to save the title to a variable %%a.

    for /f "delims=" %%a in ('youtube-dl -f best "https://www.youtube.com/watch?v=TWNhqCHw0qc" -o @"C:\Users\Matt\Downloads\%%(title)s.mp4" --merge-output-format mp4') do (echo example)

    3. Final Script
    Download Video, Save Title, Convert with FFmpeg

    Sorted

    for /f "delims=" %%a in ('
       youtube-dl
       -f best "https://www.youtube.com/watch?v=TWNhqCHw0qc"
       -o @"C:\Users\Matt\Downloads\%%(title)s.mp4"
       --merge-output-format mp4
       ')

    do (ffmpeg -y
       -i "C:\Users\Matt\Downloads\%%a.mp4"
       -c:v libvpx -b:v 1300K -crf 16 -pix_fmt yuv420p
       -map 0:v:0? -sn
       -c:a libvorbis -q:a 6 -ac 2 -map 0:a:0?
       -f webm
       "C:\Users\Matt\Downloads\%%a.webm"
       )

    Inline

    for /f "delims=" %%a in ('youtube-dl -f best "https://www.youtube.com/watch?v=TWNhqCHw0qc" -o @"C:\Users\Matt\Downloads\%%(title)s.mp4" --merge-output-format mp4') do (ffmpeg -y -i "C:\Users\Matt\Downloads\%%a.mp4" -c:v libvpx -b:v 1300K -crf 16 -pix_fmt yuv420p -map 0:v:0? -sn -c:a libvorbis -q:a 6 -ac 2 -map 0:a:0? -f webm "C:\Users\Matt\Downloads\%%a.webm")

    Error

    Before the script can ever reach FFmpeg, youtube-dl fails to download the file. It says the file has already been downloaded, even when there is no file in the directory.

    [download] @C#\Users\Matt\Downloads\Color Balloons.mp4 has already
    been downloaded

  • download compressed video from m3u8 link

    6 juin 2020, par alsaibi

    i'm making a python script to download videos from a site

    



    it's working perfectly but some videos are m3u8

    



    the links are something like this

    



    https:\/\/dl.v.vrv.co\/evs\/5e915ac2127515861ea2563ca4e3eb25\/assets\/jpy1j4wghs4eepk_,1605371.mp4,1605379.mp4,1605363.mp4,1605355.mp4,1605347.mp4,.urlset\/master.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cCo6Ly9kbC52LnZydi5jby9ldnMvNWU5MTVhYzIxMjc1MTU4NjFlYTI1NjNjYTRlM2ViMjUvYXNzZXRzL2pweTFqNHdnaHM0ZWVwa18sMTYwNTM3MS5tcDQsMTYwNTM3OS5tcDQsMTYwNTM2My5tcDQsMTYwNTM1NS5tcDQsMTYwNTM0Ny5tcDQsLnVybHNldC9tYXN0ZXIubTN1OCIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTU5MTU1ODg4Nn19fV19&Signature=S7bDaUsOAplp437a-2hBIiED-jgwGCHups-cCHFK0etbVwn5O0Lx09~yiPvOnL9kae3AHFbPnlduxwotDDzKUMy01Swbudjz~HLwR26Lp1fb1vKAhZDgM1LJPkBFuQSbCYfN4cKG2aihTfbxNy3S63sUdQJouVjxwgkIj069kIjTmj7GsMfFgqrvYZja~RUOvF7n4evA0iisKbzTio4gB3gGYBhqOe~rh1rSbqGsO92U1AiflVGETpgo~z0p89agQGK4LHamKEWQUF2vITqYA2WXKYV1qNNg5JJ3ZDJUp3L3qE2zCBige1qw9UYtxr7jvg-PhZh4Esr07xS5G7UfQA__&Key-Pair-Id=DLVR


    



    i'm trying to download mp4 or mkv file to watch the video offline

    



    i tried using ffmpeg and youtube-dl

    



    they only work after changing \/ in the link to //

    



    ffmpeg command i used ffmpeg -i "Link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 file.mp4

    



    that's not the problem

    



    they download the full raw video file which is around 1.5GB

    



    but in the site watching the video take maximum 250MB at highest quality

    



    and the download is really slow for some reason

    



    it take almost 1 hour to download 1 video

    



    and at the end video don't open after finish downloading

    



    vlc say it's corrupted

    



    isn't there is a way to convert the link to direct link to compressed file link ?

    



    the site take 200MB to watch the video and loading the video is fast but downloading it from the link above take 1.5GB and it's soo slow