
Recherche avancée
Médias (2)
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
Autres articles (69)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (7894)
-
vp9lpf/x86 : save one register in loopfilter surface coverage.
20 décembre 2014, par Ronald S. Bultje -
Save generated image to ImageField model Django
7 janvier 2023, par MrLonely

Detected path traversal attempt in '/home/mrlonely/Desktop/lumen/lumen/media/thumbnail/6.jpeg'




When i run this in the views.py :


def generate_thumbnail(instance):
 post = Post.objects.get(pk=instance.pk)
 output = 'media/thumbnail/' + post.title + '.jpeg'
 filename_thumbnail = Path.joinpath(filename, output) 
 try:
 (
 ffmpeg
 .input(str(filename)+post.video.url, ss='00:00:20')
 .output(output, vframes=1)
 .overwrite_output()
 .run(capture_stdout=True, capture_stderr=True)
 )
 with open(filename_thumbnail, 'rb') as file_handler:
 django_file = File(file_handler)
 post.thumbnail.save(filename_thumbnail, 'thumbnail/')
 except ffmpeg.Error as e:
 print(e.stderr.decode(), file=sys.stderr)
 sys.exit(1)



I am trying to connect the ffmpeg generated thumbnail to the model ImageField on the Post model (instance is post)


-
How to convert a CCTV footage into time lapse video by cutting parts of the video by a set interval on FFMPEG [duplicate]
2 décembre 2020, par markI have bunch of CCTV footages and I want it to look like it was recorded from a time lapse camera. One video file is around 3 hours long capturing scenes in real time (from 1pm-3pm for example). And in one day, I'll get around 8 footages (8files * 3hours = 24hours = 1 day)


I want to convert those 24hours worth of footages to 1min making 1 day = 1min of video not just making it fast but actually cutting some of the scenes by a set interval. Usually, a time lapse camera has an interval of one photo per 10 min and at the end of the day, it will stitch them into one video. How can I do something like that on FFMPEG ?


I'm using FFmpeg Batch converter and here's my code so far. It just makes my videos faster but not cutting it into itervals


-filter:v "setpts=0.25*PTS" -an



I ended up with this code :


-vf framestep=25,select='not(mod(n,1000))',setpts=N/FRAME_RATE/TB -an



The above code will make a 1hr long video into 4sec which is perfect for my needs.