Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (60)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

Sur d’autres sites (14066)

  • Inconsistent Rotation of Output Video OpenCV

    27 avril 2021, par user530316

    I am reading in mobile videos shot on an iphone (.MOV format). When the video is shot upright, ffmpeg meta data states the video frames are rotated 90 clockwise. When I read the video in with opencv as a .MOV and then outwrite again with opencv as a .mp4, both the input and output videos appear upright. Note I display the video frames using opencv via a while loop :
 cap = cv2.VideoCapture("video.MOV")

    


    ret,frame=cap.read()

    


    while ret:
    cv2.imshow('',frame)
    if cv2.waitKey(1) & 0xFF == ord('q'):
        break
    ret,frame = cap.read()
cap.release()
cv2.destroyAllWindows() 


    


    This is not the problem. The problem is that when the same video is run on another machine with the same os and same virtual environment, the videos come out rotated by 90 degrees. Any reason this should happen ?

    


    Both machines are using opencv-python version 4.5.1, ffmpeg 4.2.2, and ffmpeg-python 0.2.0.

    


  • avformat/tls_openssl : fix warnings when openssl is lower version

    15 juin, par Jack Lau
    avformat/tls_openssl : fix warnings when openssl is lower version
    

    api doc : https://docs.openssl.org/1.0.2/man3/BIO_s_mem

    In higher versions (openssl 1.0.2 and higher),
    the function signature is BIO *BIO_new_mem_buf(const void *buf, int len),
    so passing a const string doesn't cause an warnings.
    However, in lower versions of OpenSSL,
    the function signature becomes BIO *BIO_new_mem_buf(void *buf, int len),
    which leads to warnings.

    OpenSSL guarantees that it will not modify the string,
    so it's safe to cast the pem_str to (void *) to avoid this warning.

    Signed-off-by : Jack Lau <jacklau1222@qq.com>
    Signed-off-by : Zhao Zhili <zhilizhao@tencent.com>

    • [DH] libavformat/tls_openssl.c
  • jpeg2000dec : Use correct printf length modifier for pointer differences

    13 mai 2013, par Diego Biurrun
    jpeg2000dec : Use correct printf length modifier for pointer differences
    

    Also eliminate an unnecessary cast. Fixes the following warning :
    jpeg2000dec.c:1200:20 : warning : format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long long unsigned int’

    • [DBH] libavcodec/jpeg2000dec.c