
Recherche avancée
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)
Sur d’autres sites (9265)
-
The FFmpeg-generated video mute after seeking it forward [closed]
16 septembre 2022, par PersianManThe video mutes after seeking it forward. It was created with FFmpeg. When I play it normally (without seeking it), the audio played. I am a Linux user and test it with VLC media player and mpv.


I generated it with this :


ffmpeg -i video.flv -i audio1.flv -i audio2.flv -i audio3.flv -i audio4.flv -i audio5.flv -i audio6.flv -i audio7.flv -i audio8.flv \
-filter_complex "\
[0:v]tpad=start_duration=29.429[v];\
[1:a]adelay=3654.0[a1];\
[2:a]adelay=53563.0[a2];\
[3:a]adelay=1148851.0[a3];\
[4:a]adelay=1313774.0[a4];\
[5:a]adelay=1373197.0[a5];\
[6:a]adelay=2061735.0[a6];\
[7:a]adelay=2736617.0[a7];\
[8:a]adelay=3387278.0[a8];\
[a1][a2][a3][a4][a5][a6][a7][a8]amix=inputs=8[a]"\
 -map "[v]" -map "[a]" -c:v libx264 -crf 23 -c:a mp3 -s 500x500 -shortest ./output.flv



[1:a]
and[5:a]
is a main audio (other audio have small duration). If I seek after 1373197.0 ms, the video has been muted (when[5:a]
must be played).

-
How to batch generate EDL (edit decision list) files for a folder of videos with different run times
22 janvier, par DnKHow to batch generate EDL (edit decision list) files for a folder of videos with different run times ? I need to skip exact amount of seconds from the start and another amount of seconds from the end. All the videos have different runtimes I can make EDL files for skipping the intro but need a way to read the video runtime and skip the last 60 or 90 seconds.


This is the format for the EDL I am using with kodi


0:00:00 0:01:20. 3



So if the video is 40 mins 30 seconds the EDL generated skipping 80 seconds from the start and 90 seconds from the end should be


0:00:00 0:01:20. 3
0:39:00 0:40:30. 3



More info about kodi EDL


https://kodi.wiki/view/Edit_decision_list


-
Is ffmpeg running in CPU or GPU ?
14 juillet 2016, par Raghul SelvarajIt has been shown in the link
https://dri.freedesktop.org/wiki/IntelPerformanceTuning/
Step 2 : CPU vs GPU
that if the CPU % is more than 90 then the app is running in CPU.
While configuring ffmpeg, I enabled opencl. ffmpeg configurations are,
ffmpeg version ebe0fa0 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
configuration: --enable-gpl --enable-libx264 --enable-opencl --enable-nonfree --enable-libmfx --enable-libmp3lame --enable-libaacplus
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...But while running ffmpeg using the command
ffmpeg -i /home/M.mp4 -c:v h264 -preset:v faster /home/out.avi
the CPU% has been more than 90 (375%).
In case of ImageMagick, if I enable opencl while configuring, then the app will run in GPU, i.e., the CPU% will be less than 90. I noticed that.
But in case of ffmpeg, it is GPU accelerated one. Then, Why the CPU% is more than 90% ? Is the ffmpeg running in CPU or GPU ? If it is not, how can I make it to run in GPU ?