
Recherche avancée
Médias (2)
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (66)
-
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (6466)
-
x86/vvc/vvc_mc : set the correct number of used registers in vvc_w_avg functions
1er février 2024, par James Almer -
How to set the reference frame number correctly in ffmpeg x265
8 mai 2020, par luodonghui1234I have a problem when using x265 in ffmpeg. The following code is that I use x265 params to set the reference frame number of P frame. I have checked the x265 document and set the — ref parameter to achieve the purpose I want, but it is invalid. The resolution of the encoded P frame header to num_negative_pics is always 2. I need to set this number to 1, that is to say, any P frame only needs to refer to the previous frame.



m_cVideoCodeCtxt->flags |= AV_CODEC_FLAG_CLOSED_GOP;
m_cVideoCodeCtxt->rc_max_rate = m_iRate;
m_cVideoCodeCtxt->rc_min_rate = (int)m_iRate / 2;
m_cVideoCodeCtxt->rc_buffer_size = m_iRate;
m_cVideoCodeCtxt->bit_rate = (int)m_iRate;

m_cVideoCodeCtxt->width = 1920; 
m_cVideoCodeCtxt->height = 1080; 
m_cVideoCodeCtxt->time_base = { 1, 30 };
m_cVideoCodeCtxt->framerate = { 30 ,1};
m_cVideoCodeCtxt->frame_number = 1; 
m_cVideoCodeCtxt->gop_size = 30; 
m_cVideoCodeCtxt->max_b_frames = 0; 
m_cVideoCodeCtxt->thread_count = 4;
m_cVideoCodeCtxt->pix_fmt = pix_fmt;
m_cVideoCodeCtxt->codec_type = AVMEDIA_TYPE_VIDEO;
m_cVideoCodeCtxt->codec_id = m_fVideoFmCtxt->video_codec_id;
int ret = av_opt_set(m_cVideoCodeCtxt->priv_data, "preset", "ultrafast", 0);
ret = av_opt_set(m_cVideoCodeCtxt->priv_data, "tune", "zerolatency", 0);

CString cstrX265Parms = L"";
cstrX265Parms.Format(L"keyint=%d:ref=1:no-open-gop=1:weightp=1:b_pyramid=1:weightb=0:cutree=0:rc-lookahead=0:bframes=0:scenecut=0:b-adapt=0:repeat-headers=1:max-merge=1", m_iFrameRate);
USES_CONVERSION;
char* cX265Parms = W2A(cstrX265Parms);
ret = av_opt_set(m_cVideoCodeCtxt->priv_data, "x265-params", cX265Parms, 0);




Is there a problem with my code ? Or need to cooperate with other parameter settings


-
How to use ffmpeg convert this file,the normal args can't convert it,it just convert one frame
18 juillet 2017, par ggggleThe Video Link is here.
$ffmpeg -i 9.mp4 out.mp4
ffmpeg version N-86676-g45dbb40cd1-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 5.4.1 (Debian 5.4.1-11) 20170519
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
libavutil 55. 67.100 / 55. 67.100
libavcodec 57.100.102 / 57.100.102
libavformat 57. 75.100 / 57. 75.100
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 94.100 / 6. 94.100
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '9.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
artist : moodyz
encoder : Lavf57.75.100
copyright : moodyz
Duration: 00:00:21.02, start: 0.000000, bitrate: 5662 kb/s
Stream #0:0(jpn): Video: vc1 (Advanced) (vc-1 / 0x312D6376), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 5658 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream mapping:
Stream #0:0 -> #0:0 (vc1 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x3eabba0] using SAR=1/1
[libx264 @ 0x3eabba0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x3eabba0] profile High, level 4.0
[libx264 @ 0x3eabba0] 264 - core 152 r19 ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'out.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
artist : moodyz
copyright : moodyz
encoder : Lavf57.75.100
Stream #0:0(jpn): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc57.100.102 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 1 fps=0.0 q=29.0 Lsize= 33kB time=00:00:00.00 bitrate=8254060.6kbits/s speed=0.000122x
video:32kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.640781%
[libx264 @ 0x3eabba0] frame I:1 Avg QP:23.97 size: 32485
[libx264 @ 0x3eabba0] mb I I16..4: 24.7% 72.0% 3.3%
[libx264 @ 0x3eabba0] 8x8 transform intra:72.0%
[libx264 @ 0x3eabba0] coded y,uvDC,uvAC intra: 31.5% 51.4% 4.9%
[libx264 @ 0x3eabba0] i16 v,h,dc,p: 50% 28% 11% 10%
[libx264 @ 0x3eabba0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 58% 19% 17% 1% 1% 1% 1% 1% 1%
[libx264 @ 0x3eabba0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 53% 22% 7% 4% 2% 5% 2% 3% 2%
[libx264 @ 0x3eabba0] i8c dc,h,v,p: 47% 20% 31% 2%
[libx264 @ 0x3eabba0] kb/s:7788.61As you can see,original video "Duration : 00:00:21.02",but the output file only "Duration 00:00:00.03".And the program exit no error.
It didn’t convert entire file.
What args I need to add ?