
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (67)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (8216)
-
How do I get duration of an In Memory Video in Python / Django ?
19 juillet, par Lucas TononSo I was successfully using the following code to get the duration of a saved video in Django.



def get_video_length(file_path):
command = [
 'ffprobe',
 '-v',
 'error',
 '-show_entries',
 'format=duration',
 '-of',
 'default=noprint_wrappers=1:nokey=1',
 file_path
 ]

try:
 output = check_output( command, stderr=STDOUT ).decode()
except CalledProcessError as e:
 output = e.output.decode()

return output




But now I need to get the duration of an uploaded file before saving it.
I have a serializer with a FileField and on validate method I should check the video duration.
For instance :



class VideoSerializer(serializers.Serializer):
video = serializers.FileField(required=True, validators=[validate_media_extension, validate_video_duration])




Then on validate_video_duration I needed to call some method like get_video_length, but I need an alternative to get the duration from the video in memory. The object that I have is an instance of InMemoryUploadedFile (https://docs.djangoproject.com/en/2.2/_modules/django/core/files/uploadedfile/)


-
releases doc formating
13 février 2013, par jonrohanm docs/releases.md
releases doc formating
-
Overlaying a video, a text and an image on another video using FFMpeg
11 janvier 2019, par leoI want to overlay a video, a text, and an image on another video using FFMpeg but I do not know how can I do that. My scenario like that ;
Base Video :
I have a base video which is 2 minutes in length.
Overlay Videos :
I have 3 videos which are 7 seconds in length. I am trying to put these files on some specific times for example first : 20 : 27 seconds, second 40:47 seconds, third : 60:67 second as fully covered basic video.I have one image and it will be overlaid on base video between 10:15 seconds for a specific position on the base video.
I have one text and it will be overlaid on base video between 10:15 seconds for a specific position on the base video.How can I do that with FFMpeg command ? And Can I do that with one command ?