Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (42)

  • 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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (7059)

  • Find frames in the video that are similar to the static image, to crop the video

    13 septembre 2024, par Nguyen Van Kufu

    I use opencv with ffmpeg to cut the video. Specifically, find the frame in the video that is the same as the picture, then cut the video at the time the video frame is the same as the picture.

    


    I found the code on google and edited it according to my needs, but when it comes to comparing frames and still images, I don't know how to ask you to add a comparison section to cut the video.

    


    import numpy as np
import cv2
import time
from skimage.metrics import structural_similarity as compare_ssim

hinh = cv2.imread("f:\\x.png")
hinh1 = cv2.resize(hinh, (500, 300))
cap = cv2.VideoCapture('f:\\tt.mp4')
prev_frame_time = 0
new_frame_time = 0
cv2.imshow('hinh', hinh1)

while(cap.isOpened()):
    ret, frame = cap.read()

    if not ret:
        break

    gray = frame

    gray = cv2.resize(gray, (500, 300))
    font = cv2.FONT_HERSHEY_SIMPLEX
    new_frame_time = time.time()

    fps = 1/(new_frame_time-prev_frame_time)
    prev_frame_time = new_frame_time

    fps = int(fps)

    fps = str(fps)

    cv2.putText(gray, fps, (7, 70), font, 3, (100, 255, 0), 3, cv2.LINE_AA)
    ##############

    # displaying the frame with fps

    cv2.imshow('frame', gray)

    # press 'Q' if you want to exit
    if cv2.waitKey(1) & 0xFF == ord('q'):
        break

cap.release()
cv2.destroyAllWindows()


    


  • How to get video frames from h264 video using FFMPEG in ios

    22 avril 2015, par narendrakumar b

    how to use SampleBuffer, for decoding the video in iOS Refer this link .I want to use frames in SampleBuffer. How can i pass the data into SampleBuffer.

    Any Suggestions or reference links can be invited.

    Thanks in Advance

  • An x264-encoded video only with P frames and a different video for I frame

    24 mai 2018, par MSD Paul

    Suppose I have 5 frames, I encode first one as the I or reference frame and all other as P frames in one video using x264 codec.

    In this case, is it possible to have 2 videos, one only with an I frame and another frame only with 4 P frames ?

    To decode all 4 P frames, I require the first I frame video but can we construct the videos in this way ?