Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (29)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (4620)

  • Previewing mp4 video of cv2s VideoWriter not possible

    19 juin 2024, par user22614632

    I am writing a machine learning football analysis system, and I want to store the result video as seen in the code block. I can see the video normally under Windows' media player, but in VSCode and Streamlit, I can't open/show the video.

    


    Edit : On Mac, it works perfectly well.

    


    def save_video(frames: List[np.ndarray], path: str, fps: int=24) -> None:
    fourcc = cv2.VideoWriter_fourcc(*"avc1")    # codec for compressing the video
    out = cv2.VideoWriter(filename=path, fourcc=fourcc, fps=fps, frameSize=(frames[0].shape[1], frames[0].shape[0]))
    
    for frame in frames:
        out.write(frame)
    
    # close video file and release ressources
    out.release() 


    


    I thought it might be a slightly different mp4 ? I also used mp4v for fourcc, didn't help.

    


  • Previewing mp4 video of cv2s VideoWriter not possible

    19 juin 2024, par JanSkn

    I am writing a machine learning football analysis system, and I want to store the result video as seen in the code block. I can see the video normally under Windows' media player, but in VSCode and Streamlit, I can't open/show the video.

    


    Edit : On Mac, it works perfectly well.

    


    def save_video(frames: List[np.ndarray], path: str, fps: int=24) -> None:
    fourcc = cv2.VideoWriter_fourcc(*"avc1")    # codec for compressing the video
    out = cv2.VideoWriter(filename=path, fourcc=fourcc, fps=fps, frameSize=(frames[0].shape[1], frames[0].shape[0]))
    
    for frame in frames:
        out.write(frame)
    
    # close video file and release ressources
    out.release() 


    


    I thought it might be a slightly different mp4 ? I also used mp4v for fourcc, didn't help.

    


  • ffprobe Fastest way to read video packets

    12 novembre 2018, par secondplace

    I’ve been using ffprobe to read packets from video streams for analysis. However it’s painfully slow. A 30min 720p video takes roughly 8min to read.
    I’m using the following command at the moment :

    ffprobe.exe -i video.mp4 -show_entries packet=size,pts_time,flags,duration_time

    This gives me the following information for every packet :

    [PACKET]
    pts_time=1981.392000
    duration_time=0.032000
    size=1536
    flags=K_
    [/PACKET]

    I did read a fair bit in the documentation but it looks like this is just it or is there a way to make this faster ?

    Or would there be any alternative CLI tool to get the above information from a video faster ?