
Recherche avancée
Autres articles (69)
-
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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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
Sur d’autres sites (13479)
-
regarding h264_qsv encoding speed in ffmpeg
31 janvier 2021, par TONYAs we know, now ffmpeg supports intel hardware encoding(h264 qsv).
But it doesn't support "ultra fast", is there any settings to improve the encoding speed ?


m_encoder = avcodec_find_encoder_by_name("h264_qsv");
if(m_encoder == nullptr){
 LOG(ERROR)<<"Find H264 Encoder failed";
 return false;
}
m_ctx = avcodec_alloc_context3(m_encoder);
m_ctx->bit_rate = bitrate_kbps*1024;
m_ctx->width = m_width;
m_ctx->height = m_height;
m_ctx->time_base = { 1, (int)fps };
m_ctx->qmin = 10;
m_ctx->qmax = 35;
m_ctx->gop_size = fps;
m_ctx->max_b_frames = 0;
m_ctx->has_b_frames = false;

m_ctx->codec_id = m_encoder->id;
m_ctx->codec_type = AVMEDIA_TYPE_VIDEO;
m_ctx->pix_fmt = m_h264InputFormat;

AVDictionary *param = nullptr;
av_dict_set(&param, "look_ahead", "0", 0);
av_dict_set(&param, "look_ahead_depth", "8", 0);
av_dict_set(&param, "preset", "veryfast", 0);
av_dict_set(&param, "tune", "zerolatency", 0);

int ret = avcodec_open2(m_ctx, m_encoder, &param);



-
Chromecast HLS : Unable to derive timescale
31 juillet 2020, par ScottI'm trying to get fmp4 HLS playing back on a new Chromecast (3rd gen I believe, not Ultra).


I've tried encoding the content with ffmpeg using both x264 and h264 libraries.
The main profile initially gives me a codec not supported error, remove the codec list from the hls manifest fixes this issue.


Switching to baseline (which is not ideal) doesn't give the codec error.


Both then (after removing the codec definitions or using baseline) give the following error :


Uncaught Error: Unable to derive timescale
 at Xl (www.gstatic.com/cast/sdk/libs/mediaplayer/1.0.0/media_player.js:344)
 at Y.$e (www.gstatic.com/cast/sdk/libs/mediaplayer/1.0.0/media_player.js:337)
 at Y.k.processSegment (www.gstatic.com/cast/sdk/libs/mediaplayer/1.0.0/media_player.js:340)
 at Am.k.processSegment (www.gstatic.com/cast/sdk/libs/mediaplayer/1.0.0/media_player.js:384)
 at Mj.$e (www.gstatic.com/cast/sdk/libs/mediaplayer/1.0.0/media_player.js:238)
 at Wj (www.gstatic.com/cast/sdk/libs/mediaplayer/1.0.0/media_player.js:236)
 at Oj (www.gstatic.com/cast/sdk/libs/mediaplayer/1.0.0/media_player.js:240)
 at Mj.fd (www.gstatic.com/cast/sdk/libs/mediaplayer/1.0.0/media_player.js:239)
 at Nc (www.gstatic.com/cast/sdk/libs/mediaplayer/1.0.0/media_player.js:39)
 at wi.Mc.dispatchEvent (www.gstatic.com/cast/sdk/libs/mediaplayer/1.0.0/media_player.js:38)



-
convert m3u8 to mp4 and simultaneously downloadable using http protocol
12 juin 2020, par akshaybhuradiaI want to convert m3u8 to mp4 and i would like to do conversion as well as download on same time. for download i have used http protocol of ffmpeg.



I am running this command



ffmpeg -i ultra.m3u8 -c copy -listen 1 -seekable 1 -f mp4 http://0.0.0.0:8080/test.mp4



when i trigger this url("http://0.0.0.0:8080/test.mp4"), then file start's download, but i am not able to play video.



and i get error when all chunks are read:

 [hls @ 0x55da053b4100] Opening 'ultra177.ts' for reading
 [tcp @ 0x55da0540f940] Connection to tcp://0.0.0.0:8080 failed: Connection refused
 [tcp @ 0x55da05520480] Connection to tcp://0.0.0.0:8080 failed: Connection refused
 [tcp @ 0x55da053ca780] Connection to tcp://0.0.0.0:8080 failed: Connection refused
 [tcp @ 0x55da05485f80] Connection to tcp://0.0.0.0:8080 failed: Connection refused
 [tcp @ 0x55da053ced40] Connection to tcp://0.0.0.0:8080 failed: Connection refused
 [tcp @ 0x55da054255c0] Connection to tcp://0.0.0.0:8080 failed: Connection refused
 [tcp @ 0x55da0540f940] Connection to tcp://0.0.0.0:8080 failed: Connection refused
 [tcp @ 0x55da05435380] Connection to tcp://0.0.0.0:8080 failed: Connection refused

frame=53236 fps=7939 q=-1.0 Lsize= 476447kB time=00:29:36.30 bitrate=2197.3kbits/s speed= 265x
video:446847kB audio:28278kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.278083%