Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (80)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (9912)

  • ffmpeg multiple input video in grid and simultaneous audio

    13 février 2023, par Hnusny Pleb

    i would like to copy a video into n videos in one grid :
best example : https://www.youtube.com/watch?v=lYKDTLGH-TQ&ab_channel=TheRabbit_123

    


    This is my code, its working, but problem is, the audio seems to be like its played by one version.. I want the "echo" thats created by a lot of files like on the video above.

    


    def create_4_in_one(number):
shutil.copy("start.mp4", f"video.mp4")
for i in range(number):
    shutil.copy("video.mp4", f"temp_videa/{i}.mp4")
    subprocess.call(f'ffmpeg -y -i video.mp4 -vf "scale=iw/2:ih/2" -c:a copy video_half.mp4',
                  shell=True)
    subprocess.call(f'ffmpeg -y -i video_half.mp4 -i video_half.mp4 -i video_half.mp4 -i video_half.mp4 -filter_complex "[0:v][1:v]hstack[t];[2:v][3:v]hstack[b];[t][b]vstack[v]; [0:a][1:a][2:a][3:a]amerge=inputs=4[a]" -map "[v]" -map "[a]" -map 0:a -map 1:a -map 2:a -map 3:a -c:a aac -b:a 128k -ac 2 -shortest output.mp4',
                  shell=True)
    os.remove("video.mp4")
    os.remove("video_half.mp4")
    os.rename('output.mp4', 'video.mp4')

os.remove("video.mp4")


    


    Thanks in advance.

    


  • Anomalie #4598 (Fermé) : PHP 8 : Resource vs GdImage object problem.

    4 novembre 2020

    GD ne retourne plus une "resource", mais une instance de GdImage.

    Ça fait planter une partie des filtres images dans SPIP.
    Notamment s’il y a des tests avec is_resource()

    Exemple :

    Warning : Trying to access array offset on value of type bool in [...]ecrire/inc/filtres_images_lib_mini.php on line 1607 à 1610
    

    Qui provient de grosso modo :
    [(#CHEMINun_fichier.png|image_applatirico)]

    Docs

    - https://php.watch/versions/8.0/gdimage
    - La correction chez WP : https://core.trac.wordpress.org/ticket/50833

    Avec la solution proposée :

    Note that in PHP 7.2 and older, instanceOf operator requires an object. If you need to make your code function across PHP versions older than 7.3 through PHP 8.0, you will need an additional is_object() check :

    - if (is_resource($image))
    + if (is_resource($image) || (is_object($image) && $image instanceOf \GdImage))

  • 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