
Recherche avancée
Autres articles (49)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
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 (...)
Sur d’autres sites (6282)
-
FFmpeg drops last frame with filter fps/framerate
27 juin 2019, par DzmitryWhen I convert the same mp4 video (mime:video/mp4, fps:25) with video filter fps with value 25 ffmpeg drops one (last ?) frame everytime.
This is log :[h264 @ 0x7fc89ceb3cc0] Reinit context to 960x544, pix_fmt: yuv420p
[h264 @ 0x7fc89cfb59c0] Reinit context to 960x544, pix_fmt: yuv420p
[libx264 @ 0x7fc89cf932c0] using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX
[libx264 @ 0x7fc89cf932c0] profile Constrained Baseline, level 5.1
[libx264 @ 0x7fc89cf932c0] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=8 lookahead_threads=8 sliced_threads=1 slices=8 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=12 keyint_min=1 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=1.00 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[in @ 0x7fc89eeeda40] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x3
[in @ 0x7fc89eeeda40] TB:0.000021 FRAME_RATE:nan SAMPLE_RATE:48000.000000
[Parsed_aresample_1 @ 0x7fc89eeee9c0] ch:2 chl:stereo fmt:fltp r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
[Parsed_asetnsamples_2 @ 0x7fc89eeede40] tb:0.000021 sample_rate:48000.000000 nb_channels:2.000000
[Parsed_volume_3 @ 0x7fc89ef049c0] n:nan t:nan pts:nan precision:float volume:1.071519 volume_dB:0.600000
[in @ 0x7fc89ef05d00] w:960 h:540 pixfmt:yuv420p tb:1/12800 fr:0/1 sar:0/1 sws_param:
[Parsed_fps_0 @ 0x7fc89ef06a00] fps=25/1
[Parsed_scale_2 @ 0x7fc89ef07780] w:960 h:540 flags:'bilinear' interl:0
[Parsed_setsar_1 @ 0x7fc89ef06cc0] w:960 h:540 sar:0/1 dar:16/9 -> sar:1/1 dar:16/9
[Parsed_scale_2 @ 0x7fc89ef07780] w:960 h:540 fmt:yuv420p sar:1/1 -> w:960 h:540 fmt:yuv420p sar:1/1 flags:0x2
[h264 @ 0x7fc89d164c40] Reinit context to 960x544, pix_fmt: yuv420p
[Parsed_fps_0 @ 0x7fc89ef06a00] Set first pts to 0
[Parsed_fps_0 @ 0x7fc89ef06a00] 609 frames in, 608 frames out; 1 frames dropped, 0 frames duplicated.
[libx264 @ 0x7fc89cf932c0] frame I:61 Avg QP:18.67 size: 44710
[libx264 @ 0x7fc89cf932c0] frame P:547 Avg QP:21.44 size: 19455
[libx264 @ 0x7fc89cf932c0] mb I I16..4: 4.6% 0.0% 95.4%
[libx264 @ 0x7fc89cf932c0] mb P I16..4: 3.9% 0.0% 7.9% P16..4: 43.2% 27.9% 12.9% 0.0% 0.0% skip: 4.3%
[libx264 @ 0x7fc89cf932c0] coded y,uvDC,uvAC intra: 77.9% 90.3% 36.3% inter: 36.2% 46.0% 2.6%
[libx264 @ 0x7fc89cf932c0] i16 v,h,dc,p: 23% 35% 28% 14%
[libx264 @ 0x7fc89cf932c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 23% 17% 6% 7% 6% 7% 5% 5%
[libx264 @ 0x7fc89cf932c0] i8c dc,h,v,p: 53% 20% 19% 8%
[libx264 @ 0x7fc89cf932c0] kb/s:4397.76
[aac @ 0x7fc89edc6c00] Qavg: 642.230I’ve already tried to modify filter with parameters round=up/near/down:eof_action=pass/round
ffmpeg -i input.mp4 -c:v libx264 -filter:v fps=fps=25 output.mp4
I expect to get converted videos without dropped frames.
-
tag refuses to play mp4 video
5 janvier 2015, par MightyPorkI have a video I want to embed using the html5 video tag :
I’ve converted it using
ffmpeg
:ffmpeg -i P6135199.MOV -vcodec libx264 -acodec aac helios.mp4
FFMPEG output :
[libx264 @ 0x22ac340] using cpu capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 [libx264 @ 0x22ac340] profile High 4:2:2, level 1.2, 4:2:2 8-bit [libx264 @ 0x22ac340] 264 - core 142 r2455 021c0dc - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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=6 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=15 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 ’helios.mp4’ : Metadata : comment-eng : OLYMPUS DIGITAL CAMERA comment : OLYMPUS DIGITAL CAMERA encoder : Lavf56.15.102 Stream #0:0(eng) : Video : h264 (libx264) ([33][0][0][0] / 0x0021), yuvj422p(pc), 320x240, q=-1—1, 15 fps, 15360 tbn, 15 tbc (default) Metadata : creation_time : 2008-06-13 10:47:16 encoder : Lavc56.13.100 libx264 Stream mapping : Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264)) Press [q] to stop, [?] for help frame= 240 fps=124 q=-1.0 Lsize= 906kB time=00:00:15.86 bitrate= 467.7kbits/s video:902kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.409100% [libx264 @ 0x22ac340] frame I:1 Avg QP:23.71 size : 7960 [libx264 @ 0x22ac340] frame P:123 Avg QP:23.85 size : 5255 [libx264 @ 0x22ac340] frame B:116 Avg QP:25.41 size : 2317 [libx264 @ 0x22ac340] consecutive B-frames : 3.3% 96.7% 0.0% 0.0% [libx264 @ 0x22ac340] mb I I16..4 : 15.7% 69.0% 15.3% [libx264 @ 0x22ac340] mb P I16..4 : 2.2% 13.4% 0.8% P16..4 : 43.8% 23.1% 14.0% 0.0% 0.0% skip : 2.8% [libx264 @ 0x22ac340] mb B I16..4 : 0.3% 1.3% 0.1% B16..8 : 42.4% 9.9% 3.0% direct:12.2% skip:30.9% L0:37.2% L1:38.2% BI:24.5% [libx264 @ 0x22ac340] 8x8 transform intra:80.8% inter:71.9% [libx264 @ 0x22ac340] coded y,uvDC,uvAC intra : 76.7% 96.8% 49.7% inter : 37.8% 60.9% 5.1% [libx264 @ 0x22ac340] i16 v,h,dc,p : 39% 4% 8% 49% [libx264 @ 0x22ac340] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu : 15% 14% 39% 6% 3% 4% 3% 6% 12% [libx264 @ 0x22ac340] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu : 25% 11% 18% 8% 7% 7% 8% 8% 8% [libx264 @ 0x22ac340] i8c dc,h,v,p : 63% 7% 20% 10% [libx264 @ 0x22ac340] Weighted P-Frames : Y:5.7% UV:0.8% [libx264 @ 0x22ac340] ref P L0 : 51.4% 18.3% 20.6% 9.3% 0.4% [libx264 @ 0x22ac340] ref B L0 : 80.8% 19.2% [libx264 @ 0x22ac340] kb/s:461.52
And I try to embed it as follows :
<video src="helios.mp4" controls="controls">Get a better browser!</video>
However, Chrome doesn’t play the video, only offers to download it (same as it did before I converted the video). Firefox has the same problem.
I’ve tested and other mp4 files (from my phone) play just fine.
What’s the problem ? Did I convert it wrong ?
-
Convert video with ffmpeg to have the same quality
14 mai 2019, par zlonI want to make some present for my grandma. And prepare some video. Unfortunately here video player is old and could not read some file formats. She is not at home now, so I don’t know which player she has. But I have a file which is OK for here system :
File which is in a correct format :
General
Complete name : let.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 688 MiB
Duration : 1 h 35 min
Overall bit rate : 1 002 kb/s
Writing application : VirtualDubMod 1.4.13
Writing library : VirtualDub build 14328/release
FileExtension_Invalid : avi
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Simple@L3
Format settings, BVOP : No
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 1 h 35 min
Bit rate : 800 kb/s
Width : 544 pixels
Height : 416 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.141
Stream size : 549 MiB (80%)
Writing library : XviD 0.0.09 (UTC 2003-03-25)I have the following file, which here system could not read :
File in the incorrect format :
General
Complete name : amf.avi
Format : AVI
Format/Info : Audio Video Interleave
Overall bit rate : 2 167 kb/s
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings : BVOP1
Format settings, BVOP : 1
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (MPEG)
Codec ID : DX50
Codec ID/Hint : DivX 5
Bit rate : 1 710 kb/s
Width : 720 pixels
Height : 528 pixels
Display aspect ratio : 4:3
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.188
Stream size : 1.15 GiB (79%)
Writing library : XviD 64Could you help me to convert the second file to a format of the first ? (It would be nice if the output would be of the similar quality)
I have Ubuntu, and I think
ffmpeg
should be able to do it.CROSS POSTED FROM : SE Video production.