
Recherche avancée
Autres articles (82)
-
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (6079)
-
Javacv-ffmpeg : Getting audio data
25 janvier 2013, par bmericI'm trying to get audio data from a file(mp3, mp4 and 3gp). I can get frames but not the audio. Am i using wrong ffmpeg classes ?(I'm very new to ffmpeg)
FFmpegFrameGrabber ff = new FFmpegFrameGrabber("/sdcard/cock_a_1.wav" );
try {
ff.start();
Frame frame;
int i=0;
while ((frame = ff.grabFrame()) != null) {
if (frame.samples.hasArray())
Log.e("frame", String.valueOf(i++));
}
ff.stop();How can i extract audio data array ?
-
download livestream real-time data
15 juillet 2024, par Chenguang HeI'm working on a project to design a RTMP server in Java to get livestream data and download to flv file. One requirement is that to capture the real-time data, I need to download the recording for every second instead of downloading entire recording when livestream stop. Is there any way to achieve it ? Thanks


tried to download stream into byte array for every second and decode to flv using H.264 but didn't work.


-
FFmpeg : create data streams in MP4 container
28 mars 2022, par SoerenIs there a way to make FFmpeg create data streams in MP4 or Quicktime (.mov) containers ? I have tried
-attach ...
(works fine for Matroska containers, but not MP4/MOV) or-codec bin_data
, but to no avail.

-attach ...
technically creates streams with codec type "attachment", which are different from data streams. And while FFmpeg isn't smart enough to directly create data streams in containers where attachment streams aren't supported (ie. MP4), a two-step approach works :

ffmpeg -i <some media="media" file="file"> -attach <some file="file"> -metadata:s:2 mimetype=<data mime="mime" type="type"> -map 0:v -map 0:a -codec copy attached.mkv
ffmpeg -i attached.mkv -codec copy attached.mp4
</data></some></some>


The first command creates a Matroska file that contains a stream with
codec_type=attachment
. The second command then simply re-packages this into an MP4 container, turning the attachment stream into a data stream (codec_type=data
). So the question is : could this be combined into a single step ?