Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (48)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • 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

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

  • moviepy output video only has sound in vs code and chrome but not in quicktime (the mac video player)

    24 janvier 2023, par UrLocalGoose

    I am using moviepy to make simple videos that require adding background music to a video. I have built essentially the whole application but I ran into a problem when showing people the videos. I tried emailing myself the video and it didn't have any sound, then I tried to play the video with the built in mac video player, quicktime, and it didn't have any sound, however, when I played the video in vs code's video player it worked perfectly, I also used the file path to view the video in chrome, and that worked too. I suspect that it has something to do with the encoding but I am a novice when it comes to video and audio encoding. This is what my code looks like :

    


    from moviepy.editor import *

background_video = VideoFileClip("./background.mp4")

background_music_audio = AudioFileClip("./music.wav")

comp = background_video.set_audio(background_music_audio)

comp.write_videofile("./test.mp4")


    


    I tried to make a video with background music but it had no sound

    


  • How to overlay two video files including audio of each video using ffmpeg"

    11 janvier 2023, par user255048

    i would like to merge some music (video file) and singing (video file) into one video file.

    


    i've tried with this :

    


    ffmpeg -i music.mp4 -itsoffset 2 -i sing01.mp4 -filter_complex  overlay=635:300 test.mp4


    


    and everything is fine, except that i cannot hear the singing. what i should add to this command to do the job correctly ?

    


    thanks

    


  • Ffmpeg split video file to few video files (with fixed duration) with playlist

    13 septembre 2020, par Kiril Mytsykov

    I need to split video file by duration (for example, if I have video file with duration of 30sec and I want to get 10 chunks : 3sec, 3sec etc.. and m3u8 playlist).

    


    I have my-video.mp4 (30 sec).
When I run this command :

    


    ffmpeg -i my-video.mp4 -c:v libx264 -c copy -an -map 0 -muxdelay 0 -muxpreload 0 -output_ts_offset 0 -f segment -segment_time 3 -segment_wrap 1000 -segment_list_size 1 -segment_list my-video.m3u8 -segment_list_flags +live my-video-%03d.mp4


    


    The first problem is :
I receive only 4 mp4 files :

    


    my-video-000.mp4 (8sec)
my-video-001.mp4 (8sec)
my-video-002.mp4 (8sec)
my-video-003.mp4 (5sec)


    


    The second problem is :
my-video.m3u8 playlist is created, but with last segment only :

    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:3
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:6
#EXTINF:5.033333,
my-video-003.ts 
#EXT-X-ENDLIST


    


    What's wrong with my command. I have tried a lot of different combinations (after reading http://ffmpeg.org/ffmpeg-formats.html#segment_002c-stream_005fsegment_002c-ssegment and similar questions/answers on stackoverflow, but didn't succeed)