Recherche avancée

Médias (0)

Mot : - Tags -/content

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (73)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP 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 (7309)

  • ffmpeg image watermark on video first half of video on Bottom left and next half of video on Top Right

    23 novembre 2020, par qedsl

    I was playing with this for several hours, I couldn't make so thought of reaching for help, Can you please help me in framing the ffmpeg command to display the watermark Image on the video, For the Initial half video the watermark should be on the bottom left and for the rest half video the watermark shop be on the right top.

    


    Bottom left : ffmpeg -i input.mp4 -i logo.png -filter_complex "overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2" -codec:a copy output.mp4

    


    Top right :
ffmpeg -i input.mp4 -i logo.png -filter_complex "overlay=main_w-overlay_w-5:5" -codec:a copy output.mp4

    


    Also, I had a look on this for Timeoverlay ffmpeg watermark first 30 second.

    


    How to merge all these and satisfy my requirements as mentioned above ?

    


  • releases doc formating

    13 février 2013, par jonrohan
    m docs/releases.md
    
    releases doc formating
  • How do I get duration of an In Memory Video in Python / Django ?

    21 novembre 2019, par Lucas Tonon

    So 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/)