
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (45)
-
Participer à sa documentation
10 avril 2011La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
Pour ce faire, vous pouvez vous inscrire sur (...) -
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (5847)
-
FFMpeg video clipping
8 mars 2012, par integra753I would like to use the ffmpeg apis (not the command line) for clipping videos to a specific size (e.g say 1hr video, create a new video starting at 10 minutes and ending at 30 minutes). Are there any examples of doing this out there ?
I have used the apis to stream and record video so I have a bit of background knowledge.
Thanks.
-
How to encode video using ffmpeg-java on Android from Bitmaps ?
15 décembre 2011, par gtcompscientistI am using
ffmpeg-java
compiled for Android to encode/decode video for my application.The problem that I've run into is that I am currently getting each frame as a
Bitmap
(just a plainandroid.graphics.Bitmap
) and I can't figure out how to stuff that into the encoder.Here is the code that I am using to instantiate all the ffmpeg libraries :
AVCodecLibrary cLibrary = AVCodecLibrary.INSTANCE;
cLibrary.avcodec_register_all();
cLibrary.avcodec_init();
AVFormatLibrary fLibrary = AVFormatLibrary.INSTANCE;
fLibrary.av_register_all();
//AVUtilLibrary uLibrary = AVUtilLibrary.INSTANCE;
//uLibrary.av_malloc();
AVCodec pCodec = cLibrary.avcodec_find_encoder(AVCodecLibrary.CODEC_ID_H263);
if (pCodec == null)
{
Logging.Log("Unable to find codec.");
return;
}
Logging.Log("Found codec.");
AVCodecContext codecCtx = cLibrary.avcodec_alloc_context();
codecCtx.bit_rate = 64000;
codecCtx.coded_width = VIDEO_WIDTH;
codecCtx.coded_height = VIDEO_HEIGHT;
codecCtx.time_base = new AVRational(1, VIDEO_FPS);
codecCtx.pix_fmt = AVCodecLibrary.PIX_FMT_YUV420P;
codecCtx.codec_id = AVCodecLibrary.CODEC_ID_H263;
//codecCtx.codec_type = AVMEDIA_TYPE_VIDEO;
if (cLibrary.avcodec_open(codecCtx, pCodec) < 0)
{
Logging.Log("Unable to open codec.");
return;
}
Logging.Log("Codec opened.");This is what I want to be able to execute next :
cLibrary.avcodec_encode_video(codecCtx, pPointer, pFrame.size(), pFrame);
But, as of now, I don't know how to put the Bitmap into the right piece or if I have that setup correctly.
A few notes about the code :
-VIDEO_WIDTH
= 352
-VIDEO_HEIGHT
= 288
-VIDEO_FPS
= 30 ;
- I'm unsure about howpPointer
andpFrame
are handled. -
Convert video of any format to mp4 using php and ffmpeg
4 juillet 2012, par Chithri AjayAfter doing some online searches, I found out that ffmpeg is the best way to convert any video format to mp4. How can I install the ffmpeg and ffmpeg-php extensions on my dedicated server ?