
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (63)
-
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (13031)
-
How can I detect ffmpeg vs libav in CMake ?
19 décembre 2015, par Scott LambMy project uses libavformat to connect to
rtsp://
URLs. It’s important that it set a socket timeout and reconnect on error. Unfortunately, thestimeout
open option for this only exists in ffmpeg (and in particular, its libavformat versions >= 55.1.100), not the competing project libav (any version). And some systems I’d like to support (such as Raspbian Jessie) are still bundled with libav.So, I think my best option is to detect whether I have a suitable version using cmake, and install ffmpeg in-tree if not. I think I should be able to do this via something like :
pkg_check_modules(FFMPEG libavutil libavcodec libavformat)
if(not FFMPEG_FOUND or FFMPEG_VERSION VERSION_LESS 55.1.101)
ExternalProject_Add(
FfmpegProject
URL "http://ffmpeg.org/releases/ffmpeg-2.8.3.tar.xz"
URL_HASH "SHA1=a6f39efe1bea9a9b271c903d3c1dcb940a510c87"
INSTALL_COMMAND "")
...set up flags and such to use this in-tree version...
endif()except that I don’t know how to detect libav vs ffmpeg. I don’t see anything in the pkgconfig stuff or
libavformat/version.h
to distinguish them. The version numbers they use seem to overlap. It’s not obvious to me at all how to tell the difference programmatically, much less do so with a not-weird cmake rule. Any ideas ? -
Cannot get first frames using avformat_seek_file
14 octobre 2015, par JonesVI want to seek for an arbitrary frame in a video using
libav
. More precisely, using the functionavformat_seek_file
, which apparently usesav_seek_frame
internally.I want to make a backward search (i.e. to get the closest possible frame before the one I seek), so that I can then go forward until I find precisely the one I want. For this, I use the function as follows :
avformat_seek_file(..., ...,
std::numeric_limits::min(),
target_pts,
target_pts,
...);Which means that I don’t have any tolerance about finding a frame that comes after my target_pts, but I am happy with any frame coming before.
I am using the Big Buck Bunny videos for testing. Using the 480p H.264 video, I can seek any
pts
without problems. But using the 480p OGG video, I can’t. Actually, I can seek for any frame afterpts = 73
, but not before. Seeking forpts = 0
sets the video topts = 73
.One might think that the stream actually begins at
pts = 73
, but this is not what<stream>.start_time</stream>
returns. Moreover, if I only load the video and read the frames in order, I can get the first 73 frames without any problem. The issue is that I can never come back to one of those frames by usingavformat_seek_file
.Last point : if I use the flag
AVSEEK_FLAG_ANY
, then it works. But that might result in me decoding only a part of the frame I want, which is not a solution for me.Can anybody explain this weird behavior ?
-
Cannot get first frames using av_seek_file
31 janvier 2014, par JonesVI want to seek for an arbitrary frame in a video using
libav
. More precisely, using the functionavformat_seek_file
, which apparently usesav_seek_frame
internally.I want to make a backward search (i.e. to get the closest possible frame before the one I seek), so that I can then go forward until I find precisely the one I want. For this, I use the function as follows :
avformat_seek_file(..., ...,
std::numeric_limits::min(),
target_pts,
target_pts,
...);Which means that I don't have any tolerance about finding a frame that comes after my target_pts, but I am happy with any frame coming before.
I am using the Big Buck Bunny videos for testing. Using the 480p H.264 video, I can seek any
pts
without problems. But using the 480p OGG video, I can't. Actually, I can seek for any frame afterpts = 73
, but not before. Seeking forpts = 0
sets the video topts = 73
.One might think that the stream actually begins at
pts = 73
, but this is not what<stream>.start_time</stream>
returns. Moreover, if I only load the video and read the frames in order, I can get the first 73 frames without any problem. The issue is that I can never come back to one of those frames by usingavformat_seek_file
.Last point : if I use the flag
AVSEEK_FLAG_ANY
, then it works. But that might result in me decoding only a part of the frame I want, which is not a solution for me.Can anybody explain this weird behavior ?