
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 (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...) -
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)
Sur d’autres sites (6215)
-
Revision 2fb9b635bb : Fix denoiser chroma component initialization Use the correct frame size and str
4 janvier 2015, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_denoiser.c
Fix denoiser chroma component initializationUse the correct frame size and stride value for chroma components
when setting the initial values. These control parameters are
assigned when the denoiser buffer was allocated and initialized.Change-Id : Ia6318194c7738aff540bcbd34f77f0dac46221a1
-
C++ - Failed to stream to youtube with ffmpeg
27 mars 2022, par Samuel IvesWell, I have an open source project similar to OBS but aimed at churches, the repository you can find here, however I'm stuck in the encoding part,
avcodec_send_frame
after a while just returns Failed to send frame - code : -11 err : Resource temporarily unavailable and never gets to the stage of receiving packets.

I've tried everything including changing the output format to MP4 but the application just crashes, this time I'm challenging myself to a bigger project, I thought I had solved it by changing the codec to H.264 but I was wrong


Basically I'm trying to get OpenCV images from my webcam and send them to youtube


void Broadcast::writeFrame(const cv::Mat &image)
{

 const int width = image.cols;
 const int height = image.rows;

 if(swConv == nullptr) {
 swConv = sws_getContext(width, height, AV_PIX_FMT_RGB24, codecCtx->width, codecCtx->height, codecCtx->pix_fmt, SWS_BILINEAR, nullptr, nullptr, nullptr);
 if(!swConv) {
 qCritical() << "Could not create SwContext";
 return;
 }
 }

 const int stride[4] = { static_cast<int>(image.step[0]) };
 sws_scale(swConv, &image.data, stride, 0, image.rows, frame->data, frame->linesize);
 frame->pts = frame_pts++;

 int ret = avcodec_send_frame(codecCtx, frame);
 if(ret < 0) {
 qWarning() << "Failed to send frame - code: " << ret << " err: " << av_err2str(ret);;
 return;
 }

 qDebug() << "AA " << ret;

 // Encode frames into packet
 while(ret > 0) {

 qDebug() << "BB " << ret;

 ret = avcodec_receive_packet(codecCtx, pkt);
 if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF) {
 return;
 } else if(ret < 0) {
 qCritical() << "Error reciving packets: " << av_err2str(ret);
 break;
 }

 qDebug() << "CC";

 av_write_trailer(ofctx);
 //av_packet_unref(pkt);

 }

 qDebug() << "Frames " << frame_pts;

}
</int>


-
FFmpeg : Encode Rgb Frames (AvFrames) to H264
9 juillet 2021, par NoviceAndNoviceWhen I encode Rgb24 frame with H264 I get "input width is greater than than stride"...


By the way if I give raw image which is Yuv420p, ffmpeg successfully encodes it...


What I wanted to know is :


i) Do we have to give Yuv format for encoding ? Can't give rgb frame for encoding h264 ?

ii) If we can give rgb frame, what is the trick ?