Recherche avancée

Médias (91)

Autres articles (80)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (14054)

  • How can I save local video file to django FileField ?

    11 janvier 2021, par Nina deRossi

    I 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 ?

    


  • Applying audio to video background using ffmpeg_kit_flutter package not working in flutter

    2 décembre 2024, par MhmD Yo

    I am trying to merge video and audio and downloading the video in a flutter app using ffmpeg_kit_flutter package, it works fine with the videos that recorded by screen recorder app which records the screen of my phone, but it does not works with the videos that recorded by my phone camera or any video else and I do not know where the problem is.
Here's my code :

    


    Future<void> mergeRecordWithIntro({required String videoPath, required String audiPath, }) &#xA;async &#xA;  {&#xA; final random = Random();&#xA; final directory = await getTemporaryDirectory();&#xA;&#xA; String outputVideoPath = &#x27;${directory.path}/${random.nextInt(10000)}_merged_video.mp4&#x27;;&#xA; String ffmpegCommand = &#x27;-i $videoPath -i $audiPath -c:v copy -c:a aac $outputVideoPath&#x27;;&#xA;&#xA; await FFmpegKit.execute(ffmpegCommand)&#xA;    .then((value) async {&#xA;  await Gal.putVideo(outputVideoPath);&#xA;  emit(MergeVideoAudioSuccessState());&#xA;  }).catchError((error){&#xA;  emit(MergeVideoAudioFailureState());&#xA;  });&#xA;}&#xA;</void>

    &#xA;

  • Anomalie #2824 : Balise #CREDITS

    3 mai 2015, par b b

    @fil du coup le ticket serait à déplacer sur Medias et non le core. Un nouveau ticket serait peut-être mieux au final...