Recherche avancée

Médias (91)

Autres articles (97)

  • 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

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (6431)

  • function not referenced with $this

    26 décembre 2013, par Grandt
    function not referenced with $this
  • how I can add the last frame at the end of Video unit frame count of Video reach 29

    3 septembre 2023, par Shema

    I want duplicate the last frame at each video until reach 29 frames

    


    this is my code How i can doing with do not affect in resolution or fps

    


    import cv2


vs = cv2.VideoCapture('Politics_news_3_p1_289.mp4')
last_frame_num = vs.get(cv2.CAP_PROP_FRAME_COUNT)-1
height = int(vs.get(cv2.CAP_PROP_FRAME_HEIGHT))
width = int(vs.get(cv2.CAP_PROP_FRAME_WIDTH))
fps = vs.get(cv2.CAP_PROP_FPS)
frame_co = int(vs.get(cv2.CAP_PROP_FRAME_COUNT))
duration = frame_co/fps
print('video resolution:', width, ' x ', height)
print('video framerate:', fps)
print('video duration:', duration)
vs.set(cv2.CAP_PROP_POS_FRAMES, last_frame_num)


while True:
    ret, frame = vs.read()
    if ret:
        cv2.imwrite('/Users/Downloads/ii.png',frame)
        cv2.imshow('last_frame', frame)
    if cv2.waitKey(0) == 27:
        break
vs.release()
cv2.destroyAllWindows()


    


  • Terminating a c function

    17 février 2014, par dempap

    I want to make a function in c, that will capture video under Linux. I embedded ffmpeg command via system() in my c program, which captures video. ffmpeg terminates by pressing [q]. How can I include termination into my c program.

    This function is part of a server.c program. When client requests for termination, I want video cature function to terminate. Is this possible ?

    #include
    #include


    main()
    {

    char command[180];

    sprintf(command, "ffmpeg -f v4l2 -r 25 -s 640x480 -i /dev/video0 out.avi");
    system(command);

    }