
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (66)
-
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 -
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 -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (10735)
-
ffmpeg encoder streaming issues
8 août 2017, par bobsingh1I am trying to build ffmpeg encoder on linux. I started with a custom built server Dual 1366 2.6 Ghz Xeon CPUs (6 cores) with 16 GB RAM with Ubuntu 16.04 minimal install. Built ffmpeg with h264 and aac. I am taking live source OTA channels and encoding/streaming them with following parameters
-vcodec libx264 -preset superfast -crf 25 -x264opts keyint=60:min-keyint=60:scenecut=-1 -bufsize 7000k -b:v 6000k -maxrate 6300k -muxrate 6000k -s 1920x1080 -format yuv420p -g 60 -sn -c:a aac -b:a 384k -ar 44100
And I am able to successfully udp out using mpegts. My problem starts with 5th stream. The server can handle four streams and as soon as I introduce 5th stream I start seeing hiccups in output. Looking at my cpu usage using top I still see only 65% to 75% usage with occasional 80% hit. Memory usage is well within acceptable parameters. So I am wondering either top is not giving me accurate cpu usage or something is not right with ffmpeg. The server is isolated for udp in/out on a 1 Gbps network.
I decided to up the cpu power and installed two 3.5 Ghz CPUs (6 cores) thinking it was perhaps the cpu clock. To my surprise the results were no different. So now I am wondering is there some built in limit I am hitting when I process at 1080p. If I change the resolution to 720p it is able to process 8 streams but 720 is not acceptable.
My target is 10 1080p streams per server.
So my questions are
1. If I use a quad motherboard and up the cpu count to 4 (6 or 8 cores) will I get 10 1080p streams ? Is there any theoretical max I can go with ffmpeg per machine ?
2. Do cores matter more or does clock matter more ?
3. Any suggestions in improvement with my options. I have tried ultrafast preset but the output quality is unacceptable.Thanks in advance
-
requesting script for compressing mp3 files recursively using ffmpeg
3 mai 2017, par Guddla RupeshHi I am Rupesh from India. I have a directory of size 65 GB which contains 2500 folders and 7000 mp3 files with 64 kbps bitrate.
I have installed Windows 8 and Linux with ffmpeg on my system.
I want to convert all these files to 16 kbps recursively I mean maintain folder structure of source. I have searched web for script and found some code but none of them provided what I want. I have searched even GUI frontend for ffmpeg and found some software but they don’t have option to convert all these files recursively and some don’t have option to convert to lower bitrate.
I have read ffmpeg manual pages and those was difficult to understand and even I don’t have scripting experience.
Can you create a script to perform the following steps
1) The script must compress files in each and every directory maintaining directory structure.
2) All files must be compressed to 16 kbps and 11500 samples per second with highest quality.
3) If any errors are encountered during the process the corresponding file information ie., file name with path must be stored in a seperate text file for future viewing.
4) After the process has been completed the system must shutdown.I want accurate compression. Please try to create a bash script ( linux ) or a batch script ( Windows ) and post the script.
Regards,
Rupesh. -
FFMPEG resize video not working in browser or IOS
12 avril 2017, par kiran malviI have tried to compress video using FFMPEG command and it’s compress properly but I couldn’t see in browser as like original video.
I have used below all command but didn’t success.
ffmpeg -i /var/www/html/test.mp4 -c:v copy -bsf:v h264_mp4toannexb -an /var/www/html/test123.mp4
ffmpeg -i /var/www/html/test.mp4 -s 640x480 -c:v copy -bsf:v h264_mp4toannexb -an /var/www/html/test123.mp4
ffmpeg -i /var/www/html/test.mp4 -map 0 -c copy -c:v:1 libx264 -c:a:137 libvorbis /var/www/html/test111.mp4
ffmpeg -i /var/www/html/test.mp4 -s 720x960 -b:v 120k -vcodec mpeg1video -acodec copy /var/www/html/test112.mov
ffmpeg -i INPUT -attach /var/www/html/test.mp4 -metadata:s:2 mimetype=application/x-truetype-font /var/www/html/test2.mp4
ffmpeg -y -i "/var/www/html/test.mp4" -c:v libx264 -preset slow -pix_fmt yuv420p -c:a libvo_aacenc -b:a 128k "/var/www/html/test2222.mp4"
ffmpeg -y -i "/var/www/html/test.mp4" -ar 22050 -ab 512 -b 700k -f mp4 -s 514*362 -strict -2 -c:a aac "/var/www/html/test2222222.mp4"
ffmpeg -i /var/www/html/test.mp4 -c copy -movflags +faststart /var/www/html/test222.mp4
ffmpeg -i /var/www/html/test.mp4 -c copy -movflags +faststart /var/www/html/test222.mp4
ffmpeg -i /var/www/html/test.mp4 -s 720x480 -c:a copy /var/www/html/test22.mp4
ffmpeg video compressed but not playing in browser
ffmpeg -i /var/www/html/test.mp4 -c:v libx264 /var/www/html/test111.mp4
ffmpeg -i /var/www/html/test.mp4 -r 60 -s hd720 /var/www/html/test111.mp4
Do you have any Idea ? How to compress video as like Original with work in All browser ?