Recherche avancée

Médias (91)

Autres articles (78)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (7034)

  • ffmpeg get frame time stamp

    19 novembre 2018, par Anshul G.

    I am trying to record a webcam video using ffmpeg. I have a logitech c922 Pro Stream Webcam. This is the command that I use :

    ffmpeg -f v4l2 -framerate 60 -video_size 1280x720 -input_format mjpeg -i /dev/video1 out.mp4

    My application requires me to get the exact timestamp for every frame. While I could use my knowledge of the framerate and frame number to add the required interval to the start time, I am afraid that this might not be completely accurate.

    Firstly, I have noticed that while recording, the console seems to initially display a far higher fps than the one I have set :

    Press [q] to stop, [?] for help
    frame=  177 fps= 85 q=-1.0 Lsize=     502kB time=00:00:02.91 bitrate=1410.8kbits/s dup=144 drop=0    

    Also, I think that ffmpeg drops frames in between sometimes.

    However, my videos seem to have the correct number of frames so I think that the fps value displayed could instead be referring to the encoding/ decoding speed. I am not sure about frame dropping.

    I would be happy of you could let me know what you think, or suggest an alternative so that I can timestamp my frames accurately. Thanks !

    Edit :

    I have understood that frame rate is correlated to ambient light which can lead to high duplication in frames. I am currently recording on windows and have set frame rate as the priority in logitech gaming software. However there is still the occasional drop in frame or duplication. Does this affect time stamp of the frames ? Or can I extrapolate from the start time ?

  • How can I calculate the audio time by byte position (bytes to secounds) ?

    10 avril 2020, par coding-scripting

    I have the audio file and byte range. I want get time for each byte position. I'm use php.

    



    I tried to calculate that using this formula : $time = $byte/($bitRate * $sampleRate * $cannels)
But it doesn't work.

    



    So how can I calculate this ? I used ffmpeg (php-ffmpeg), and if you know how to find this data with ffmpeg, that would be fine ;

    


  • avformat/rtpdec : Fix prft wallclock time.

    25 mars 2021, par Alok Priyadarshi
    avformat/rtpdec : Fix prft wallclock time.
    

    Timestamp difference is available in media timebase (1/90K) where as
    rtcp time is in the default microseconds timebase. This patch fixes
    the calculated prft wallclock time by rescaling the timestamp delta
    to the microseconds timebase.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavformat/rtpdec.c