Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (96)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

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

Sur d’autres sites (18400)

  • Converting gifs to mp4 using python

    16 février 2021, par deeform

    currently im trying to convert some gifs which i have downloaded into mp4 files so i can upload them to a specific website. However, im getting some errors when trying to do this !

    


        for submission in subreddit.top(time_filter="day"):
    url_file = r'/home/pi/Desktop/Instagram/urls.txt'
    # Get the link of the submission
    url = submission.url
    if url.endswith('gif'):
        bad_chars = ['"', '*', '?', ':', '<', '>', '|', '\\', '/', '.']
        for i in bad_chars:
            submission.title = submission.title.replace(i, '')
        count += 1
        print(url + ' ' + submission.title)
        urllib.request.urlretrieve(url, r'C:\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\\' + str(
            submission.title) + '.gif')
        print(str(f'downloaded {count}'))
    for file in os.listdir(r'C:\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\\'):
        clip = mp.VideoFileClip(rf"C:\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\{file}")
        clip.write_videofile(f"{submission.title}.mp4")


    


    Error : OSError : MoviePy error : failed to read the duration of file C :\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\My friend claims that he can print a gun using his 3D printer, but I’m not impressed I’ve had a Canon printer for years.gif.
Here are the file infos returned by ffmpeg :

    


    ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20200122
configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libaom —enable-libmfx —enable-amf —enable-ffnvcodec —enable-cuvid —enable-d3d11va —enable-nvenc —enable-nvdec —enable-dxva2 —enable-avisynth —enable-libopenmpt
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
C :\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\My friend claims that he can print a gun using his 3D printer, but I’m not impressed I’ve had a Canon printer for years.gif : Invalid data found when processing input

    


  • Android - Best solution to convert recorded H.264 Main Profile videos to H.264 Baseline Profile

    19 février 2016, par Alireza

    I found MediaPlayer cannot play videos which are encoded by H.264 Main Profile and I tried ExoPlayer and Vitamio but none of them solved my problem. finally I found the best solution is converting videos to H.264 Baseline Profile. FFmpeg is almost 9MB and it’s so heavy for my project, so I don’t like to use it for converting videos to that profile by commands. My friend suggested converting videos on the server-side but we both know it has bad performance. What should I do ? What is the best solution to this problem ?

  • How can I fix missing footage when I trim a video through ffmpeg ?

    18 juillet 2021, par LPMA

    I'm trying to remove commercials from an old PVR recording, and am extracting the main program by trimming/splitting the original file into separate parts :

    


    ffmpeg -i name.avi -ss 00:02:00 -to 00:08:20 -acodec copy -vcodec copy part01.avi
ffmpeg -i name.avi -ss 00:11:23 -to 00:22:03 -acodec copy -vcodec copy part02.avi
ffmpeg -i name.avi -ss 00:25:34 -to 00:36:37 -acodec copy -vcodec copy part03.avi
ffmpeg -i name.avi -ss 00:40:08 -to 00:52:11 -acodec copy -vcodec copy part04.avi
ffmpeg -i name.avi -ss 00:55:41 -to 01:52:53 -acodec copy -vcodec copy part05.avi


    


    For some reason, parts 3 and 5 are perfect, whereas parts 1, 2 and 4 each have about 9 seconds where the audio is playing against a "frozen" frame before the video part starts playing normally. The audio data seems to be intact (and cut at the designated place), but the video seems to be missing that data. I'm guessing it might have to do with reference frames ? Is there a quick way to fix/avoid the issue ? I would like to avoid data loss (through transcoding) as much as possible.