
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (63)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (9363)
-
lavc/qsvenc : update the selection of bitrate control method
1er février 2024, par Haihao Xianglavc/qsvenc : update the selection of bitrate control method
The default method is changed to CQP
Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>
-
Rate-Control management in ffmpeg
28 février 2014, par alexbuissonHi I try to understand how ffmpeg wrap its rc_max_rate parameters to the x264 parameters
and I'm wondering what the following code means ? It's a piece of code coming fromffmpeg/libavcodec/mpeg_video_enc.c
but the commit log is not explicit and I don't know from where those Magic Number come from !So if you have an idea or an URL that can explain why those formula where implemented, it will be useful.
if (avctx->rc_max_rate && !avctx->rc_buffer_size) {
switch(avctx->codec_id) {
case AV_CODEC_ID_MPEG1VIDEO:
case AV_CODEC_ID_MPEG2VIDEO:
avctx->rc_buffer_size = FFMAX(avctx->rc_max_rate, 15000000) * 112L / 15000000 * 16384;
break;
case AV_CODEC_ID_MPEG4:
case AV_CODEC_ID_MSMPEG4V1:
case AV_CODEC_ID_MSMPEG4V2:
case AV_CODEC_ID_MSMPEG4V3:
if (avctx->rc_max_rate >= 15000000) {
avctx->rc_buffer_size = 320 + (avctx->rc_max_rate - 15000000L) * (760-320) / (38400000 - 15000000);
} else if(avctx->rc_max_rate >= 2000000) {
avctx->rc_buffer_size = 80 + (avctx->rc_max_rate - 2000000L) * (320- 80) / (15000000 - 2000000);
} else if(avctx->rc_max_rate >= 384000) {
avctx->rc_buffer_size = 40 + (avctx->rc_max_rate - 384000L) * ( 80- 40) / ( 2000000 - 384000);
} else
avctx->rc_buffer_size = 40;
avctx->rc_buffer_size *= 16384;
break;
}
if (avctx->rc_buffer_size) {
av_log(avctx, AV_LOG_INFO, "Automatically choosing VBV buffer size of %d kbyte\n", avctx->rc_buffer_size/8192);
}
} -
how to fix nvidia hevc transcoding problem
25 novembre 2019, par Dlniya Dlzarwe are using FFmpeg for media broadcasting DVB-T2
the structure is like that :[ source h264 (multicast) >> FFmpeg h265 >> scrambler ]
we are using Nvidia GPU for transcoding
the problem is, when we transcode to H265 there is an issue when we play the video.
it is like cc error or maybe muxing issue, we don’t know, what we know is, the stream has lagging every few mins.
we played the output stream by FFmpeg again/root/bin/ffmpeg -v error -i udp://lo@127.0.0.1:5000 -f null - 2>error.log
we got this
[hevc @ 0x2610b40] PPS id out of range: 0
Last message repeated 35 times
[hevc @ 0x2604a80] Could not find ref with POC 21and here is our FFmpeg command line example for transcoding
/root/bin/ffmpeg -re -y -vsync 0 -hwaccel cuvid -c:v h264_cuvid -deint 2 -drop_second_field 1 -surfaces 10 -fflags discardcorrupt+genpts+nobuffer -i "udp://227.30.40.4:1234?localaddr=192.168.2.55&overrun_nonfatal=1&&fifo_size=50000000" -map 0:p:352 -af aresample=async=1 -acodec aac -ac 1 -strict -2 -vcodec hevc_nvenc -g 40 -b:v 2300k -minrate 2300k -maxrate 2300k -bufsize 2300k -preset hq -metadata service_provider="ISTAR MEDIA" -metadata service_name="KURDMAX" -flags cgop -sc_threshold 500 -f mpegts -muxrate 2700k -y "udp://227.2.2.6:1234?localaddr=192.168.2.55&fifo_buffer=50000000&overrun_nonfatal_option=1&bitrate=2700000&burst_bits=2700000&pkt_size=1316" 2> /var/log/ffmpeg/kurdmax.txt