Recherche avancée

Médias (91)

Autres articles (111)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (10170)

  • MovieWriter ffmpeg unavailable ; trying to use instead

    28 janvier 2021, par user6882757

    Is there any way to use moving plot without ffmpeg ?

    



    import matplotlib.animation as animation
from IPython.display import HTML

fig, ax = plt.subplots(figsize=(15, 8))
animator = animation.FuncAnimation(fig, draw_barchart, frames=range(1968, 2019))
HTML(animator.to_jshtml()) 
animator.save('dynamic_images.mp4')


    



    My code is above, I am getting the key error.mp4', ValueError: unknown file extension: .mp4

    



    I tried installing conda install -c conda-forge ffmpeg end up with SSL issue

    



      

    • Is there any way to use moving plot without ffmpeg

    • 


    • As like error throwing is there any way to use 'matplotlib.animation.PillowWriter'

    • 


    



    Disclaimer : I went through the link https://www.wikihow.com/Install-FFmpeg-on-Windows but the URL is blocked by the IT team

    


  • FFMPEG JAVA ffmpeg doesn't work in .jar application

    3 février 2020, par xkenzzo

    FFMPEG works only in developer mode. When I compile my jar program it returns the following error
    the log of the program launched with eclipse in this case everything works

     ffmpeg version git-2019-12-29-e20c6d9 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 9.2.1 (GCC) 20191125
     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-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
     libavutil      56. 38.100 / 56. 38.100
     libavcodec     58. 65.100 / 58. 65.100
     libavformat    58. 35.101 / 58. 35.101
     libavdevice    58.  9.101 / 58.  9.101
     libavfilter     7. 70.100 /  7. 70.100
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
     libpostproc    55.  6.100 / 55.  6.100
    Input #0, h264, from '.h264':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (Main), yuv420p(progressive), 3840x2160 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 1200k tbn, 120 tbc
    Output #0, mp4, to '.mp4':
     Metadata:
       encoder         : Lavf58.35.101
       Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 60 fps, 60 tbr, 15360 tbn, 120 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    [mp4 @ 000001cedad59440] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
    frame= 9273 fps=0.0 q=-1.0 Lsize=  121326kB time=00:01:17.26 bitrate=12863.3kbits/s speed= 207x    
    video:121287kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.032451%

    This is where it gets complicated. You can observe the messages that FFMPEG returns to me when I launch my program compile in jar :

    > [h264 @ 0000017c43e5b700] error while decoding MB 58 6, bytestream -14
    > [h264 @ 0000017c43e5b700] concealing 30951 DC, 30951 AC, 30951 MV
    > errors in I frame [h264 @ 0000017c43e49d80] Stream #0: not enough
    > frames to estimate rate; consider increasing probesize [h264 @
    > 0000017c43e49d80] decoding for stream 0 failed

    This is the java code which thanks to the ProcessBuilder will launch FFMPEG :

    String urlVideoMp4 = movie.getPath().replace(".h264", ".mp4");

    File videoFinal = new File(urlVideoMp4);
    //checking if new video exists : if not, creating it with FFMPEG

    LOG.info("moviePath : " + movie);
    ProcessBuilder processBuilder = new ProcessBuilder(FFMPEG, "-framerate", "60", "-r", "120", "-i", movie.getPath(),"-c:v", "copy", urlVideoMp4);
    LOG.debug(processBuilder.command());

    processBuilder.inheritIO().start().waitFor();

    return videoFinal;
  • libavcodec/qsvenc.c : Set mjpeg height and width alignment

    21 janvier 2020, par JonCookCubic
    libavcodec/qsvenc.c : Set mjpeg height and width alignment
    

    Currently width_align and height_align are zero when encoding with mjpeg_qsv,
    which causes "Error submitting the frame for encoding". This patch sets the alignments.

    There is a little bit more about the problem here http://ffmpeg.org/pipermail/ffmpeg-user/2019-November/046143.html

    Signed-off-by : JonCookCubic <jon.cook@cubicmotion.com>
    Signed-off-by : Zhong Li <zhongli_dev@126.com>

    • [DH] libavcodec/qsvenc.c