
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 (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...)
Sur d’autres sites (5849)
-
How do I convert videos to mp4 for use on Android ? [on hold]
11 avril 2014, par user3525211I am trying to use ffmpeg to convert videos (flv,mov,etc) to mp4 for use on android mobile phones. The conversion seemingly works fine. I can see the mp4s on my iphone. But when I test it out on android phones it does not work. I have been googling this problem for two weeks now and I have tried probably 50 different variations of ffmpeg command lines, but without success. I tried upgrading to the latest ffmpeg on my linux server, but I am not linux savvy and am not sure that it did what it was supposed to. I am at my wits end. Am I going about this wrong ? Is ffmpeg the right tool ? Any ideas ?
Here is the command line I have used to successfully convert to mp4s that work on iphone :
ffmpeg -y -i input.mov -s 480x270 -r 30000/1001 -b 128k -vcodec libx264 -vpre slow -vpre ipod320 -acodec libfaac -ac 2 -ar 44100 -ab 128k output.mp4 -
Trying to concat videos from different sources with ffmpeg and get different broken results every time (partly no audio and/or fast forward video)
30 octobre 2022, par OliverI am using ffmpeg for years to create (merge and render) big video files from the (vaction) clips my sony camcorder produces. My basic workflow is to copy the mp4 files from the camcorder over to my pc, put the names in a file (file 'filename') and use the following command to create one big file that is playable by my apple tv :


ffmpeg -f concat -safe 0 -i filelist.txt -c:v libx265 -preset slow -x265-params strong-intra-smoothing=0:merange=58 -crf 24 -c:a aac -b:a 320k -tag:v hvc1 output.mp4



i cannot explain most of the arguments in total detail but i know that it works.
My problem occurred as i wanted to prepend some video clips recorded with an iphone to one of those files. So the first part seemed easy, the sony camcorder files have a resolution of 3840x2160 and the iphone video clips have a resolution of 1280x720 so at first i upscaled the iphone files using this command (i would have rather done in just one step but i do not know how to do that) :


ffmpeg -i IMG_1182.MP4 -vf scale=3840:2160 IMG_1182_3840x2160.MP4



then i just tried to add those upscaled video files to the filelist from the first command and ran the command for all clips again. Sadly that did not worked, as the resulting file contained all clips but only the iphone part had audio ! For the rest of the video the audio was missing. At this point i also did not noticed that the second part was played much faster (like played in fast forward mode). So guessed that i have to render the iphone and sony camcorder clips separately using the first command. That worked and i got two video files with perfect audio and video. My next step was to concatenate the resulting files using the following simple command :


ffmpeg -f concat -safe 0 -i concatlist.txt -c copy output.mp4



where concatlist contained both files.
Sadly that also did not worked. I do got a file containing both parts, this time with audio, but the video of the second part still was fast forward !


I do not know what to do at this point, and i also do not understand enough to experiment with the options any more. Can someone explain to my what could be the problems here and how to solve them ?


-
avcodec/vc2enc : Simplify writing dirac golomb codes
8 mars, par Andreas Rheinhardtavcodec/vc2enc : Simplify writing dirac golomb codes
The earlier code used a loop to determine the number of bits used
and called ff_log2() on a power of two (and it would be easy to
keep track of the exponent of said power-of-two) ; neither GCC nor
Clang optimized the loop away or avoided the ff_log2().
This patch replaces the loop and the log2 with a single av_log2().Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>