
Recherche avancée
Médias (33)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (60)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (4694)
-
ffmpeg xfade not working well with acrossfade
7 juin 2021, par RichardI'm having trouble using xfade together with acrossfade.


I have two videos t1.mp4 and t2.mp4 of same fps, resolution and so on. Both videos are 15 seconds long.


Now I want a one-second fade transition in between.


Without acrossfade,


ffmpeg -i t1.mp4 -i t2.mp4 -filter_complex "xfade=transition=fade:duration=1:offset=14,format=yuv420p" output.mp4



after checking all the frames, the transition looks good. There are some overlapped frames with fading effect.
Please see below two consecutive frames.



But the second part of the result has no audio, that's why I decide to use acrossfade.


ffmpeg -i t1.mp4 -i t2.mp4 -filter_complex "xfade=transition=fade:duration=1:offset=14,format=yuv420p;acrossfade=d=1" output.mp4



Now it seems the transition effect is incomplete, there are less overlapped frames with fading effect, and the transition is sharp. Please see below two consecutive frames, same frame nubmer as above.



What am I missing here please ?


ffmpeg -i t1.mp4 -i t2.mp4 -filter_complex "xfade=transition=fade:duration=1:offset=14,format=yuv420p;acrossfade=d=1" output.mp4
ffmpeg version 4.3.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 8 (Debian 8.3.0-6)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
 libavutil 56. 51.100 / 56. 51.100
 libavcodec 58. 91.100 / 58. 91.100
 libavformat 58. 45.100 / 58. 45.100
 libavdevice 58. 10.100 / 58. 10.100
 libavfilter 7. 85.100 / 7. 85.100
 libswscale 5. 7.100 / 5. 7.100
 libswresample 3. 7.100 / 3. 7.100
 libpostproc 55. 7.100 / 55. 7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 't1.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.29.100
 Duration: 00:00:15.02, start: 0.000000, bitrate: 2447 kb/s
 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 2315 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
 Metadata:
 handler_name : VideoHandler
 Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 handler_name : SoundHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 't2.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.29.100
 Duration: 00:00:15.02, start: 0.000000, bitrate: 1643 kb/s
 Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 1509 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
 Metadata:
 handler_name : VideoHandler
 Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 handler_name : SoundHandler
Stream mapping:
 Stream #0:0 (h264) -> xfade:main
 Stream #0:1 (aac) -> acrossfade:crossfade0
 Stream #1:0 (h264) -> xfade:xfade
 Stream #1:1 (aac) -> acrossfade:crossfade1
 format -> Stream #0:0 (libx264)
 acrossfade -> Stream #0:1 (aac)
Press [q] to stop, [?] for help
[libx264 @ 0x5963dc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x5963dc0] profile High, level 4.0, 4:2:0, 8-bit
[libx264 @ 0x5963dc0] 264 - core 161 r3018 db0d417 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - 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=34 lookahead_threads=5 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:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.45.100
 Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
 Metadata:
 encoder : Lavc58.91.100 libx264
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
 Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 encoder : Lavc58.91.100 aac
