Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (15)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (3279)

  • avformat/dashenc : warn if Producer Reference Time element option is missing when...

    17 février 2020, par James Almer
    avformat/dashenc : warn if Producer Reference Time element option is missing when ldash mode is used
    

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavformat/dashenc.c
  • "The system cannot find the file specified" when animating with ffmpeg in matplotlib

    27 novembre 2019, par algol

    I am trying to generate a movie from a stack of numpy arrays using a function I have used on a different computer (a mac) on my home computer (Windows 10). Here is the function that I am using :

    def make_animation(frames,name):

       plt.rcParams['animation.ffmpeg_path'] = u'C:\ffmpeg-20190320-0739d5c-win64-static\bin\ffmpeg.exe'
       n_images=frames.shape[2]
       assert (n_images>1)  
       figsize=(10,10)
       fig, ax = plt.subplots(figsize=figsize)
       fig.tight_layout()
       fig.subplots_adjust(left=0, bottom=0, right=1, top=1, wspace=None, hspace=None)
       #lineR, = ax.plot(xaxis_data[0],R_data[0],'c-',label="resources")
       img = ax.imshow(frames[:,:,0], animated = True)  


       def updatefig(img_num):

           #lineR.set_data(xaxis_data[img_num],R_data[img_num],'r-')

           img.set_data(frames[:,:,img_num])

           return [img]


       ani = animation.FuncAnimation(fig, updatefig, np.arange(1, n_images), interval=50, blit=True)
       mywriter = animation.FFMpegWriter(fps = 20)
       #ani.save('mymovie.mp4',writer=mywriter)

       ani.save(f"D:\{name}.mp4",writer=mywriter)

       plt.close(fig)

    Here is the error that I am getting :

    Traceback (most recent call last):

     File "", line 1, in <module>
       make_animation(stack,'full_test')

     File "", line 27, in make_animation
       ani.save(f"D:\{name}.mp4",writer=mywriter)

     File "C:\Users\~snip~\Anaconda3\lib\site-packages\matplotlib\animation.py", line 1136, in save
       with writer.saving(self._fig, filename, dpi):

     File "C:\Users\~snip~\Anaconda3\lib\contextlib.py", line 112, in __enter__
       return next(self.gen)

     File "C:\Users\~snip~\Anaconda3\lib\site-packages\matplotlib\animation.py", line 228, in saving
       self.setup(fig, outfile, dpi, *args, **kwargs)

     File "C:\Users\~snip~\Anaconda3\lib\site-packages\matplotlib\animation.py", line 352, in setup
       self._run()

     File "C:\Users\~snip~\Anaconda3\lib\site-packages\matplotlib\animation.py", line 363, in _run
       creationflags=subprocess_creation_flags)

     File "C:\Users\~snip~\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 143, in __init__
       super(SubprocessPopen, self).__init__(*args, **kwargs)

     File "C:\Users\~snip~\Anaconda3\lib\subprocess.py", line 775, in __init__
       restore_signals, start_new_session)

     File "C:\Users\~snip~\Anaconda3\lib\subprocess.py", line 1178, in _execute_child
       startupinfo)

    FileNotFoundError: [WinError 2] The system cannot find the file specified
    </module>

    I know this code basically works since I have used it before on another computer. My guess is that something about ffmpeg is messed up or something about the output path is wrong. I’m not sure what could be wrong with the ffmpeg since I definitely have it installed (via conda) and the path is pretty straightforward. On the other hand I’m not sure what could be wrong with the output path.

  • ffmpeg - color-grading video material AND display original source as picture-in-picture, using -filter_complex

    5 octobre 2019, par raven

    this is my first post on this forum, so please be gentle in case I accidentally do trip over any forum rules that I would not know of yet :).

    I would like to apply some color-grading to underwater GoPro footage. To quicker gauge the effect of my color settings (trial-and-error, as of yet), would like to see the original input video stream as a PIP (e.g., scaled down to 50% or even 30%), in the bottom-right corner of the converted output movie.

    I have one input movie that is going to be color graded. The PIP should use the original as an input, just a scaled-down version of it.

    I would like to use ffmpeg’s "-filter_complex" option to do the PIP, but all examples I can find on "-filter_complex" would use two already existing movies. Instead, I would like to make the color-corrected stream an on-the-fly input to "-filter_complex", which then renders the PIP.

    Is that doable, all in one go ?

    Both the individual snippets below work fine, I now would like to combine these and skip the creation of an intermediate color-graded TMP output which then gets combined, with the original, in a final PIP creation process.
    Your help combining these two separate steps into one single "-filter_complex" action is greatly appreciated !

    Thanks in advance,
    raven.

    [existing code snippets (M$ batch files)]

    ::declarations/defines::
    set "INPUT="
    set "TMP="
    set "OUTPUT="
    set "FFMPG="
    set "QU=9" :: quality settings

    set "CONV='"0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1
    0 -1 0:0 -1 0 -1 5 -1 0 -1 0'"" :: sharpening convolution filter

    ::color-grading part::
    %FFMPG% -i %INPUT% -vf convolution=%CONV%,colorbalance=rs=%rs%:gs=%gs%:bs=%bs%:rm=%rm%:gm=%gm%:bm=%bm%:rh=%rh%:gh=%gh%:bh=%bh% -q:v %QU% -codec:v mpeg4 %TMP%

    ::PIP part::
    %FFMPG% -i %TMP% -i %INPUT% -filter_complex "[1]scale=iw/3:ih/3
    [pip]; [0][pip] overlay=main_w-overlay_w-10:main_h-overlay_h-10" -q:v
    %QU% -codec:v mpeg4 %OUTPUT%

    [/existing code]