Recherche avancée

Médias (91)

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (9232)

  • Deprecation error when using imageio.ffmpeg.download()

    29 novembre 2022, par SHASHIKUMAR B J

    I'm trying to merge the prerecorded videos using python Opencv.
But i'm getting the error while importing.

    



    "Traceback (most recent call last):&#xA;  File "video.py", line 4, in <module>&#xA;    from moviepy. editor import VideoFileClip,concatenate_videoclips &#xA;  File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/moviepy/editor.py", line 26, in <module>&#xA;    imageio.plugins.ffmpeg.download()&#xA;  File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/imageio/plugins/ffmpeg.py", line 40, in download&#xA;    "imageio.ffmpeg.download() has been deprecated. "&#xA;RuntimeError: imageio.ffmpeg.download() has been deprecated. Use &#x27;pip install imageio-ffmpeg&#x27; instead.&#x27;"&#xA;</module></module>

    &#xA;&#xA;

    would anyone please help to get out of this problem

    &#xA;&#xA;

    Here is the code :

    &#xA;&#xA;

    import cv2 &#xA;import os &#xA;import time &#xA;from moviepy.editor import VideoFileClip,concatenate_videoclips &#xA;def vidcapt():&#xA;    a = time.strftime("%H,%M,%S")&#xA;    cap = cv2.VideoCapture(0)&#xA;    fourcc = cv2.VideoWriter_fourcc(*&#x27;XVID&#x27;)&#xA;    out = cv2.VideoWriter(a&#x2B;&#x27;.avi&#x27;, fourcc, 24.0, (640,480))&#xA;    t1 = time.time()&#xA;    while(cap.isOpened()):&#xA;            ret, frame = cap.read() &#xA;            if ret == True:&#xA;                    out.write(frame)&#xA;                    cv2.imshow(&#x27;frame&#x27;,frame)&#xA;                    t2 = time.time()&#xA;                    time_diff = t2-t1&#xA;                    if time_diff >= 5:&#xA;                            break&#xA;            else:&#xA;                    break&#xA;    cap.release()&#xA;    out.release()&#xA;    cv2.destroyAllWindows()&#xA;&#xA;while True:&#xA;        vidcapt()&#xA;&#xA;&#xA;clip1 = VideoFileClip("11,05,42.avi")&#xA;clip2 = VideoFileClip("11,05,47.avi").subclip(50,60)&#xA;final_clip = concatenate_videoclips([clip1,clip2])&#xA;final_clip.write_videofile("merged.avi")&#xA;

    &#xA;

  • How to record custom videos in Android [on hold]

    27 novembre 2013, par Chirry

    Context :

    Right now I have an App which takes the video from the camera and put some custome bitmaps on the same SurfaceView.

    Question :

    What I'd like is to record a video with the camera view and the custom Bitmaps on it.

    I have heard about AndroidFFmpeg third party codec to record videos, but I don't know how, I mean, is there any function on the AndroidFFmpeg to record videos in Android ?

    Hope you can help me with one this as there is not much information on the internet !

  • Add custom metadata tag to video file without altering anything else

    9 juin 2020, par salgarji

    I'm modifying DASH-formatted segments, and my aim is to add extra information to the video segment using metadata tags.

    &#xA;&#xA;

    I'm using ffmpeg to record video from my webcam and store segments named like : init-video0-0.mp4 for the initial and video-0-0-N.mp4 for the following, where N is the segment number (beginning at N=1).

    &#xA;&#xA;

    For ffmpeg to 'understand' video files, they must have a playable video file format, for that purpose I concat initial segment with Nth segment :

    &#xA;&#xA;

    cat init-video-0-mp4 video0-0-N.mp4 > video0-0-N_mod.mp4&#xA;

    &#xA;&#xA;

    Once I have a proper/correct file, I can use ffmpeg to add tags.&#xA;I've tried the following command :

    &#xA;&#xA;

    ffmpeg -y -i /path/to/file.mp4 -movflags use_metadata_tags -metadata customtag=&#x27;whatEverYouWantToAdd&#x27; /path/to/new/file.mp4&#xA;

    &#xA;&#xA;

    My problem is that the ffmpeg modifies the file changing other information regarding start, duration, progressive and fragmented flags...

    &#xA;&#xA;

    I've used this tool : https://download.tsi.telecom-paristech.fr/gpac/mp4box.js/filereader.html, to analyze my files in a more intuitive way :

    &#xA;&#xA;

    enter image description here

    &#xA;&#xA;

    Do you have any clue on how to add tags without altering DASH segments in any other way ? Even if it requires using another tool different from ffmpeg.

    &#xA;&#xA;

    Thank you in advance !

    &#xA;