Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (91)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (15483)

  • 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;

  • 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 :

    &#xA;

            logo_path = os.path.join(MEDIA_ROOT, &#x27;logo.png&#x27;)&#xA;&#xA;        logo = (mp.ImageClip(logo_path)&#xA;                .set_duration(video.duration)&#xA;                .resize(height=50)  # if you need to resize...&#xA;                .margin(right=8, top=8, opacity=0)  # (optional) logo-border padding&#xA;                .set_pos(("right", "top")))&#xA;&#xA;        video_path = os.path.join(MEDIA_ROOT, &#x27;test7.mp4&#x27;)&#xA;        audio_path = os.path.join(MEDIA_ROOT, &#x27;temp-audio.m4a&#x27;)&#xA;&#xA;        final = mp.CompositeVideoClip([video, logo])&#xA;        final.write_videofile(video_path, codec=&#x27;libx264&#x27;,&#xA;                              audio_codec=&#x27;aac&#x27;,&#xA;                              temp_audiofile=audio_path,&#xA;                              remove_temp=True&#xA;                              )&#xA;

    &#xA;

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

    &#xA;

       f = open(video_path)&#xA;   flick.videoWithWatermark.save("videoWithWaterMark.mp4", File(f))&#xA;

    &#xA;

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

    &#xA;

    How can I save the video to a FileField ?

    &#xA;

  • Anomalie #2142 (Nouveau) : Balise #SET - espace ajouté lors de l’affectation d’une variable

    1er juillet 2011, par Severo Lipari

    Le code suivant : #SETtoto, a "#GETtoto" rend "a " J’imagine que ca serait mieux si ca rendait "a" sans espace final...