
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (7)
-
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...) -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (4186)
-
Errors while Audio decoding ?
13 avril 2015, par Kuldeep MoreHi all I am decoding audio streaming using FFMPEG API and writing into the .pcm file , but while decoding audio I am getting following errors .
Also I am using Live555 to receive audio encoded streaming.Please tell me what is going wrong in the following code.
I am calling following function for initializing purpose.
AVCodec *acodec;
AVCodecContext *ac=NULL;
AVCodecParserContext *parser = NULL;
AVFrame *picture;
AVPacket avpkt;
int initFFMpeg(RTSPClient* rtspClient)
{
avcodec_register_all();
av_init_packet(&avpkt);
acodec = avcodec_find_decoder(AV_CODEC_ID_AAC);
if (!acodec)
{
fprintf(stderr, "acodec not found audio codec\n");
exit(1);
return 0;
}
ac=avcodec_alloc_context3(acodec);
picture = avcodec_alloc_frame();
ac->skip_loop_filter=AVDISCARD_ALL;
ac->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;
ac->codec_type = AVMEDIA_TYPE_AUDIO;
ac->channels = 2;
ac->sample_fmt = AV_SAMPLE_FMT_S16; // AV_SAMPLE_FMT_S16
ac->sample_rate = 44100; // 44100
ac->channel_layout = 3; // 3
const AVRational timeBase = {1, ac->sample_rate};
ac->time_base = timeBase;
if (avcodec_open2(ac,acodec,NULL) < 0)
{
fprintf(stderr, "could not open codec\n");
exit(1);
}
}And for decoding audio I am calling following function.
void decodeaudioframe(unsigned char *fbuffer,int frameSize)
{
int len,out_size;
unsigned char *buffer = new unsigned char[frameSize];
memcpy(buffer, fbuffer, frameSize);
uint8_t* in = buffer;
int size = frameSize;
while(size > 0)
{
avpkt.data =in;
avpkt.size = size;
len = avcodec_decode_audio4(ac, picture,&out_size,&avpkt);
if (len < 0)
{
fprintf(stderr, "Error while decoding audio frame %d\n", aframe);
break;
}
if(out_size)
{
fprintf(stderr, "Audio decoding audio success frame no= %d\n", aframe);
printf("channels %d",picture->channels);
printf("Sample rate=%d",picture->sample_rate);
fwrite(picture,1,frameSize,faudio);
}
size -= len;
in += len;
++aframe;
}
delete []buffer;
}Following errors are coming when I run this code.
[URL:"rtsp://admin:12345@192.168.3.170:554/stream1/"]: Started playing session...
Audio decoding audio success frame no= 0
[aac @ 0xae574e0] Input buffer exhausted before END element found
Error while decoding audio frame 1
[aac @ 0xae574e0] Number of scalefactor bands in group (50) exceeds limit (49).
Error while decoding audio frame 1
[aac @ 0xae574e0] Input buffer exhausted before END element found
Error while decoding audio frame 1
Audio decoding audio success frame no= 1
[aac @ 0xae574e0] Input buffer exhausted before END element found
Error while decoding audio frame 2
[aac @ 0xae574e0] Input buffer exhausted before END element found
Error while decoding audio frame 2
Audio decoding audio success frame no= 2
[aac @ 0xae574e0] Input buffer exhausted before END element found
Error while decoding audio frame 3
[aac @ 0xae574e0] Number of scalefactor bands in group (50) exceeds limit (49).
Error while decoding audio frame 3
[aac @ 0xae574e0] Number of scalefactor bands in group (50) exceeds limit (49).
Error while decoding audio frame 3
Audio decoding audio success frame no= 3
[aac @ 0xae574e0] Input buffer exhausted before END element found
Error while decoding audio frame 4
[aac @ 0xae574e0] Input buffer exhausted before END element found
Error while decoding audio frame 4
Audio decoding audio success frame no= 4
[aac @ 0xae574e0] Input buffer exhausted before END element found -
ffmpeg command to convert Image to video not work in sony and Htc device
23 juin 2014, par user3223044I am using ffmpeg command to convert group of images into video. It work perfect in samsung device but in other device like sony , HTC it not work.Can anyone tell me what is the problem with my code.
Here is ffmpeg command that i am using__"ffmpeg -f image2 -r 1/5 -i /mnt/sdcard/videokit/Image%d.jpg -vcodec mpeg4 -acodec copy -b 12682k -r 29.85 -sameq -vsync 2 output.mp4"
Thanks
-
Redhat 6.9 no IGMP response [on hold]
13 septembre 2018, par JamieI’m setting up my server to ingest a multicast.
The server will initiate the request and can join the multicast for about 2:30-3:30 min. After that it gets dropped from the multicast group due to no IGMP response.
Server is running Redhat 6.9
Route table has the 224.0.0.0. netmask 240.0.0.0 via eth5. I also have the source IP added to the routeing table, with the multicast.
I’ve gone through all of the articles on Stackoverflow, and also looked through the Redhat articles and can’t find anything that points to the issue.
I’m configured for IGMP V3, and i have the rp_filter turned off.
I’ve also checked the iptables which are off.
I’m using FFMPEG to pull the stream.