
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (34)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (3852)
-
hwcontext : Mark local table static const
13 juin 2017, par Mark Thompson -
Anomalie #3458 (Résolu) : en local sous wamp warning bloquant à l’install
4 juin 2015, par marcimat ☺☮☯♫Merci. Clos.
-
How can I save local video file to django FileField ?
11 janvier 2021, par Nina deRossiI create a local video file (.mp4) by adding a logo to an existing video with the following code :


logo_path = os.path.join(MEDIA_ROOT, 'logo.png')

 logo = (mp.ImageClip(logo_path)
 .set_duration(video.duration)
 .resize(height=50) # if you need to resize...
 .margin(right=8, top=8, opacity=0) # (optional) logo-border padding
 .set_pos(("right", "top")))

 video_path = os.path.join(MEDIA_ROOT, 'test7.mp4')
 audio_path = os.path.join(MEDIA_ROOT, 'temp-audio.m4a')

 final = mp.CompositeVideoClip([video, logo])
 final.write_videofile(video_path, codec='libx264',
 audio_codec='aac',
 temp_audiofile=audio_path,
 remove_temp=True
 )



I want to save the new video to a FileField of my model.
Here is the code :


f = open(video_path)
 flick.videoWithWatermark.save("videoWithWaterMark.mp4", File(f))



I keep getting the error :
'ascii' codec can't decode byte 0xd1 in position 42 : ordinal not in range(128)


How can I save the video to a FileField ?