Recherche avancée

Médias (91)

Autres articles (100)

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

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (12821)

  • Same command but different result, odd behavior between cmd and python subprocess

    22 juin 2020, par Josh Katz

    Hello and thanks everyone, I am having a very strange phenomenon and I hope you can help me solve it, I run a command through the cmd to save video coming from a camera to a local file in my computer,the command is :

    


    ffmpeg -rtsp_transport tcp -i "rtsp ://root:senswim2018@10.0.0.101/axis-media/media.amp" -c copy foo.mp4

    


    when I run the command through the cmd it works fine (recorded a video longer than 12 hours), but when I run it as a command "Using the subprocess in Python, it only records around 5:30 minutes

    


    cmd = ["ffmpeg","-rtsp_transport","tcp", "-i", "rtsp ://root:senswim2018@10.0.0.101/axis-media/media.amp" ,"-c", "copy","foo.mp4"]

    


    process = subprocess.Popen(cmd , stdout=subprocess.PIPE, stderr=subprocess.STDOUT)

    


    time.sleep(600000)

    


    process.terminate()

    


    This matter is very confusing and unclear to me, I would be very happy if you could give some insight thanks.

    


  • Concat videos too slow using Python MoviePY

    29 juin 2021, par Mathematics

    I am joining 50s or more videos of 1,2,3 minutes using MoviePY but it's giving me 20 hours, even though I have 64 GB of ram, i7 and GTX 670, not top of range yet reasonable. Is there anyway I can speed this process up ?

    



    padding = 10 # padding option
video_clips = [VideoFileClip(video_dir + video) for video in os.listdir(video_dir)]
video_fx_list = [video_clips[0]]

idx = video_clips[0].duration - padding
for video in video_clips[1:]:
video_fx_list.append(video.set_start(idx).crossfadein(padding))
idx += video.duration - padding

final_video = CompositeVideoClip(video_fx_list)
final_video.write_videofile(video_dir + 'myoutfile.mp4', fps=24)


    



    I don't need original audio these clips have, would removing it going to speed things up ? not sure how to remove audio though/

    



    enter image description here

    


  • How to Replace Duplicate Frames in a Video with Black Frames using ffmpeg ?

    21 mars 2021, par Yam Shargil

    I'm trying to trim all "no action, no movement" frames out of my screen recording. Some of my screen recordings are really long (like 100 hours long).

    


    I found this :
How to Simply Remove Duplicate Frames from a Video using ffmpeg

    


    ffmpeg -i in.mp4 -vf
"select='if(gt(scene,0.01),st(1,t),lte(t-ld(1),1))',setpts=N/FRAME_RATE/TB"
trimmed.mp4


    


    I don't want to lose any important frames, so for testing the threshold purposes, I want to replace (not remove) all the "no action" frames with black frames.

    


    That's my best shot so far, not my proudest work :

    


    ffmpeg -i in.mp4 -vf "select='if(gt(scene,0.01),st(1,t),lte(t-ld(1),1))',drawbox=color=black:t=fill" out.mp4