
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (32)
-
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 (...) -
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 -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (5450)
-
FFMPEG how to set text position on below watermark top right starting position [closed]
17 mars 2020, par Ketan PrajapatiI want to set text position on below of watermark on top right corner exactly starting of watermark
Hear is my code
exec('ffmpeg -i input.mp4 -i logo.png -filter_complex "[1][0]scale2ref=w=300*ih/1280:h=100*ih/1280[wm][vid1];[wm]setsar=1[logo];[1][vid1]scale2ref=w=300*ih/1280:h=100*ih/1280[wm][vid1];[wm]setsar=1[logo2] ;[vid1][logo] overlay=main_w-overlay_w-40:5:enable=\'between(t,0,5)\': [tmp];[tmp][logo2] overlay=x=10:y=main_h-overlay_h-100:enable=\'between(t,5,11)\',drawtext=demo.ttf:text=@Testing_MSDK:fontcolor=white:x=50:y=H-th-10:fontsize=14*main_h/720:box=1:boxcolor=black@0.0:boxborderw=5:x=(main_w-250):y=110*main_h/1280:enable=\'between(t,0,5)\',drawtext=demo.ttf:text=@Testing_MSDK:fontcolor=white:x=10:y=H-th-80:fontsize=14*main_h/720:box=1:boxcolor=black@0.0:boxborderw=5:x=30*main_h/1280:y=h-th-60:enable=\'between(t,5,11)\'" -vcodec h264 -acodec aac -preset veryfast -b:v 512k -c:a copy -crf 24 new.mp4);
please help me I’m stuck till 3 days
Watermark and text has not proper set on any resolution video -
Word-by-word display of subtitles in FFMPEG ?
10 mars 2020, par ThaDonI am trying to burn subtitles into a video such that they appear in a word-by-word fashion instead of all at once.
What I mean by this is, a word will appear, then another word will appear next to it, and so on. Eventually the line will clear, then repeat.
Example :
I thought I could create an Advanced Substation Alpha file where subtitles share the same end-time but differing start times, however FFMPEG doesn’t seem to cope very well when rendering the file :
[Script Info]
; Script generated by FFmpeg/Lavc57.107.100
ScriptType: v4.00+
PlayResX: 384
PlayResY: 288
[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,16,&Hffffff,&Hffffff,&H0,&H0,0,0,0,0,100,100,0,0,1,1,0,2,10,10,10,0
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.00,0:00:03.46,Default,,0,0,0,,I'm
Dialogue: 0,0:00:01.00,0:00:03.46,Default,,0,0,0,,a
Dialogue: 0,0:00:01.50,0:00:03.46,Default,,0,0,0,,subtitleThe idea being that
I'm
would appear, then 1 second latera
would show up next to it followed bysubtitle
a half second later -
Why does ffmpeg output frames starting with 0001 instead of 0000 ? [closed]
3 février 2020, par AMTQI’m using ffmpeg to extract frames from a video. It all works well but something seems strange : The numbering of the output always starts with 0001 instead of 0000. Below a minimum working example, the output from the console and a picture of the generated frames. I’m using windows shell on Win10.
ffmpeg -i P1390752.MP4 -vframes 4 frame%%04d.png
Console output :
C:\Users\xxxx>ffmpeg -i P1390752.MP4 -vframes 4 frame%04d.png
ffmpeg version git-2020-01-15-0dc0837 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20200111
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --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-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 38.100 / 56. 38.100
libavcodec 58. 65.103 / 58. 65.103
libavformat 58. 35.102 / 58. 35.102
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 71.100 / 7. 71.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002341f489e40] st: 0 edit list: 1 Missing key frame while searching for timestamp: 3600
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002341f489e40] st: 0 edit list 1 Cannot find an index entry before timestamp: 3600.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'P1390752.MP4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42avc1
creation_time : 2020-01-29T13:35:55.000000Z
Duration: 00:00:08.16, start: 0.000000, bitrate: 27084 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 26830 kb/s, 50 fps, 50 tbr, 180k tbn, 100 tbc (default)
Metadata:
creation_time : 2020-01-29T13:35:55.000000Z
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 124 kb/s (default)
Metadata:
creation_time : 2020-01-29T13:35:55.000000Z
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> png (native))
Press [q] to stop, [?] for help
Output #0, image2, to 'frame%04d.png':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42avc1
encoder : Lavf58.35.102
Stream #0:0(und): Video: png, rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 50 fps, 50 tbn, 50 tbc (default)
Metadata:
creation_time : 2020-01-29T13:35:55.000000Z
encoder : Lavc58.65.103 png
frame= 4 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.08 bitrate=N/A speed=0.0922x
video:5622kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknownWhat I tried so far :
1) I restricted the output to 4 frames because otherwise it would take ages. But the problem remains the same when I remove the number of frames and extract the whole video. The problem persists when using a starting point with -ss and a duration.
2) When I use jpg as output I get some warnings about depreceated pixel format, but the numbering issue remains.I can not get rid of the first two warnings concerning the keyframe, maybe this is related ?