frame= 726 fps= 69 q=-1.0 Lsize= 7114kB time=00:00:29.00 bitrate=2009.4kbits/s dup=1 drop=0 speed=2.76x 
video:6633kB audio:456kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.351093%
[libx264 @ 0x5963dc0] frame I:8 Avg QP:16.38 size: 96958
[libx264 @ 0x5963dc0] frame P:319 Avg QP:19.49 size: 14630
[libx264 @ 0x5963dc0] frame B:399 Avg QP:23.99 size: 3379
[libx264 @ 0x5963dc0] consecutive B-frames: 4.5% 63.6% 8.7% 23.1%
[libx264 @ 0x5963dc0] mb I I16..4: 16.4% 61.0% 22.6%
[libx264 @ 0x5963dc0] mb P I16..4: 3.5% 9.8% 0.7% P16..4: 26.6% 4.9% 1.9% 0.0% 0.0% skip:52.5%
[libx264 @ 0x5963dc0] mb B I16..4: 0.3% 0.6% 0.2% B16..8: 13.8% 0.9% 0.1% direct: 0.9% skip:83.1% L0:44.1% L1:52.3% BI: 3.6%
[libx264 @ 0x5963dc0] 8x8 transform intra:67.2% inter:81.6%
[libx264 @ 0x5963dc0] coded y,uvDC,uvAC intra: 26.3% 38.2% 8.9% inter: 3.2% 5.8% 0.1%
[libx264 @ 0x5963dc0] i16 v,h,dc,p: 43% 25% 15% 17%
[libx264 @ 0x5963dc0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 17% 37% 2% 2% 2% 2% 3% 2%
[libx264 @ 0x5963dc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 19% 14% 6% 7% 7% 6% 6% 5%
[libx264 @ 0x5963dc0] i8c dc,h,v,p: 60% 19% 18% 3%
[libx264 @ 0x5963dc0] Weighted P-Frames: Y:0.9% UV:0.9%
[libx264 @ 0x5963dc0] ref P L0: 69.4% 7.6% 17.5% 5.5% 0.0%
[libx264 @ 0x5963dc0] ref B L0: 85.1% 12.9% 2.1%
[libx264 @ 0x5963dc0] ref B L1: 99.0% 1.0%
[libx264 @ 0x5963dc0] kb/s:1870.80
[aac @ 0x58bb580] Qavg: 174.733



-
ffmpeg failing when using discord.py
4 avril 2021, par E. Z. L.I was making a bot with a rickrolling feature. It involves ffmpeg, but it always gives the following error :


FFmpeg version SVN-r18639, Copyright (c) 2000-2009 Fabrice Bellard, et al.
 configuration: --enable-memalign-hack --enable-postproc --enable-gpl --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libx264 --enable-libxvid --disable-ffserver --enable-avisynth --enable-pthreads
 libavutil 50. 3. 0 / 50. 3. 0
 libavcodec 52.27. 0 / 52.27. 0
 libavformat 52.32. 0 / 52.32. 0
 libavdevice 52. 2. 0 / 52. 2. 0
 libswscale 0. 7. 1 / 0. 7. 1
 libpostproc 51. 2. 0 / 51. 2. 0
 built on Apr 21 2009 13:44:38, gcc: 4.2.4 (TDM-1 for MinGW)
Input #0, mp3, from 'rick.mp3':
 Duration: 00:03:33.10, start: 0.000000, bitrate: 192 kb/s
 Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 192 kb/s
Expected number for loglevel but found: warning



It keeps giving this error even when I switched to a different file, am I doing anything wrong ? I'm on Windows python 3.8.2, discord.py 1.6.0. Here is the code section :


@bot.command(name="rickroll")
async def rick(ctx, channel: discord.VoiceChannel):
 connection = await channel.connect()
 connection.play(discord.FFmpegPCMAudio("rick.mp3", executable="ffmpeg.exe"))



-
sudo checkinstall - installation failed
18 décembre 2020, par MathiemI'm trying to install ffmpeg on Raspbian by following these steps :



cd ffmpeg
./configure --prefix=/usr
time make -j 8
cat RELEASE
sudo checkinstall




but when I do the sudo checkinstall step, it gave me an error :



pi@raspberrypi ~/ffmpeg $ sudo checkinstall -y

checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
 This software is released under the GNU GPL.



*****************************************
**** Debian package creation selected ***
*****************************************

This package will be built according to these values:

0 - Maintainer: [ root@raspberrypi ]
1 - Summary: [ Package created with checkinstall 1.6.2 ]
2 - Name: [ ffmpeg ]
3 - Version: [ ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ armhf ]
8 - Source location: [ ffmpeg ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ ffmpeg ]
12 - Conflicts: [ ]
13 - Replaces: [ ]

Enter a number to change any of them or press ENTER to continue:

Installing with make install...

========================= Installation results ===========================
INSTALL doc/ffmpeg.1
INSTALL doc/ffprobe.1
INSTALL doc/ffserver.1
INSTALL doc/ffmpeg-all.1
INSTALL doc/ffprobe-all.1
INSTALL doc/ffserver-all.1
INSTALL doc/ffmpeg-utils.1
INSTALL doc/ffmpeg-scaler.1
INSTALL doc/ffmpeg-resampler.1
INSTALL doc/ffmpeg-codecs.1
INSTALL doc/ffmpeg-bitstream-filters.1
INSTALL doc/ffmpeg-formats.1
INSTALL doc/ffmpeg-protocols.1
INSTALL doc/ffmpeg-devices.1
INSTALL doc/ffmpeg-filters.1
INSTALL doc/libavutil.3
INSTALL doc/libswscale.3
INSTALL doc/libswresample.3
INSTALL doc/libavcodec.3
INSTALL doc/libavformat.3
INSTALL doc/libavdevice.3
INSTALL doc/libavfilter.3
INSTALL doc/ffmpeg.1
INSTALL doc/ffprobe.1
INSTALL doc/ffserver.1
INSTALL doc/ffmpeg-all.1
INSTALL doc/ffprobe-all.1
INSTALL doc/ffserver-all.1
INSTALL doc/ffmpeg-utils.1
INSTALL doc/ffmpeg-scaler.1
INSTALL doc/ffmpeg-resampler.1
INSTALL doc/ffmpeg-codecs.1
INSTALL doc/ffmpeg-bitstream-filters.1
INSTALL doc/ffmpeg-formats.1
INSTALL doc/ffmpeg-protocols.1
INSTALL doc/ffmpeg-devices.1
INSTALL doc/ffmpeg-filters.1
INSTALL doc/libavutil.3
INSTALL doc/libswscale.3
INSTALL doc/libswresample.3
INSTALL doc/libavcodec.3
INSTALL doc/libavformat.3
INSTALL doc/libavdevice.3
INSTALL doc/libavfilter.3
INSTALL install-progs-yes
INSTALL ffmpeg
INSTALL ffprobe
INSTALL ffserver
mkdir: cannot create directory ‘/usr/share/ffmpeg’: No such file or directory
Makefile:161: recipe for target 'install-data' failed
make: *** [install-data] Error 1

**** Installation failed. Aborting package creation.

Cleaning up...OK

Bye.




Can anyone help me ? What can I do ? I'm not gonna lie, I'm a noob and I don't really know where to start, I tried 3-4 things but it didn't work.



Thanks !