Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (90)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (11478)

  • ffmpeg compile for Android

    1er novembre 2018, par amar Kumar

    I’m trying to compile ffmmpeg for android using this but I’m getting " ERROR : freetype2 not found" as shown below in details.

    linux@user1:~/Downloads/android-ffmpeg$ ./configure_ffmpeg.sh
    ~/Downloads/android-ffmpeg ~/Downloads/android-ffmpeg
    No NDK_BASE set, using /opt/android-ndk
    patching file ffmpeg/libavfilter/Makefile
    Reversed (or previously applied) patch detected!  Skipping patch.
    2 out of 2 hunks ignored
    The next patch would create the file ffmpeg/libavfilter/af_aredact.c,
    which already exists!  Skipping patch.
    1 out of 1 hunk ignored
    patching file ffmpeg/libavfilter/allfilters.c
    Reversed (or previously applied) patch detected!  Skipping patch.
    2 out of 2 hunks ignored
    The next patch would create the file ffmpeg/libavfilter/vf_redact.c,
    which already exists!  Skipping patch.
    1 out of 1 hunk ignored
    patching file ffmpeg/libavutil/arm/intmath.h
    Reversed (or previously applied) patch detected!  Skipping patch.
    2 out of 2 hunks ignored
    patching file libavcodec/arm/ac3dsp_armv6.S
    Reversed (or previously applied) patch detected!  Skipping patch.
    1 out of 1 hunk ignored
    patching file libavcodec/arm/fft_fixed_neon.S
    Reversed (or previously applied) patch detected!  Skipping patch.
    1 out of 1 hunk ignored
    patching file libavcodec/arm/fft_neon.S
    Reversed (or previously applied) patch detected!  Skipping patch.
    2 out of 2 hunks ignored
    patching file libavcodec/arm/sbrdsp_neon.S
    Reversed (or previously applied) patch detected!  Skipping patch.
    2 out of 2 hunks ignored
    patching file libavcodec/arm/vp3dsp_neon.S
    Reversed (or previously applied) patch detected!  Skipping patch.
    1 out of 1 hunk ignored
    patching file libavcodec/arm/vp8_armv6.S
    Reversed (or previously applied) patch detected!  Skipping patch.
    2 out of 2 hunks ignored
    patching file libavcodec/arm/asm.S
    Reversed (or previously applied) patch detected!  Skipping patch.
    3 out of 3 hunks ignored
    patching file libavutil/arm/intmath.h
    Reversed (or previously applied) patch detected!  Skipping patch.
    3 out of 3 hunks ignored
    patching file configure
    Reversed (or previously applied) patch detected!  Skipping patch.
    1 out of 1 hunk ignored
    ~/Downloads/android-ffmpeg/ffmpeg ~/Downloads/android-ffmpeg ~/Downloads/android-ffmpeg
    *****************The error is here*****************

    ERROR: freetype2 not found

    If you think configure made a mistake, make sure you are using the latest
    version from Git.  If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solving the problem.

    I have freetype installed and I also linked it as shown below in the /usr/include/

    rwxr-xr-x  3 root root   4096 Mar 20 22:13 freetype2
    lrwxrwxrwx  1 root root     23 Mar 20 22:14 freetype -> /usr/include/freetype2/

    I’m not sure what to do next, can you please help ?

  • ffmpeg compile for Android

    21 mars 2016, par amar Kumar

    I’m trying to compile ffmmpeg for android using this but I’m getting " ERROR : freetype2 not found" as shown below in details.

    linux@user1:~/Downloads/android-ffmpeg$ ./configure_ffmpeg.sh
    ~/Downloads/android-ffmpeg ~/Downloads/android-ffmpeg
    No NDK_BASE set, using /opt/android-ndk
    patching file ffmpeg/libavfilter/Makefile
    Reversed (or previously applied) patch detected!  Skipping patch.
    2 out of 2 hunks ignored
    The next patch would create the file ffmpeg/libavfilter/af_aredact.c,
    which already exists!  Skipping patch.
    1 out of 1 hunk ignored
    patching file ffmpeg/libavfilter/allfilters.c
    Reversed (or previously applied) patch detected!  Skipping patch.
    2 out of 2 hunks ignored
    The next patch would create the file ffmpeg/libavfilter/vf_redact.c,
    which already exists!  Skipping patch.
    1 out of 1 hunk ignored
    patching file ffmpeg/libavutil/arm/intmath.h
    Reversed (or previously applied) patch detected!  Skipping patch.
    2 out of 2 hunks ignored
    patching file libavcodec/arm/ac3dsp_armv6.S
    Reversed (or previously applied) patch detected!  Skipping patch.
    1 out of 1 hunk ignored
    patching file libavcodec/arm/fft_fixed_neon.S
    Reversed (or previously applied) patch detected!  Skipping patch.
    1 out of 1 hunk ignored
    patching file libavcodec/arm/fft_neon.S
    Reversed (or previously applied) patch detected!  Skipping patch.
    2 out of 2 hunks ignored
    patching file libavcodec/arm/sbrdsp_neon.S
    Reversed (or previously applied) patch detected!  Skipping patch.
    2 out of 2 hunks ignored
    patching file libavcodec/arm/vp3dsp_neon.S
    Reversed (or previously applied) patch detected!  Skipping patch.
    1 out of 1 hunk ignored
    patching file libavcodec/arm/vp8_armv6.S
    Reversed (or previously applied) patch detected!  Skipping patch.
    2 out of 2 hunks ignored
    patching file libavcodec/arm/asm.S
    Reversed (or previously applied) patch detected!  Skipping patch.
    3 out of 3 hunks ignored
    patching file libavutil/arm/intmath.h
    Reversed (or previously applied) patch detected!  Skipping patch.
    3 out of 3 hunks ignored
    patching file configure
    Reversed (or previously applied) patch detected!  Skipping patch.
    1 out of 1 hunk ignored
    ~/Downloads/android-ffmpeg/ffmpeg ~/Downloads/android-ffmpeg ~/Downloads/android-ffmpeg
    *****************The error is here*****************

    ERROR: freetype2 not found

    If you think configure made a mistake, make sure you are using the latest
    version from Git.  If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solving the problem.

    I have freetype installed and I also linked it as shown below in the /usr/include/

    rwxr-xr-x  3 root root   4096 Mar 20 22:13 freetype2
    lrwxrwxrwx  1 root root     23 Mar 20 22:14 freetype -> /usr/include/freetype2/

    I’m not sure what to do next, can you please help ?

  • Merge individual frame to video file using Opencv and FFmpeg

    16 août 2022, par Rohit

    I am trying to stack a individual frame to a video file using Opencv. I want to combine two different code together to make the individual frame.
Following code help me extract the individual frame

    


    while True:
ret, frame=cap.read()
mask = object_detector.apply(frame)
_, mask  = cv2.threshold(mask,254,255,cv2.THRESH_BINARY)       
contours,_ = cv2.findContours(mask, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
res = cv2.bitwise_and(frame,frame,mask=mask)
for cnt in contours:
    area = cv2.contourArea(cnt)
    if area>1000:   
        #print("Area of contour:", area)
        cv2.drawContours(frame, [cnt], -1, (0,255,0),2)
        cv2.imwrite("file%d.jpg"%count, frame)


    


    And I attach the frame together separately using following code using ffmpeg command

    


    ffmpeg -r 3 -i frame%03d.jpg -c:v libx264 -vf fps=25 -pix_fmt yuv420p video.mp4


    


    I tried storing the individual frame in array, but it didn't work. It doesn't show any error, but pc crash.