
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 (67)
-
Les images
15 mai 2013 -
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
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
Sur d’autres sites (7936)
-
How to specify the audio path for ffmpeg and how to conduct a silence removal using ffmpeg
15 octobre 2020, par LeoI wish to conduct a silence removal for wav files.


import ffmpeg
inPath = "/home/test/Speech/Wang/dataset/testsets/disgust/0_002_00_021_F002_d.wav"
outPath = "/home/test/Speech/Wang/dataset/testsets/disgust/0_002_00_021_F002_d_trimed.wav"
ffmpeg -i inPath -af silenceremove=0:0:-50dB outPath



Error occurred.


File "", line 3
 ffmpeg -i inPath -af silenceremove=0:0:-50dB outPath
 ^
SyntaxError: invalid syntax



How should I assign the path ?


The question is that why we set the threshold to a negative value ?


-
ffmpeg drops all frames after 6 seconds
25 juin 2014, par user2099107New to FFMPEG, I’m trying to create a video from a set of png.
I have 96 png and I’m looking to 4 FPS (24 seconds of video)
I use the following command :
/Applications/ffmpeg -y -r 4 -pattern_type glob -i './images/*.png' -c:v libx264 -pix_fmt yuv420p out.mp4
my out.mp4 always commes out as roughly 6 seconds with 24 frames, the last 70 frames being dropped.
here is the full output :
ffmpeg version 2.2.3-tessus Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 4 2014 21:31:51 with clang version 3.3 (tags/RELEASE_33/final)
configuration: --cc=/opt/local/bin/clang-mp-3.3 --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --enable-runtime-cpudetect
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, image2, from './images/*.png':
Duration: 00:00:03.84, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgba, 1280x1024, 25 fps, 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0x103000600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x103000600] profile High, level 3.2
[libx264 @ 0x103000600] 264 - core 142 - 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=2 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=4 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 '/Users/adrien/code/encoding/out.mp4':
Metadata:
encoder : Lavf55.33.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x1024, q=-1--1, 16384 tbn, 4 tbc
Stream mapping:
Stream #0:0 -> #0:0 (png -> libx264)
Press [q] to stop, [?] for help
Input stream #0:0 frame changed from size:1280x1024 fmt:rgba to size:1280x1024 fmt:rgb24
Input stream #0:0 frame changed from size:1280x1024 fmt:rgb24 to size:1280x1024 fmt:rgba
Input stream #0:0 frame changed from size:1280x1024 fmt:rgba to size:1280x1024 fmt:rgb24
Input stream #0:0 frame changed from size:1280x1024 fmt:rgb24 to size:1280x1024 fmt:rgba
Input stream #0:0 frame changed from size:1280x1024 fmt:rgba to size:1280x1024 fmt:rgb24
Input stream #0:0 frame changed from size:1280x1024 fmt:rgb24 to size:1280x1024 fmt:rgba
Input stream #0:0 frame changed from size:1280x1024 fmt:rgba to size:1280x1024 fmt:rgb24
frame= 26 fps= 21 q=-1.0 Lsize= 165kB time=00:00:06.00 bitrate= 224.9kbits/s dup=0 drop=70
video:164kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 0.661924%
[libx264 @ 0x103000600] frame I:1 Avg QP: 9.66 size:100467
[libx264 @ 0x103000600] frame P:8 Avg QP:14.08 size: 7610
[libx264 @ 0x103000600] frame B:17 Avg QP:18.26 size: 322
[libx264 @ 0x103000600] consecutive B-frames: 11.5% 0.0% 11.5% 76.9%
[libx264 @ 0x103000600] mb I I16..4: 23.4% 49.5% 27.1%
[libx264 @ 0x103000600] mb P I16..4: 3.6% 3.7% 1.3% P16..4: 1.0% 0.1% 0.2% 0.0% 0.0% skip:90.1%
[libx264 @ 0x103000600] mb B I16..4: 0.1% 0.0% 0.1% B16..8: 1.3% 0.0% 0.0% direct: 0.0% skip:98.4% L0:46.1% L1:53.9% BI: 0.0%
[libx264 @ 0x103000600] 8x8 transform intra:45.8% inter:25.7%
[libx264 @ 0x103000600] coded y,uvDC,uvAC intra: 46.0% 62.8% 42.9% inter: 0.1% 0.2% 0.1%
[libx264 @ 0x103000600] i16 v,h,dc,p: 58% 25% 15% 2%
[libx264 @ 0x103000600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 44% 22% 24% 3% 1% 1% 3% 1% 1%
[libx264 @ 0x103000600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 48% 20% 12% 3% 3% 4% 3% 3% 3%
[libx264 @ 0x103000600] i8c dc,h,v,p: 49% 20% 28% 3%
[libx264 @ 0x103000600] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x103000600] ref P L0: 86.0% 5.3% 7.2% 1.5%
[libx264 @ 0x103000600] ref B L0: 61.7% 35.8% 2.5%
[libx264 @ 0x103000600] ref B L1: 95.8% 4.2%
[libx264 @ 0x103000600] kb/s:205.33 -
sndio : Coalesce source files after outdev removal
27 septembre 2017, par Diego Biurrun