
Recherche avancée
Autres articles (80)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Les sons
15 mai 2013, par
Sur d’autres sites (4435)
-
Problem with ffmpeg function avformat_seek_file()
14 mars 2020, par KaelI am trying to seek the given frame in the video using ffmpeg library. I knew that there is
av_seek_frame()
function but it was recommended to useavformat_seek_file()
instead. Something similar mentioned here.I know that
avformat_seek_file()
can’t always take you to exact frame you want, but this is ok for me. I just want to jump to the nearest keyframe. So i open the video, find videostream and calling it like this :avformat_seek_file( formatContext, streamId, 0, frameNumber, frameNumber, AVSEEK_FLAG_FRAME )
It always returns 0, so i understand it as correct finish. However, it doesn’t work as it should to. I check byte position like here before and after calling
avformat_seek_file()
. Actually it changes, but it changes always in the same way whenever i’m trying to put different target frame numbers ! I mean that byteposition after this call is always same even with differentframeNumber
values. Obviously, i’m doing something wrong but i don’t know what exactly. I don’t know if it does matter but i’m using .h264 files for that. I tried different flags, different files, using timestamps instead of frames, flushing buffers before and after and so on but it doesn’t work for me. I will be very grateful if someone could show me what is wrong with it. -
Problem with ffmpeg function avformat_seek_file()
19 avril 2013, par KaelI am trying to seek the given frame in the video using ffmpeg library. I knew that there is
av_seek_frame()
function but it was recommended to useavformat_seek_file()
instead. Something similar mentioned here. I know thatavformat_seek_file()
can't always take you to exact frame you want, but this is ok for me. I just want to jump to the nearest keyframe. So i open the video, find videostream and calling it like this :
avformat_seek_file( formatContext, streamId, 0, frameNumber, frameNumber, AVSEEK_FLAG_FRAME )
. It always returns 0, so i understand it as correct finish. However, it doesn't work as it should to. I check byte position like here before and after callingavformat_seek_file()
. Actually it changes, but it changes always in the same way whenever i'm trying to put different target frame numbers ! I mean that byteposition after this call is always same even with differentframeNumber
values. Obviously, i'm doing something wrong but i don't know what exactly. I don't know if it does matter but i'm using .h264 files for that. I tried different flags, different files, using timestamps instead of frames, flushing buffers before and after and so on but it doesn't work for me. I will be very grateful if someone could show me what is wrong with it. -
Revision 603075fa04 : Further rate control tweaks and fixes. Further fixes regarding min and max rate
9 janvier 2014, par Paul WilkinsChanged Paths :
Modify /vp9/encoder/vp9_firstpass.c
Further rate control tweaks and fixes.Further fixes regarding min and max rate.
Bug fixes re kf group bits and last kf group.Change-Id : Iaafd719d30a489e135a3c55851ce8c632091a436