
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (18)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Les thèmes de MediaSpip
4 juin 20133 thèmes sont proposés à l’origine par MédiaSPIP. L’utilisateur MédiaSPIP peut rajouter des thèmes selon ses besoins.
Thèmes MediaSPIP
3 thèmes ont été développés au départ pour MediaSPIP : * SPIPeo : thème par défaut de MédiaSPIP. Il met en avant la présentation du site et les documents média les plus récents ( le type de tri peut être modifié - titre, popularité, date) . * Arscenic : il s’agit du thème utilisé sur le site officiel du projet, constitué notamment d’un bandeau rouge en début de page. La structure (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar 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 (5752)
-
ffmpeg failed to open h264 codec
29 novembre 2015, par JosephI’m trying to extract frames from an existed video (h264), using the ffmpeg library.
When use an avi video file (with mjpeg - motion jpeg codec), all works fine.
(m_formatCtx->iformat = av_find_input_format("mjpeg") ;)When run on the mp4 with h264 codec, we get the following errors, and no luck !!
We fail when try to retrieve stream information by calling :
avformat_find_stream_info(m_formatCtx, NULL) ;The log :
[h264 @ 02023460] non-existing PPS 1 referenced
[h264 @ 02023460] non-existing PPS 1 referenced
[h264 @ 02023460] decode_slice_header error
[h264 @ 02023460] non-existing PPS 6 referenced
[h264 @ 02023460] decode_slice_header error
[h264 @ 02023460] no frame!
[h264 @ 0201a880] decoding for stream 0 failed
[h264 @ 0201a880] Could not find codec parameters for stream 0 (Video: h264): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options
Could not find stream informationAny idea ?
the Code :
We call
CVideoReader::Open (file name , PRESET_MJPEG_CLOCKLESS_STREAM,
IMAGE_FORMAT_RGB1)see below :
bool CVideoReader::InitFormat(std::string _filepath)
{
m_formatCtx = avformat_alloc_context();
m_formatCtx->iformat = NULL;
if(m_videoPreset == PRESET_MJPEG_CLOCKLESS_STREAM)
{
m_formatCtx->iformat = av_find_input_format("h264");
// Get timestamp from clock on arrival
m_formatCtx->use_wallclock_as_timestamps = true;
}
int ret;
// open input file, and allocate format context
if ((ret = avformat_open_input(&m_formatCtx, _filepath.c_str(), m_formatCtx->iformat, NULL)) < 0)
{
std::cerr << "Could not open source file" << std::endl;
return false;
}
// retrieve stream information
ret = avformat_find_stream_info(m_formatCtx, NULL);
if (ret < 0)
{
std::cerr << "Could not find stream information" << std::endl;
return false;
}
m_videoStream = m_formatCtx->streams[0];
av_dump_format(m_formatCtx, 0, _filepath.c_str(), 0);
return true;
}
void CVideoReader::Open( char * _filepath, EVideoPreset _videoFormat, EImageFormat _imageDecodingFormat)
{
m_videoPreset = _videoFormat;
if(!InitFormat(_filepath))
return;
}
CVideoReader m_vr = new CVideoReader ();
m_vr->Open( (char *)inFile, CVideoReader::PRESET_MJPEG_CLOCKLESS_STREAM, CVideoReader::IMAGE_FORMAT_RGB1 ); -
Reading geolocation data from a video file using FFMpeg/Xuggler
23 décembre 2015, par agent154Using the MediaInfo application, I am able to see that a file taken with an iPhone 5 contains geolocation metadata, tagged both with ©xyz and com.apple.quicktime.location.ISO6709. I am not able to find any way to get this data using xuggler, however.
Format : MPEG-4
Format profile : QuickTime
Codec ID : qt 0000.00 (qt )
File size : 7.50 MiB
Duration : 3s 537ms
Overall bit rate : 17.8 Mbps
Recorded date : 2015-12-17T14:32:23-0330
Encoded date : UTC 2015-12-17 18:02:23
Tagged date : UTC 2015-12-17 18:02:27
Writing application : 8.4.1
Writing library : Apple QuickTime
Model : iPhone 5
©xyz : +47.5184-052.8046+133.390/
Make : Apple
com.apple.quicktime.make : Apple
com.apple.quicktime.creationdate : 2015-12-17T14:32:23-0330
com.apple.quicktime.location.ISO6709 : +47.5184-052.8046+133.390/
com.apple.quicktime.software : 8.4.1
com.apple.quicktime.model : iPhone 5As an aside, there seems to be a lot of metadata on this file that I can’t immediately find while debugging via xuggler.
The question at Reading Geolocation from Quicktime Movies with Java (Xuggler) ? is asking the exact same question, but has no answers or comments at all, and is over 4 years old.
Is anybody aware of a way to be able to get this data using xuggler as it is, or how I can modify the source and re-compile to make it work ? I am required to get this data for a work project. Thanks.
-
linking libavcodec os x ffmpeg ApplicationServices.framework
30 décembre 2015, par Grady PlayerHere is my error : (newer version of ffmpeg)
dyld: Library not loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
Referenced from: /Users/me/path/to/lib/libavcodec.dylib
Reason: Incompatible library version: libavcodec.dylib requires version 64.0.0 or later, but ApplicationServices provides version 1.0.0I have read the questions on SO that say you need to link ApplicationServices.framework... which I have done, it makes no difference...
I have searched for other versions of that framework :
$ mdfind ApplicationServices.framework
/System/Library/Frameworks/ApplicationServices.frameworkjust one...
so then inspecting frameworks...
$ otool -L /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 48.0.0)
/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 600.0.0)
...and libavcodec
otool -L ../lib/libavcodec.dylib
../lib/libavcodec.dylib:
libavcodec.dylib (compatibility version 56.0.0, current version 56.60.100)
@loader_path/libswresample.dylib (compatibility version 1.0.0, current version ...
...
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 64.0.0, current version 600.0.0)I am compiling everything with
-mmacosx-version-min=10.7
so maybe a bug in the toolchain ?
compiler :
clang -v
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin15.2.0
Thread model: posixlinker :
ld -v
@(#)PROGRAM:ld PROJECT:ld64-253.9
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
LTO support using: Apple LLVM 7.0.2 (clang-700.1.81)