Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (68)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

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

Sur d’autres sites (5987)

  • 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

    


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

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