
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (38)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
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 (8665)
-
avutil/mips : Use MMI_{L, S}QC1 macro in {SAVE, RECOVER}_REG
23 juillet 2021, par Jiaxun Yangavutil/mips : Use MMI_L, SQC1 macro in SAVE, RECOVER_REG
SAVE,RECOVER_REG will be available for Loongson2 again,
also comment about the magic.Signed-off-by : Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by : Shiyou Yin <yinshiyou-hf@loongson.cn>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
How to save AVPacket if I have input information from online camera
31 mars 2020, par OrestI am new to libav.
I have a online video camera and want save video from archive to the video file with libav



Camera provides such data



uint32_t frameType, // I frame or P frame

void *frame, //pointer to the frame

size_t frameSize, //size of the frame in bytes

uint64_t timeStamp, //time stamp in time_t units

uint32_t width, //frame width

uint32_t height, //frame heigh

uint32_t genTime, //I do not now what is this. allways 0

const char *encodingType //H264 or H265




I tried this



void writeHeader(){
mOutputFilePath = outputFilePath;
 int ret = 0;
 avformat_alloc_output_context2(&output_format_context, nullptr, nullptr, outputFilePath.c_str());

AVStream *out_stream;
 out_stream = avformat_new_stream(output_format_context, nullptr);

 out_stream->discard = AVDISCARD_DEFAULT;//не змінювати
 out_stream->codecpar->level = 42;//не змінювати
 out_stream->codecpar->profile = FF_PROFILE_H264_HIGH;//не змінювати
 out_stream->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;

 if(codecID == "H264") out_stream->codecpar->codec_id = AV_CODEC_ID_H264;
 else if(codecID == "H265") out_stream->codecpar->codec_id = AV_CODEC_ID_H265;

 out_stream->codecpar->format = AV_PIX_FMT_YUV420P;
 out_stream->codecpar->height = heightFrame;
 out_stream->codecpar->width = widthFrame;
 // out_stream->codecpar->bit_rate = 2478235;
 // out_stream->codecpar->bits_per_coded_sample = 24;
 // out_stream->codecpar->bits_per_raw_sample = 8;
 out_stream->codecpar->sample_aspect_ratio.num = 0;
 out_stream->codecpar->sample_aspect_ratio.den = 1;
 out_stream->codecpar->color_primaries = AVCOL_PRI_UNSPECIFIED;//не змінювати

avio_open(&output_format_context->pb, mOutputFilePath.c_str(), AVIO_FLAG_WRITE);
avformat_write_header(output_format_context, &opt);
}

void writePacket(){
 AVPacket inputPacket;
 av_init_packet(&inputPacket);
 inputPacket.buf = NULL;
 inputPacket.pts = (int)timeStamp;
 inputPacket.dts = inputPacket.pts; 
 inputPacket.data = (unsigned char*)frame;
 inputPacket.size = (int)frameSize;

 if (frameType == KP2P_FRAME_TYPE_IFRAME)
 {
 inputPacket.flags = AV_PKT_FLAG_KEY;
 }
 inputPacket.duration = 0;
 inputPacket.pos = -1;
av_interleaved_write_frame(output_format_context, &inputPacket);
 av_packet_unref(&inputPacket);
}

void closeFile()
{
av_write_trailer(output_format_context);
 if (output_format_context && !(output_format_context->oformat->flags & AVFMT_NOFILE))
 avio_closep(&output_format_context->pb);
 avformat_free_context(output_format_context);
}




in output file I have black vindow and time is not correct (input 30 seconds in out 2 seconds)
What am I doing wrong ?


-
x86 : hevc_mc : save 1 gpr in epel filter loading
7 février 2015, par Christophe Gisquet