Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (49)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (9677)

  • Webcam Serverless Live stream

    23 juillet 2021, par curiouscoder

    I'm trying to live stream my webcam in a serverless way in the following flow :

    


    webcam browser >> s3 bucket >> lambda/ffmpeg encoding >> s3 output bucket >> dash player

    


    This is working really good so far but I'm facing the following problem :

    


    ffmpeg will only encode those seconds received (I stream the webcam to s3 each X seconds with some 300kb .webm file). So the .mpd file generated by ffmpeg encoder will have the type 'static' when ffmpeg finishes encoding and not the 'dynamic' type desired. Therefore, the dash player won't request the other files from s3 and the streaming will stop. For example, if I let the webcam streaming running for 15 seconds, the viewer is able to watch the 15 minutes. But if I keep sending the streams each 2 seconds the viewer will be able to watch only the first 2 seconds because browser won't request any other .m4s files.

    


    So, I have the following question :

    


    Is there a way to force the dash player to reload the .mpd file that is stored in s3 even when the type is static instead of dynamic ?

    


    Thanks in advance !

    


  • ffmpeg multiple input video in grid and simultaneous audio

    13 février 2023, par Hnusny Pleb

    i would like to copy a video into n videos in one grid :
best example : https://www.youtube.com/watch?v=lYKDTLGH-TQ&ab_channel=TheRabbit_123

    


    This is my code, its working, but problem is, the audio seems to be like its played by one version.. I want the "echo" thats created by a lot of files like on the video above.

    


    def create_4_in_one(number):
shutil.copy("start.mp4", f"video.mp4")
for i in range(number):
    shutil.copy("video.mp4", f"temp_videa/{i}.mp4")
    subprocess.call(f'ffmpeg -y -i video.mp4 -vf "scale=iw/2:ih/2" -c:a copy video_half.mp4',
                  shell=True)
    subprocess.call(f'ffmpeg -y -i video_half.mp4 -i video_half.mp4 -i video_half.mp4 -i video_half.mp4 -filter_complex "[0:v][1:v]hstack[t];[2:v][3:v]hstack[b];[t][b]vstack[v]; [0:a][1:a][2:a][3:a]amerge=inputs=4[a]" -map "[v]" -map "[a]" -map 0:a -map 1:a -map 2:a -map 3:a -c:a aac -b:a 128k -ac 2 -shortest output.mp4',
                  shell=True)
    os.remove("video.mp4")
    os.remove("video_half.mp4")
    os.rename('output.mp4', 'video.mp4')

os.remove("video.mp4")


    


    Thanks in advance.

    


  • download compressed video from m3u8 link

    6 juin 2020, par alsaibi

    i'm making a python script to download videos from a site

    



    it's working perfectly but some videos are m3u8

    



    the links are something like this

    



    https:\/\/dl.v.vrv.co\/evs\/5e915ac2127515861ea2563ca4e3eb25\/assets\/jpy1j4wghs4eepk_,1605371.mp4,1605379.mp4,1605363.mp4,1605355.mp4,1605347.mp4,.urlset\/master.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cCo6Ly9kbC52LnZydi5jby9ldnMvNWU5MTVhYzIxMjc1MTU4NjFlYTI1NjNjYTRlM2ViMjUvYXNzZXRzL2pweTFqNHdnaHM0ZWVwa18sMTYwNTM3MS5tcDQsMTYwNTM3OS5tcDQsMTYwNTM2My5tcDQsMTYwNTM1NS5tcDQsMTYwNTM0Ny5tcDQsLnVybHNldC9tYXN0ZXIubTN1OCIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTU5MTU1ODg4Nn19fV19&Signature=S7bDaUsOAplp437a-2hBIiED-jgwGCHups-cCHFK0etbVwn5O0Lx09~yiPvOnL9kae3AHFbPnlduxwotDDzKUMy01Swbudjz~HLwR26Lp1fb1vKAhZDgM1LJPkBFuQSbCYfN4cKG2aihTfbxNy3S63sUdQJouVjxwgkIj069kIjTmj7GsMfFgqrvYZja~RUOvF7n4evA0iisKbzTio4gB3gGYBhqOe~rh1rSbqGsO92U1AiflVGETpgo~z0p89agQGK4LHamKEWQUF2vITqYA2WXKYV1qNNg5JJ3ZDJUp3L3qE2zCBige1qw9UYtxr7jvg-PhZh4Esr07xS5G7UfQA__&Key-Pair-Id=DLVR


    



    i'm trying to download mp4 or mkv file to watch the video offline

    



    i tried using ffmpeg and youtube-dl

    



    they only work after changing \/ in the link to //

    



    ffmpeg command i used ffmpeg -i "Link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 file.mp4

    



    that's not the problem

    



    they download the full raw video file which is around 1.5GB

    



    but in the site watching the video take maximum 250MB at highest quality

    



    and the download is really slow for some reason

    



    it take almost 1 hour to download 1 video

    



    and at the end video don't open after finish downloading

    



    vlc say it's corrupted

    



    isn't there is a way to convert the link to direct link to compressed file link ?

    



    the site take 200MB to watch the video and loading the video is fast but downloading it from the link above take 1.5GB and it's soo slow