
Recherche avancée
Autres articles (58)
-
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 -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
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 (...)
Sur d’autres sites (11937)
-
Why console reports a lot of frame drops on my conversion ?
24 juin 2020, par SososlikI'm trying to convert a mp4 video file to another H265 mp4 video file. During conversion I'm applying crop, trim and a drawbox.

The result file looks good to the eye. But the question is why I see a lot of dropped frames on the console during conversion process ? (last line on the log, parameter "drop=").

I searched google, but it says that normal if you do framerate conversion, but I'm not doing that and don't want any framerate change, just apply my filters and convert to H265. What I'm doing wrong ?


D:\folder>ffmpeg -y -i "D:\folder\input.mp4" -c:v libx265 -crf 10 -c:a none -vf "drawbox=x=123:y=123:w=123:h=123:color=black:t=fill, crop=616:1192:52:4" -ss 00:06:53.00 -to 00:12:46.00 "D:\folder\output.mp4"
ffmpeg version N-92683-g32601fb821 Copyright (c) 2000-2018 the FFmpeg developers
 built with gcc 8.2.1 (GCC) 20181201
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
 libavutil 56. 24.101 / 56. 24.101
 libavcodec 58. 42.100 / 58. 42.100
 libavformat 58. 24.100 / 58. 24.100
 libavdevice 58. 6.101 / 58. 6.101
 libavfilter 7. 46.101 / 7. 46.101
 libswscale 5. 4.100 / 5. 4.100
 libswresample 3. 4.100 / 3. 4.100
 libpostproc 55. 4.100 / 55. 4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\folder\input.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: isommp42
 creation_time : 2020-03-03T07:49:33.000000Z
 com.android.version: 9
 com.android.capture.fps: 25.000000
 Duration: 00:26:59.81, start: 0.000000, bitrate: 9590 kb/s
 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 720x1280, 9587 kb/s, SAR 1:1 DAR 9:16, 30.80 fps, 90k tbr, 90k tbn, 180k tbc (default)
 Metadata:
 creation_time : 2020-03-03T07:49:33.000000Z
 handler_name : VideoHandle
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
Press [q] to stop, [?] for help
x265 [info]: HEVC encoder version 2.9+9-f74003e88622
x265 [info]: build info [Windows][GCC 8.2.1][64 bit] 8bit+10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main profile, Level-3.1 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 2 / wpp(19 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-10.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 rskip signhide tmvp strong-intra-smoothing
x265 [info]: tools: lslices=7 deblock sao
Output #0, mp4, to 'D:\folder\output.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: isommp42
 com.android.capture.fps: 25.000000
 com.android.version: 9
 encoder : Lavf58.24.100
 Stream #0:0(eng): Video: hevc (libx265) (hev1 / 0x31766568), yuv420p, 616x1192 [SAR 1:1 DAR 77:149], q=2-31, 30.80 fps, 512845807.00 tbn, 30.80 tbc (default)
 Metadata:
 creation_time : 2020-03-03T07:49:33.000000Z
 handler_name : VideoHandle
 encoder : Lavc58.42.100 libx265
frame= 9053 fps=4.7 q=-0.0 size= 119040kB time=00:04:52.93 bitrate=3329.0kbits/s dup=9 drop=1188 speed=0.151x



-
FFMPEG [mp3float @ 0x7fd42f813200] Header missing
10 février 2021, par rahi82I have a problem with some mp3 files. When transcoding the file with FFMPEG I get the following error :


[mp3float @ 0x7fd42f813200] Header missing
Error while decoding stream #0:0: Invalid data found when processing input



Is this a problem of the file itself, and how it is produced ?
Or is it a problem of FFMPEG ?


Here full decoding message :


ffmpeg version git-2020-07-28-dfd12ee Copyright (c) 2000-2020 the FFmpeg developers
 built with Apple clang version 11.0.0 (clang-1100.0.33.16)
 configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD-dfd12ee_2 --enable-shared --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libaom --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-demuxer=dash --disable-libjack --disable-indev=jack --enable-opencl --enable-videotoolbox --disable-htmlpages --enable-libfdk-aac --enable-nonfree
 libavutil 56. 57.100 / 56. 57.100
 libavcodec 58. 97.102 / 58. 97.102
 libavformat 58. 49.100 / 58. 49.100
 libavdevice 58. 11.101 / 58. 11.101
 libavfilter 7. 87.100 / 7. 87.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
 libpostproc 55. 8.100 / 55. 8.100
[mp3 @ 0x7fd42f808200] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'Ice Mc - Think About The Way.mp3':
 Metadata:
 title : Think About The Way
 TBPM : 133
 artist : Ice MC
 date : 1994
 track : 4/15
 disc : 0
 album_artist : ICE MC
 Duration: 00:04:16.39, start: 0.000000, bitrate: 323 kb/s
 Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
 Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 600x592 [SAR 72:72 DAR 75:74], 90k tbr, 90k tbn, 90k tbc (attached pic)
 Metadata:
 comment : Other
Stream mapping:
 Stream #0:1 -> #0:0 (mjpeg (native) -> wrapped_avframe (native))
 Stream #0:0 -> #0:1 (mp3 (mp3float) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
 Metadata:
 title : Think About The Way
 TBPM : 133
 artist : Ice MC
 date : 1994
 track : 4/15
 disc : 0
 album_artist : ICE MC
 encoder : Lavf58.49.100
 Stream #0:0: Video: wrapped_avframe, yuvj420p(progressive), 600x592 [SAR 72:72 DAR 75:74], q=2-31, 200 kb/s, 90k fps, 90k tbn, 90k tbc (attached pic)
 Metadata:
 comment : Other
 encoder : Lavc58.97.102 wrapped_avframe
 Stream #0:1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
 Metadata:
 encoder : Lavc58.97.102 pcm_s16le
[mp3float @ 0x7fd42f813200] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
frame= 1 fps=0.0 q=-0.0 Lsize=N/A time=00:04:16.60 bitrate=N/A speed= 725x 
video:1kB audio:44204kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown



What is also noticed is that this mp3 has the cover embedded as a video stream. And there is also this weird cross mapping. Not sure if that is normal ?


-
libavcodec/libx264 : add user data unregistered SEI encoding
6 août 2021, par Brad Hardslibavcodec/libx264 : add user data unregistered SEI encoding
MISB ST 0604 and ST 2101 require user data unregistered SEI messages
(precision timestamps and sensor identifiers) to be included. That
currently isn't supported for libx264. This patch adds support
for user data unregistered SEI messages in accordance with ISO/IEC
14496-10:2020(E) section D.1.7 (syntax) and D.2.7 (semantics).This code is based on a similar change for libx265 (commit
1f58503013720700a5adfd72c708e6275aefc165).Signed-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>