Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (78)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (7970)

  • Adjust the max number of files inside of the resize callback. Fixes #1106.

    21 mars 2012, par Sebastian Tschan

    m js/jquery.fileupload-ui.js Adjust the max number of files inside of the resize callback. Fixes #1106.

  • Concatenate a large number of videos with moviepy

    10 décembre 2016, par Anis Souames

    I’m using moviepy to create compilations automatically, I have around 20 mp4 videos with less than 2 mins each that are concatenated into one large video file using moviepy .
    However I’m facing a lot of difficulty because each time I try to concatenate this large number of videos I get an OSError: Cannot Allocate Memory Error . So the way I’m doing it is that I first create one part with 10 vids and a second part with 10 vids and then concat both of them. this method works however it’s very time and cpu consuming .

    Is there a straight forward way to concatenate a large number of videos ? My bot is running on an Ubuntu Server with 1GB of RAM and 10 GB of disk space . For 20 typical vids I have approxiamtely 60MB of vids to get processed and compiled . 1GB of ram should handle this without any problem. :

    Here’s the code I’m using :

    for video_name in videos_filename[0:len(videos_filename)/2]:
       try:
           print video_name
           clip = mv.VideoFileClip(video_name, audio=True)
           clip = clip.resize(width=720, height=480)
           video_clips.append(clip)
       except:
           print "Error in adding clips.... Part 1"
       pdb.set_trace()
       final_clip = mv.concatenate_videoclips(clips=video_clips, method="compose")
       finalFile = mv.write_videofile(someName, fps=60, codec="libx264")

    I’m sure that the mv.concatenate_videoclips(clips=video_clips, method="compose) is responsible for the error that I’m getting, How can I fix that and stop using a partial solution ? Should I quit moviepy and use another module ? Maybe ffmpeg directly ?

  • FFMPEG scene detection : overlay original frame number

    21 décembre 2020, par Fugi

    I'm able to extract all frames that are not similar to the previous frame from a video file using ffmpeg -i video.mp4 -vf "select=gt(scene\,0.003),setpts=N/(30*TB)" frame%d.jpg (source)

    


    I would like to overlay the frame number onto each selected frame. I tried adding drawtext=fontfile=/Windows/Fonts/Arial.ttf: text='frame\: %{frame_num}': x=(w-tw)/2: y=h-(2*lh): fontcolor=white: box=1: boxcolor=0x00000000@1: fontsize=30 to the filter after select and setpts, however %frame_num returns 1, 2, 3, ... (source)

    


    If I put drawtext before select and setpts, I get something like 16, 42, 181, ... as frame numbers (which is exactly what I want), but since the scene detection runs after adding the text overlay, changes in the overlay may be detected as well.

    


    Is it possible to do the scene detection and overlay independently from another ? [in] split [out0][out1] can be used to apply filters separately, but I don't know how to "combine" the results again.