
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (97)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (3556)
-
examples/c/decode/file/main.c : Add extra error handling.
20 novembre 2014, par Erik de Castro Lopoexamples/c/decode/file/main.c : Add extra error handling.
Michele Spagnuolo provided a file that initially had frames with two
channels but then had a frame with a single channel. This example
program only supports exactly two channels and previously had
insufficient validation.Closes : https://sourceforge.net/p/flac/bugs/418/
Reported-by : Michele Spagnuolo,
Google Security Team <mikispag@google.com> -
avutil/log : print level prefix also when no AVClass context is available
14 mars 2018, par Tobias Rappavutil/log : print level prefix also when no AVClass context is available
Adds the level prefix to all log messages, except those with level <=
AV_LOG_QUIET as they seem to be used for flushing the log buffer.Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by : Tobias Rapp <t.rapp@noa-archive.com> -
Rotating an MP4 Video at the Packet Level Using FFmpeg's Java CPP Presets and Outputting as M3U8
16 mars 2023, par Yunus Emre Guney StudentI'm attempting to rotate an MP4 video at the packet level and output it as an M3U8 using FFmpeg's Java CPP presets. Here's what I've tried :


First, I created a
rotationMatrixPointer
using an IntPointer and allocated memory for it usingavutil.av_malloc(size)
. Then, I set the display rotation to 90 degrees usingavutil.av_display_rotation_set(rotationMatrixPointer, 90)
.

Next, I created a bytePointer using the rotationMatrixPointer and set its limit to
rotationMatrixPointer.sizeof() * rotationMatrixPointer.limit()
. I then added side data to the videoPkt usingav_packet_add_side_data(videoPkt, AV_PKT_DATA_DISPLAYMATRIX, bytePointer, bytePointer.limit())
.

If ret < 0, I print "cannot add side data". Finally, I write the packet using
writePacket(videoPkt, (AVCodecContext)null)
and release the videoPkt usingav_packet_unref(videoPkt)
.

packet level rotation matrix side data hls stream output :


IntPointer rotationMatrixPointer = new IntPointer(avutil.av_malloc(size)).capacity(size);
 avutil.av_display_rotation_set(rotationMatrixPointer, 90);
 BytePointer bytePointer = new BytePointer(rotationMatrixPointer);
 bytePointer.limit(rotationMatrixPointer.sizeof() * rotationMatrixPointer.limit());
 int ret = av_packet_add_side_data(videoPkt, AV_PKT_DATA_DISPLAYMATRIX, bytePointer, bytePointer.limit());
 
 if (ret < 0) {
 System.out.println("cannot add side data");
 }
 writePacket(videoPkt, (AVCodecContext)null);
 
 av_packet_unref(videoPkt);



Although I'm not getting any errors, the video isn't being rotated. However, if I add the rotation matrix at the stream level and output it as an MP4, it works properly.


stream level mp4 to mp4 is working :


int size = 9 * Pointer.sizeof(IntPointer.class);
 IntPointer rotationMatrixPointer = new IntPointer(avutil.av_malloc(size)).capacity(size);
 
 avutil.av_display_rotation_set(rotationMatrixPointer, rotation);

 BytePointer bytePointer = new BytePointer(rotationMatrixPointer);
 bytePointer.limit(rotationMatrixPointer.sizeof() * rotationMatrixPointer.limit());
 
 ret = avformat.av_stream_add_side_data(stream, avcodec.AV_PKT_DATA_DISPLAYMATRIX , bytePointer, bytePointer.limit());
 if (ret < 0) {
 }



What is the proper way to rotate an MP4 input and output it as an HLS stream (M3U8) at the packet level using FFmpeg ? C++ examples are also acceptable.