Recherche avancée

Médias (91)

Autres articles (80)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

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

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

Sur d’autres sites (4512)

  • avcodec/mediacodec_wrapper : remove unnecessary NULL checks before calling Delete...

    13 février 2024, par Matthieu Bouron
    avcodec/mediacodec_wrapper : remove unnecessary NULL checks before calling DeleteGlobal,LocalRef()
    

    DeleteGlobal,LocalRef already handle NULL.

    • [DH] libavcodec/mediacodec_wrapper.c
  • cv2.VideoWriter using codec h.265 [closed]

    7 novembre 2024, par arilson xavier

    im developing a code to save a video from my webcam, i need to save the same video with 4 differents codecs, but i can't save in h.265 i got the follow error :

    


    [ERROR:0@848.278] global cap_ffmpeg_impl.hpp:3133 open Could not find encoder for codec_id=173, error: Encoder not found
[ERROR:0@848.278] global cap_ffmpeg_impl.hpp:3211 open VIDEOIO/FFMPEG: Failed to initialize VideoWriter", follow too the code that i use to create cv2.videowrite:


    


    I only receive this error to h.265, the others codecs running perfectly

    


    out = []
out.append(cv2.VideoWriter("output_30_mp4v.mp4", cv2.VideoWriter_fourcc(*"mp4v"), 30.0, (width, height)))
out.append(cv2.VideoWriter("output_30_xvid.avi", cv2.VideoWriter_fourcc(*"xvid"), 30.0, (width, height)))
out.append(cv2.VideoWriter("output_30_mjpeg.avi", cv2.VideoWriter_fourcc(*"MJPG"), 30.0, (width, height)))
out.append(cv2.VideoWriter("output_30_h265.mp4", cv2.VideoWriter_fourcc(*"hev1"), 30.0, (width, height)))


    


    Someone have an idea what i can do ?

    



    

  • Getting the frame pkt_pts from ffmpeg

    2 février 2018, par kama

    I record a stream similar to this (but I pipe the image to stdout and process the frames in real time) :

    ffmpeg -debug_ts -y -i http://my_stream.com -strict -2 out.mp4

    Now I need to map my frames to the pkt_pts. This pkt_pts I can get by running :

    ffprobe -i http://my_stream.com -show_frames -select_streams v:0

    Although starting ffprobe is not an option since I need to excactly know which pkt_pts belongs to what frame.
    Therefore I’m using the -debug_ts in my ffmpeg call, which gives me a lot of output to stderr, which I then parse out. The only output line which matches the number of frames is the one which starts with : muxer <- type:video This line does contain a pkt_pts, but it always starts with 0 (not the global pkt_pts).

    Is there a way to map a frame, to the global pkt_pts in real time with ffmpeg ?