Recherche avancée

Médias (91)

Autres articles (45)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

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

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

Sur d’autres sites (7319)

  • Asterisk configuration with —with-avcodec flag [closed]

    3 juillet 2022, par Mikhail

    My attempts to configure asterisk with the specified flag end up with messages :

    


    configure: ***
configure: *** The FFMPEG installation appears to be missing or broken.
configure: *** Either correct the installation, or run configure
configure: *** including --without-avcodec.
root@debian:/home/mvt/install_asterisk/asterisk-18.13.0


    


    I get the same messages if the asterisk is version 1.8.0 or 16.
I think other versions will be the same.
I tried to install asterisk with --with-avcodec flag in ubuntu 22.04, 20.04, debian 11, centos 7(Gnome ).
History repeats itself everywhere.
Asterisk suggests configuring without this flag.
I understand that using ubuntu 22.04 is not a good idea, but the problem is not the choice of OS, but something else.
While researching this problem, although I am far from programming, I saw in this link linux/videodev.h : no such file or directory - OpenCV on ubuntu 11.04 11-04 that a person configuring OpenCV on ubuntu 11.04 encountered a missing directory and file linux/videodev.h.
Now I also had a problem in asterisk with a videodev.h file not found.
I symlinked ln -s /usr/include/libv4l1-videodev.h /usr/include/linux/videodev.h and asterisk found videodev.h.
Assuming that asterisk cannot find the avcodec header files of the libavcodec library of the ffmpeg package, and all the ffmpeg header files (in debian 11) are installed /usr/include/x86_64-linux-gnu/libavcodec/ I made a symbolic link to this directory with all the files in it, as the configure asterisk file requires : ln -s /usr/include/x86_64-linux-gnu/libavcodec/* /usr/include/ffmpeg/
This did not help, asterisk still does not see the symbolic link to avcodec, I think this leads to the primary messages :

    


    configure: ***
configure: *** The FFMPEG installation appears to be missing or broken.
configure: *** Either correct the installation, or run configure
configure: *** including --without-avcodec.


    


    The configure asterisk script checks for the presence of avcodec based on the contents of its three variables : FFMPEG_DIR, FFMPEG_INCLUDE, and FFMPEG_LIB makes sure it exists on the system.
If found, then
AST_FFMPEG_FOUND=yes
If any is empty -
AST_FFMPEG_FOUND=no
and a message is displayed
configure : *** The FFMPEG installation appears to be missing or broken.
This was answered on the asterisk.ru forum https://forum.asterisk.ru/viewtopic.php?f=3&t=23986
I seem to have studied everything, of course I didn’t understand something, but this information did not fully help me understand the problem.

    


    Please help.
Thank you !

    


  • Unable to allocate 47.5 MiB for an array with shape (1080, 1920, 3) and data type float64

    21 août 2022, par eragon

    Iam try to create a large video(longer than 3h)by CompositeVideoClip using moviepy.
The problem is it take too much ram (i have 32gb ram).It takes the whole ram (99%) by create a bunch of ffmpeg-win64-v4.2.2.exe ffmpeg-win64-v4.2.2.exe
 it takes the whole ram

    


    it create a bunch of ffmpeg-win64-v4.2.2.exe ffmpeg-win64-v4.2.2.exe

    


    after it a while it said Unable to allocate 47.5 MiB for an array with shape (1080, 1920, 3) and data type float64.
here is my code :

    


    def CombieVideo():
    global curentVideoLengt
    masterVideo = NULL
    for videoUrl in videoFiles:
        print(videoUrl)
        video = VideoFileClip(videoUrl).fx(vfx.fadein,1).fx(vfx.fadeout,1)
        curentVideoLengt += video.duration
        if curentVideoLengt >= (audioLen*60*60):
            break
        if masterVideo== NULL:
            masterVideo= video
        else:
            masterVideo = CompositeVideoClip([masterVideo,video])
            
    if curentVideoLengt < (audioLen*60*60):
        videoUrl=random.choice(videoFiles)
        print(videoUrl)
        video =video(videoUrl).fx(vfx.fadein,1).fx(vfx.fadeout,1)
        curentVideoLengt= curentVideoLengt+video.duration
        masterVideo = CompositeVideoClip([masterVideo,video])
        CombieVideo()
    else:
        masterVideo.audio = CompositeAudioClip(audios)
        masterVideo.write_videofile('./MasterVideo/output_video.avi', fps=30, threads=4, codec="png")
        
CombieVideo()


    


  • FFMPEG changing output framerate issues

    12 septembre 2022, par is_this_taken

    I want to take the input, blend N frames, decimate the other frames and use those for the output with the fps of my choice.

    


    I used this line :

    


    ffmpeg -y -i input.mp4 -vf tmix=frames=15:weights="1",select='not(mod(n\,15))'  -vsync vfr frames/output-%05d.tif


    


    That generated images, which I combined into the video. So far, so good.
But I'd like to skip the image output and go straight to video, so I tried this :

    


    ffmpeg -y -i input.mp4 -vf tmix=frames=15:weights="1",select='not(mod(n\,15))'  -vsync vfr -r 30 -c:v prores_ks -profile:v 3 -vendor apl0 -bits_per_mb 8000 -pix_fmt yuv422p10le output.mov


    


    That produces 1.62 fps video, instead of 30 fps.

    


    I'm at a loss on how to get it to output 30fps without the intermediate step of outputting images.

    


    Thanks