
Recherche avancée
Autres articles (59)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (7807)
-
Ubuntu running .sh file - no such a directory or file
19 novembre 2013, par user3008028I am new to ubuntu/linux.
I try to follow this tutorial : http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/
When running bash file on step 3 I receive 'no such a directory or file' even though the directory does exists.
-
ffmpeg - error when overlay text animation and video
14 novembre 2017, par Abc123I’m using this ffmpeg command to generate a video with fading text animation, this command is running fine with older version of ffmpeg - 2.8.11, but when I try to run the same command in another machine with ffmpeg version - 3.3.3, error occured :
ffmpeg command :
ffmpeg -i ./based_video/720/clip3.mp4 -filter_complex \
"color=black:100x100[c]; \
[c][0]scale2ref[ct][mv]; \
[ct]setsar=1,split=3[t1][t2][t3]; \
[t1]drawtext=fontfile=../../public/fonts/Roboto-Regular-webfont.ttf: \
text='Test Text 1':fontsize=36:fontcolor=white,split[text1][alpha1]; \
[text1][alpha1]alphamerge,fade=t=in:st=2:d=2:alpha=1,fade=t=out:st=7:d=2:alpha=1[txta1]; \
[t2]drawtext=fontfile=../../public/fonts/Roboto-Regular-webfont.ttf: \
text='Test Text 2':fontsize=36:fontcolor=white,split[text2][alpha2]; \
[text2][alpha2]alphamerge,fade=t=in:st=2:d=2:alpha=1,fade=t=out:st=7:d=2:alpha=1[txta2]; \
[t3]drawtext=fontfile=../../public/fonts/Roboto-Regular-webfont.ttf: \
text='Test Text 3':fontsize=36:fontcolor=white,split[text3][alpha3]; \
[text3][alpha3]alphamerge,fade=t=in:st=2:d=2:alpha=1,fade=t=out:st=7:d=2:alpha=1[txta3]; \
[mv][txta1]overlay=x='300':y='300':shortest=1[mv1]; \
[mv1][txta2]overlay=x='300':y='400':shortest=1[mv2]; \
[mv2][txta3]overlay=x='300':y='500':shortest=1" \
-c:v libx264 -c:a copy output.mp4Error : Error marking filter as finished, Conversion failed
-
ffmpeg how to convert stereo to mono using audio pan filter [migrated]
5 juin 2015, par John TFrom the documentation, it looks like this should work :
ffmpeg -i input.mp4 -af "pan=1c|c0=.5*c0+.5*c1" output.mp4
The output is a video with no sound. When I do ffprobe, it says theres a audio mono track, but its only 2kbps.
However, when I do it this way though, it seems to work and produce a video with a mono track :
ffmpeg -i input.mp4 -ac 1 output.mp4
Does anyone know the reason why the first way isn’t working for me ?
Thanks !
Adding Console output
ffmpeg output :
ffmpeg -loglevel verbose -i video_tong_hua.mp4 -af "pan=1c|c0=.5*c0+.5*c1" output.mp4
ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
built on Feb 25 2015 23:01:46 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, matroska,webm, from 'video_tong_hua.mp4':
Metadata:
encoder : google
Duration: 00:06:18.38, start: 0.000000, bitrate: 283 kb/s
Stream #0:0: Video: vp8, yuv420p, 322x240, SAR 1:1 DAR 161:120, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default)
[graph 0 input from stream 0:0 @ 0x7fc8235003a0] w:322 h:240 pixfmt:yuv420p tb:1/1000 fr:2997/100 sar:1/1 sws_param:flags=2
[graph 1 input from stream 0:1 @ 0x7fc82340d320] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
[audio format for output stream 0:1 @ 0x7fc82340d880] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_pan_0' and the filter 'audio format for output stream 0:1'
[Parsed_pan_0 @ 0x7fc82340da40] o0 = 0.5 i0 + 0.5 i1
[auto-inserted resampler 0 @ 0x7fc82340ce40] ch:1 chl:1 channels fmt:fltp r:44100Hz -> ch:1 chl:mono fmt:s16 r:44100Hz
[libx264 @ 0x7fc823826000] using SAR=1/1
[libx264 @ 0x7fc823826000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7fc823826000] profile High, level 1.3
[libx264 @ 0x7fc823826000] 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=12 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 'output.mp4':
Metadata:
encoder : Lavf55.48.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 322x240 [SAR 1:1 DAR 161:120], q=-1--1, 29.97 fps, 11988 tbn, 29.97 tbc (default)
Metadata:
encoder : Lavc55.69.100 libx264
Stream #0:1: Audio: aac (libfaac) ([64][0][0][0] / 0x0040), 44100 Hz, mono, s16, 128 kb/s (default)
Metadata:
encoder : Lavc55.69.100 libfaac
Stream mapping:
Stream #0:0 -> #0:0 (vp8 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (vorbis (native) -> aac (libfaac))
Press [q] to stop, [?] for help
No more output streams to write to, finishing.e=00:06:06.87 bitrate= 132.5kbits/s
frame=11340 fps=992 q=-1.0 Lsize= 6514kB time=00:06:18.31 bitrate= 141.1kbits/s
video:5995kB audio:95kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 6.954813%
Input file #0 (video_tong_hua.mp4):
Input stream #0:0 (video): 11970 packets read (8625600 bytes); 11340 frames decoded;
Input stream #0:1 (audio): 23356 packets read (4543310 bytes); 23355 frames decoded (16675392 samples);
Total: 35326 packets (13168910 bytes) demuxed
Output file #0 (output.mp4):
Output stream #0:0 (video): 11340 frames encoded; 11340 packets muxed (6139214 bytes);
Output stream #0:1 (audio): 16285 frames encoded (16675392 samples); 16286 packets muxed (97733 bytes);
Total: 27626 packets (6236947 bytes) muxed
[libx264 @ 0x7fc823826000] frame I:70 Avg QP:17.29 size: 7924
[libx264 @ 0x7fc823826000] frame P:4501 Avg QP:21.54 size: 1006
[libx264 @ 0x7fc823826000] frame B:6769 Avg QP:21.74 size: 156
[libx264 @ 0x7fc823826000] consecutive B-frames: 16.7% 8.8% 7.4% 67.1%
[libx264 @ 0x7fc823826000] mb I I16..4: 37.6% 29.0% 33.4%
[libx264 @ 0x7fc823826000] mb P I16..4: 1.9% 2.5% 0.7% P16..4: 23.3% 8.0% 4.1% 0.0% 0.0% skip:59.4%
[libx264 @ 0x7fc823826000] mb B I16..4: 0.1% 0.1% 0.0% B16..8: 17.1% 1.2% 0.2% direct: 0.8% skip:80.6% L0:42.2% L1:52.9% BI: 4.8%
[libx264 @ 0x7fc823826000] 8x8 transform intra:44.2% inter:55.4%
[libx264 @ 0x7fc823826000] coded y,uvDC,uvAC intra: 33.9% 47.6% 18.3% inter: 5.4% 4.5% 1.1%
[libx264 @ 0x7fc823826000] i16 v,h,dc,p: 57% 24% 16% 3%
[libx264 @ 0x7fc823826000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 18% 43% 3% 3% 4% 3% 4% 4%
[libx264 @ 0x7fc823826000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 30% 14% 4% 6% 6% 6% 5% 5%
[libx264 @ 0x7fc823826000] i8c dc,h,v,p: 51% 30% 17% 3%
[libx264 @ 0x7fc823826000] Weighted P-Frames: Y:1.6% UV:0.5%
[libx264 @ 0x7fc823826000] ref P L0: 66.8% 17.2% 11.7% 4.3% 0.1%
[libx264 @ 0x7fc823826000] ref B L0: 91.0% 7.4% 1.7%
[libx264 @ 0x7fc823826000] ref B L1: 96.0% 4.0%
[libx264 @ 0x7fc823826000] kb/s:129.79ffprobe output :
ffprobe output.mp4
ffprobe version 2.3.3 Copyright (c) 2007-2014 the FFmpeg developers
built on Feb 25 2015 23:01:46 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.48.100
Duration: 00:06:18.38, start: 0.010227, bitrate: 141 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 322x240 [SAR 1:1 DAR 161:120], 129 kb/s, 29.97 fps, 29.97 tbr, 11988 tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 2 kb/s (default)
Metadata:
handler_name : SoundHandler
digitaltsai:videos jtsai$