Recherche avancée

Médias (91)

Autres articles (97)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • 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 (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (9218)

  • opus_pvq : add resynth support and band encoding cost function

    12 avril 2017, par Rostislav Pehlivanov
    opus_pvq : add resynth support and band encoding cost function
    

    Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>

    • [DH] libavcodec/opus_pvq.c
    • [DH] libavcodec/opus_pvq.h
  • Python code mutes whole video instead of sliding a song. What shall I do ?

    16 juillet 2023, par Armed Nun

    I am trying to separate a song into 4 parts and slide the parts in random parts of a video. The problem with my code is that the final output video is muted. I want to play parts of the song at random intervals and while the song is playing the original video shall be muted. Thanks to everyone who helps

    &#xA;

    import random&#xA;from moviepy.editor import *&#xA;&#xA;def split_audio_into_parts(mp3_path, num_parts):&#xA;    audio = AudioFileClip(mp3_path)&#xA;    duration = audio.duration&#xA;    part_duration = duration / num_parts&#xA;&#xA;    parts = []&#xA;    for i in range(num_parts):&#xA;        start_time = i * part_duration&#xA;        end_time = start_time &#x2B; part_duration if i &lt; num_parts - 1 else duration&#xA;        part = audio.subclip(start_time, end_time)&#xA;        parts.append(part)&#xA;&#xA;    return parts&#xA;&#xA;def split_video_into_segments(video_path, num_segments):&#xA;    video = VideoFileClip(video_path)&#xA;    duration = video.duration&#xA;    segment_duration = duration / num_segments&#xA;&#xA;    segments = []&#xA;    for i in range(num_segments):&#xA;        start_time = i * segment_duration&#xA;        end_time = start_time &#x2B; segment_duration if i &lt; num_segments - 1 else duration&#xA;        segment = video.subclip(start_time, end_time)&#xA;        segments.append(segment)&#xA;&#xA;    return segments&#xA;&#xA;def insert_audio_into_segments(segments, audio_parts):&#xA;    modified_segments = []&#xA;    for segment, audio_part in zip(segments, audio_parts):&#xA;        audio_part = audio_part.volumex(0)  # Mute the audio part&#xA;        modified_segment = segment.set_audio(audio_part)&#xA;        modified_segments.append(modified_segment)&#xA;&#xA;    return modified_segments&#xA;&#xA;def combine_segments(segments):&#xA;    final_video = concatenate_videoclips(segments)&#xA;    return final_video&#xA;&#xA;# Example usage&#xA;mp3_file_path = "C:/Users/Kris/PycharmProjects/videoeditingscript124234/DENKATA - Podvodnica Demo (1).mp3"&#xA;video_file_path = "C:/Users/Kris/PycharmProjects/videoeditingscript124234/family.guy.s21e13.1080p.web.h264-cakes[eztv.re].mkv"&#xA;num_parts = 4&#xA;&#xA;audio_parts = split_audio_into_parts(mp3_file_path, num_parts)&#xA;segments = split_video_into_segments(video_file_path, num_parts)&#xA;segments = insert_audio_into_segments(segments, audio_parts)&#xA;final_video = combine_segments(segments)&#xA;final_video.write_videofile("output.mp4", codec="libx264", audio_codec="aac")&#xA;

    &#xA;

    I tried entering most stuff into chatGPT and asking questions around forums but without sucess, so lets hope I can see my solution here

    &#xA;

  • FFMPEG audio streaming to icecast lets media players stop after each song

    21 décembre 2020, par ILoveCake

    I have set up FFMPEG audio streaming to an icecast2 server.&#xA;It works, but when I use a loop to stream different songs, media players stop after each song. In detail :

    &#xA;

    for i in 1 2 3&#xA;do&#xA;  ffmpeg -loglevel quiet -hide_banner -re -i test$i.mp3 \&#xA;  -c:a libvorbis -ac 1 -b:a 96K -content_type audio/webm -f webm \&#xA;  icecast://source:password@localhost:8000/stream&#xA;done&#xA;

    &#xA;

    Media players (vlc, mpv, mplayer) would stop after each of the 3 test files. I have to press play again and again. For icecast2 I use the default settings (queue-size 524288, burst-size 65535).

    &#xA;

    How can I have a continuous flow so players don't have to be restarted ?

    &#xA;