
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (91)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 ;
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (21739)
-
How to fix "FFmpeg command cannot exec when multiple mp3 file to process into one" on server side
7 février 2019, par Harshil DholakiyaI am using FFmpeg in my php yii2 project. FFmpeg working fine in my project but one major problem is execute FFmpeg command with multiple input file. When i try to use single file to process in ffmpeg command then it works. so, how can i fix this problem ? I am using hostGator shared plan for my project. Please, help if is there any process limit or file open limit on server that i don’t know.
I have tried using this command in php exec() :
ffmpeg -y -i /uploads/ac/10122018-09351115-a94rlvlawvikskb4vdrca.mp3 -i /uploads/ac/09012019-035928988-assknyrk8oujccwevir7.mp3 -f lavfi -i anullsrc -filter_complex "[2]atrim=duration=3[g0];[2]atrim=duration=1[g1];[2]atrim=duration=5[g2];[g0][0][g1][1][g2]concat=n=5:v=0:a=1" /uploads/jm/concat.mp3 2>&1
Above command works local side but not working on server side.
output on server side with error code 1:
Press [q] to stop, [?] for help
pthread_create failed: Resource temporarily unavailable. Try to increase `ulimit -v` or decrease `ulimit -s`.
Conversion failed! -
ffmpeg video cropping "unable to parse option value "" as boolean"
27 novembre 2018, par Lisa MitchemI am trying to crop .mp4 videos to a specific size using this code :
ffmpeg -i INPUT.mp4 -filter:v "crop=900:1000:800:300” OUTPUT.mp4
However, even when I change the crop values, I get this error every time :
[crop @ 0x7f974e8441c0] Unable to parse option value "1000" as boolean
[crop @ 0x7f974e8441c0] Unable to parse option value "800" as boolean
[Parsed_crop_0 @ 0x7f974e8440c0] No option name near '300”'
[AVFilterGraph @ 0x7f974e843dc0] Error initializing filter 'crop' with
args '900:1000:800:300” out2.mp4
ffmpeg -i INPUT.mp4 -vf crop=900:1000:800:300”'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0 -
ffmpeg : "Impossible to convert between the formats" when using Cuda hardware acceleration
21 août 2020, par MorenoGentiliI'm using ffmpeg from the command line on Windows 10 and I wanted to gave Cuda a try to improve execution times. A simple cut command like this works fine and its execution time is reduced by 60-70%. Awesome.



ffmpeg -hwaccel cuvid -c:v h264_cuvid -ss 00:00:10 -i in.mp4 -c:v h264_nvenc out.mp4




Now I tried to use the -filter_complex flag to overlay, fade and translate a png image over a video. The working non-cuda enhanced command is this one :



ffmpeg -i in.mp4 -loop 1 -t 75 -i overlay.png -filter_complex "[1:v]fade=t=in:st=30:d=0.3:alpha=1,fade=t=out:st=35.7:d=0.3:alpha=1[png1];[0:v][png1]overlay=x='if(gte(t,30), (t-30)*10, NAN)'" -movflags +faststart out.mp4




Then, I added the cuda-related flags to the command like this.



ffmpeg -hwaccel cuvid -c:v h264_cuvid -i in.mp4 -loop 1 -t 75 -i overlay.png -filter_complex "[1:v]fade=t=in:st=30:d=0.3:alpha=1,fade=t=out:st=35.7:d=0.3:alpha=1[png1];[0:v][png1]overlay=x='if(gte(t,30), 60-tanh((t-30)*30/5)*60, NAN)'" -movflags +faststart -c:v h264_nvenc out.mp4




But it won't work. I get this error.



Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0




I don't even know what it means. Can I actually run ANY ffmpeg command on the GPU with Cuda ? I've found some information about the hwupload_cuda flag but I'm not sure if I should use it and how. My attempts have failed so far.
Any advice on how I should modify the command to make it work on the GPU ?
Thanks.