
Recherche avancée
Autres articles (109)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (14912)
-
ffmpeg function/alias in .bash_aliases [duplicate]
29 décembre 2019, par unammusicThis question already has an answer here :
I’m trying to build a function in my aliases to avoid typing the whole ffmpeg command everytime for a simple video cut like this :
ffmpeg -ss 00:00:00 -t 00:00:10 -i video.mp4 -vcodec copy -acodec copy video_cut.mp4
So I came up with this idea :
function ffmpeg-cut () {
ffmpeg -ss '$1' -t '$2' -i '$3' -vcodec copy -acodec copy '$3'_cut.mp4
}or as a one liner :
alias ffmpeg-cut='ffmpeg -ss '$1' -t '$2' -i '$3' -vcodec copy -acodec copy '$3'_cut.mp4'
I guess it’s some kind of syntax error but I can’t figure out. Anyone any idea ? This is my output when I try :
es@es-ubuntu-station:~/Downloads$ ffmpeg-cut 00:00:00 00:00:10 cut-test.mp4
ffmpeg version 4.1.4-1build2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9 (Ubuntu 9.2.1-4ubuntu1)
configuration: --prefix=/usr --extra-version=1build2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Invalid duration specification for ss: -tWhat am I doing wrong ?
Thanks in advance for help !
-
Creating mosaic stack 25 videos ffmpeg windows cmd
26 décembre 2019, par KIngking431Hi I am trying to make a video mosaic of 25 videos in ffmpeg
I used Jim B’s perl script to make this script, previous on my mac it worked.
But I can’t get it to work on my windows computer in command prompt.
I think it executes each line of code individuallyffmpeg \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Aarhus H 2019-12-25 15-06-03.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Aller°d 2019-10-15 17-09-32.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Ballerup St. 2019-10-19 10-58-47.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Charlottenlund.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Cph Lufthavn 2019-11-23 12-49-47.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Dyssegσrd St. 2019-10-29 19-41-17.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Ejby St. 2019-10-30 19-28-05.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Fruens B°ge St.2019-11-04 08-34-53.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Give St. 2019-11-05 12-49-39.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Hjerm St. 2019-11-13 13-40-01.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Islev St.2019-11-18 11-40-19.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Jyderup St.2019-11-19 08-18-10.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Kildebakke St 2019-11-20 20-15-20.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Lem St.2019-11-24 06-51-02.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Middelpart St 2019-11-24 19-07-51.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//N°rre Aaby St 2019-11-26 17-01-06.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Ordrup St 2019-11-28 12-10-28.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Padborg St 2019-11-28 14-05-33.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Roskilde St. 2019-12-02 11-53-34.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Snedsted St. 2019-12-06 17-06-49.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Trekroner St. 2019-12-12 20-39-38.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Ulstrup St. 2019-12-16 09-58-18.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Vojens St. 2019-12-19 12-02-10.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//Ydby St. 2019-12-25 16-55-38.mkv \
-i C:/Users/Privat/Desktop/27-videoer/normalized//╪lgod St. 2019-12-23 09-36-51.mkv \
-filter_complex " \
[0:v] setpts=PTS-STARTPTS, scale=qqvga [a0]; \
[1:v] setpts=PTS-STARTPTS, scale=qqvga [a1]; \
[2:v] setpts=PTS-STARTPTS, scale=qqvga [a2]; \
[3:v] setpts=PTS-STARTPTS, scale=qqvga [a3]; \
[4:v] setpts=PTS-STARTPTS, scale=qqvga [a4]; \
[5:v] setpts=PTS-STARTPTS, scale=qqvga [a5]; \
[6:v] setpts=PTS-STARTPTS, scale=qqvga [a6]; \
[7:v] setpts=PTS-STARTPTS, scale=qqvga [a7]; \
[8:v] setpts=PTS-STARTPTS, scale=qqvga [a8]; \
[9:v] setpts=PTS-STARTPTS, scale=qqvga [a9]; \
[10:v] setpts=PTS-STARTPTS, scale=qqvga [a10]; \
[11:v] setpts=PTS-STARTPTS, scale=qqvga [a11]; \
[12:v] setpts=PTS-STARTPTS, scale=qqvga [a12]; \
[13:v] setpts=PTS-STARTPTS, scale=qqvga [a13]; \
[14:v] setpts=PTS-STARTPTS, scale=qqvga [a14]; \
[15:v] setpts=PTS-STARTPTS, scale=qqvga [a15]; \
[16:v] setpts=PTS-STARTPTS, scale=qqvga [a16]; \
[17:v] setpts=PTS-STARTPTS, scale=qqvga [a17]; \
[18:v] setpts=PTS-STARTPTS, scale=qqvga [a18]; \
[19:v] setpts=PTS-STARTPTS, scale=qqvga [a19]; \
[20:v] setpts=PTS-STARTPTS, scale=qqvga [a20]; \
[21:v] setpts=PTS-STARTPTS, scale=qqvga [a21]; \
[22:v] setpts=PTS-STARTPTS, scale=qqvga [a22]; \
[23:v] setpts=PTS-STARTPTS, scale=qqvga [a23]; \
[24:v] setpts=PTS-STARTPTS, scale=qqvga [a24]; \
[a0][a1][a2][a3][a4][a5][a6][a7][a8][a9][a10][a11][a12][a13][a14][a15][a16][a17][a18][a19][a20][a21][a22][a23][a24]xstack=inputs=25:layout=0_0|w0_0|w0+w1_0|w0+w1+w2_0|w0+w1+w2+w3_0|0_h0|w0_h0|w0+w1_h0|w0+w1+w2_h0|w0+w1+w2+w3_h0|0_h0+h1|w0_h0+h1|w0+w1_h0+h1|w0+w1+w2_h0+h1|w0+w1+w2+w3_h0+h1|0_h0+h1+h2|w0_h0+h1+h2|w0+w1_h0+h1+h2|w0+w1+w2_h0+h1+h2|w0+w1+w2+w3_h0+h1+h2|0_h0+h1+h2+h3|w0_h0+h1+h2+h3|w0+w1_h0+h1+h2+h3|w0+w1+w2_h0+h1+h2+h3|w0+w1+w2+w3_h0+h1+h2+h3[out] \
" \
-map "[out]" \
-c:v libx264 -t '30' -f matroska - | ffplay -autoexit -left 10 -top 10 -I tried making powershell scripts for this but with no luck, I also tried to run it in the bash implemented in cmd.
Is there something fundamental about commandprompt I am missing ? -
FFMPEG command works on Mac but not on Windows [duplicate]
24 décembre 2019, par ArthurThis question is an exact duplicate of :
Hi I’m working on a project which needs to create animations by playing 2000 charts in 50 fps using FFMPEG, the command is :
ffmpeg -y -framerate 50 -i img-%04d.png -vb 40M -vcodec h264 esez.mp4
charts are located in the same folder with name as img-0001.png img-2000.png
It worked well on my Mac. On Windows, the command can run and generate a mp4 file. But the animation is just black screen on Windows media player. I also tried open with VLC, it has some image, but not proper at all.
log from Windows CMD :
ffmpeg version git-2019-12-11-4110029 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20191125
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. 36.101 / 56. 36.101
libavcodec 58. 64.101 / 58. 64.101
libavformat 58. 35.101 / 58. 35.101
libavdevice 58. 9.101 / 58. 9.101
libavfilter 7. 68.100 / 7. 68.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, image2, from 'img-%04d.png':
Duration: 00:00:40.18, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgba(pc), 1000x800, 50 fps, 50 tbr, 50 tbn, 50 tbc
Stream mapping:
Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 00000242aaacc6c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 00000242aaacc6c0] profile High 4:4:4 Predictive, level 3.2, 4:4:4, 8-bit
[libx264 @ 00000242aaacc6c0] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - 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=4 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=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=40000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'esez.mp4':
Metadata:
encoder : Lavf58.35.101
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 1000x800, q=-1--1, 40000 kb/s, 50 fps, 12800 tbn, 50 tbc
Metadata:
encoder : Lavc58.64.101 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/40000000 buffer size: 0 vbv_delay: N/A
frame= 2009 fps= 90 q=-1.0 Lsize= 7569kB time=00:00:40.12 bitrate=1545.6kbits/s speed= 1.8x
video:7545kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.322921%
[libx264 @ 00000242aaacc6c0] frame I:9 Avg QP: 0.35 size: 60878
[libx264 @ 00000242aaacc6c0] frame P:511 Avg QP: 0.74 size: 5275
[libx264 @ 00000242aaacc6c0] frame B:1489 Avg QP: 4.35 size: 3010
[libx264 @ 00000242aaacc6c0] consecutive B-frames: 0.7% 0.7% 2.2% 96.4%
[libx264 @ 00000242aaacc6c0] mb I I16..4: 85.1% 1.6% 13.3%
[libx264 @ 00000242aaacc6c0] mb P I16..4: 0.7% 0.0% 0.2% P16..4: 1.3% 0.8% 0.4% 0.0% 0.0% skip:96.7%
[libx264 @ 00000242aaacc6c0] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 1.6% 0.7% 0.2% direct: 0.1% skip:97.2% L0:48.2% L1:39.0% BI:12.8%
[libx264 @ 00000242aaacc6c0] final ratefactor: -35.51
[libx264 @ 00000242aaacc6c0] 8x8 transform intra:2.6% inter:5.9%
[libx264 @ 00000242aaacc6c0] coded y,u,v intra: 12.9% 2.5% 2.6% inter: 0.9% 0.5% 0.6%
[libx264 @ 00000242aaacc6c0] i16 v,h,dc,p: 84% 14% 2% 0%
[libx264 @ 00000242aaacc6c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 2% 77% 0% 1% 1% 0% 0% 0%
[libx264 @ 00000242aaacc6c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 22% 19% 4% 4% 4% 4% 6% 2%
[libx264 @ 00000242aaacc6c0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 00000242aaacc6c0] ref P L0: 60.2% 0.7% 21.4% 17.7%
[libx264 @ 00000242aaacc6c0] ref B L0: 72.6% 20.2% 7.3%
[libx264 @ 00000242aaacc6c0] ref B L1: 88.4% 11.6%
[libx264 @ 00000242aaacc6c0] kb/s:1538.15Could anybody please help me with this problem ?
Happy Holiday to all !