Recherche avancée

Médias (91)

Autres articles (67)

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

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (10501)

  • FFmpeg - Check if all video files have concatenated correctly into one video

    14 mai 2020, par STerrier

    I am concatenating thousands of .ts files into an mp4 which works great but is there a way to know which files have already been concatenated with FFmpeg ?

    



    The issue I have is I am concatenating multiple videos back to back and if the app is closed off during the concatenation process. The concatenating of the videos may not be complete. I can check if the files exist but the size of the files could be wrong if not all the clips have been concatenated. Is there a way to know if all the files have been concatenated properly ?

    



    My current idea is if the app is closed before it has completed concatenating, I would delete the mp4 file and restart concatenating the video again but this time consuming especially if the files concatenated properly the first time.

    



    Any ideas would be great thanks

    



    ffmpegCommand

    



     ffmpeg -f concat -i \(videoFile) -c:v copy -c:a copy \(outputFile)


    



    I am using the cocoa pod mobile-FFmpeg
https://github.com/tanersener/mobile-ffmpeg

    



    Link to FFmpeg Concatenate function
https://trac.ffmpeg.org/wiki/Concatenate

    


  • How to enable hardware support for H.264 encoding on raspberry Pi 4B

    24 mars 2021, par MSD Paul

    I am trying to enable the hardware support for H264 encoding on raspberry pi 4B model. Compiling FFmpeg source enabling the configurations

    



    sudo ./configure --arch=armel --target-os=linux --enable-gpl --enable-omx --enable-omx-rpi --enable-nonfree


    



    following the link, https://github.com/legotheboss/YouTube-files/wiki/(RPi)-Compile-FFmpeg-with-the-OpenMAX-H.264-GPU-acceleration

    



    but while executing the encoding command after building and installing the ffmpeg with those configuration properly, I am getting the following error

    



    [h264_omx @ 0x156b6e0] Using OMX.broadcom.video_encode
[h264_omx @ 0x156b6e0] OMX error 80001000
[h264_omx @ 0x156b6e0] err 80001018 (-2147479528) on line 561
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!


    



    command used :

    



    ffmpeg -i /media/pi/pic_1_org.png -c:v h264_omx -c:a copy -b:v 1500k outputfile.mp4


    



    I just want to encode a single 4K image into a .mp4 file using H.264 encoder. 
Please let me know how to resolve this issue ?

    


  • AttributeError while saving an animation using celluloid, Python 3.9

    26 juillet 2021, par rafael gf

    I'm trying to create a simple animation using the celluloid library, but I'm getting an attribute error when trying to save it. I'm not familiar with ffmpeg, but I read I should install it and point to its executable file for the saving to work, not sure what's going wrong. The massage I'm getting is :

    


    Exception has occurred: AttributeError&#xA;type object &#x27;FuncAnimation&#x27; has no attribute &#x27;_first_draw_id&#x27;&#xA; File "C:\Users\Fernando\Documents\Circulos\circulos.py", line 102, in <module>  anim.save(anim, filename="my_animation.gif", writer=FFwriter)&#xA;</module>

    &#xA;

    I'll out the simplification version of the code below - I'm suppressing the part where I do some tucking with the circles, but I've done some testing plot by plot and it is working fine.

    &#xA;

    import smtplib, os&#xA;import matplotlib.pyplot as plt&#xA;from matplotlib import animation&#xA;import math&#xA;from celluloid import Camera&#xA;&#xA;plt.rcParams[&#x27;animation.ffmpeg_path&#x27;] = os.getcwd() &#x2B; &#x27;\\Circulos\\ffmpeg\\bin\\ffmpeg.exe&#x27;&#xA;&#xA;&#xA;#axes&#xA;figure, axes = plt.subplots()&#xA;axes.set_aspect(1)&#xA;axes.set_xlim((-xmax(C)),(xmax(C)))&#xA;axes.set_ylim((-ymax(C)),(ymax(C)))&#xA;&#xA;b = 0&#xA;&#xA;#add initial circles&#xA;for a in range 5:&#xA;    draw_circle = plt.Circle((a, a), 2, fc = &#x27;None&#x27;, ec = &#x27;r&#x27;)&#xA;    axes.add_artist(draw_circle)&#xA;&#xA;&#xA;#create figure and camera&#xA;figure, axes = plt.subplots()&#xA;axes.set_aspect(1)&#xA;axes.set_xlim((-xmax(C)),(xmax(C)))&#xA;axes.set_ylim((-ymax(C)),(ymax(C)))&#xA;camera = Camera(figure) &#xA;&#xA;Frame_time = 10&#xA;&#xA;for b in range(Frame_time):&#xA;&#xA;     #add circles&#xA;     for a in range 5:&#xA;        draw_circle = plt.Circle((a, a), 2, fc = &#x27;None&#x27;, ec = &#x27;r&#x27;)&#xA;        axes.add_artist(draw_circle)&#xA;&#xA;    #Frame Picture&#xA;    camera.snap()&#xA;&#xA;&#xA;#create animation&#xA;anim = camera.animate()&#xA;anim = animation.FuncAnimation&#xA;FFwriter = animation.FFMpegWriter()&#xA;anim.save(anim, filename="my_animation.gif", writer=FFwriter)&#xA;

    &#xA;

    I'm working on VS code, the latest version I just updated it, and python 3.9

    &#xA;