
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (74)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (14347)
-
ffmpeg how to save decoded audio data to pcm
21 avril 2015, par JasonI have succeed decode audio data from a mp4 using avcodec_decode_audio4, I want to save the decoded frames,so I tried below
if (got_frame) {
int size;
uint8_t *data;
int ref = 0;
ret = swr_convert(swr, &data, frame->nb_samples, (const uint8_t **)frame->extended_data, frame->nb_samples);
//fwrite(data, 1, frame->nb_samples, fp_audio);
ref++;
int szie = av_samples_get_buffer_size(NULL, 2, 1024, AV_SAMPLE_FMT_FLTP, 1);
for (int i = 0; i < frame->linesize[0]/4; i++)
{
fwrite(frame->data[0] + 4*i, 1, 4, fp_audio);
fwrite(frame->data[1] + 4*i, 1, 4, fp_audio);
ref++;
}
av_frame_unref(frame);
}but the pcm sounds strange, I also tried directed write as follows
fwrite(frame->data[0], 1, frame->linesize[0], fp_audio);
or :
fwrite(frame->data[0], 1, frame->linesize[0], fp_audio);
fwrite(frame->data[1], 1, frame->linesize[0], fp_audio);I know that the decoded pcm is AV_SAMPLE_FMT_FLTP
any help would be appreciated -
How to demux mpegts data and mux it in mp4 using ffmpeg in c++ ?
29 septembre 2016, par M.TahaHello I am streaming mpegts data and receaving mpegts data at other end . And i am able to demux mpegts data seperately into h264 and aac. Now i have to mux this h264 and aac in mp4 format, I am able to do muxing of h264 alone in mp4 but as soon as i am muxing h264 with aac in mp4 my program gets crashed.
Help me in doing so. Any kind of help will be really appreciated.
-
Feed raw data to ffmpeg from python
27 octobre 2020, par eriI want to wrap h264 stream to mp4 container on fly. But ffmpeg exits after first buffer


ffmpeg = subprocess.Popen("ffmpeg -f h264 -i pipe: -c copy -f mp4 -movflags frag_keyframe+empty_moov+faststart pipe:".split(), stdout=subprocess.PIPE, stdin=subprocess.PIPE)

fd = ffmpeg.stdout.fileno()
fl = fcntl.fcntl(fd, fcntl.F_GETFL)
fcntl.fcntl(fd, fcntl.F_SETFL, fl | os.O_NONBLOCK)

while True:
 data = infile.read(32768)
 ffmpeg.stdin.write(data)
 data = ffmpeg.stdout.read()
 outfile.write(data)