
Recherche avancée
Autres articles (30)
-
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 (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (6016)
-
I use the bramp/ffmpeg-cli-wrapper of java. How to terminate the execution in the thread ?
8 mars, par Hao TanI want to use ffmpeg to achieve streaming function


First I created a thread pool


private final Map taskThreads = new ConcurrentHashMap<>();
Thread taskThread = new Thread(() -> {
 try {
 private void startTask(Device task) {
 Thread taskThread = new Thread(() -> {

 FFmpegBuilder builder = new FFmpegBuilder()
 .setInput(source) 
 .overrideOutputFiles(true)
 .addOutput(destination) 
 .setFormat("flv")
 .addExtraArgs("-c", "copy") 
 .done();

 FFmpegExecutor executor = new FFmpegExecutor(ffmpeg, ffprobe);
 executor.createJob(builder).run();
 });
 taskThreads.put(task.getId(), taskThread);
 taskThread.start();
 }



stop code


public void stopTask(Integer taskId) {
 Thread taskThread = taskThreads.get(taskId);
 if (taskThread != null) {
 taskThread.interrupt(); 
 taskThreads.remove(taskId);
 
 DeviceDto task = deviceService.findById(taskId);
 if (task != null) {
 task.setIsOnline(0);
 Device device = new Device();
 BeanUtils.copyProperties(task,device);
 deviceService.update(device);
 }
 }
 }



I call stopTask and cannot terminate the ffmpeg thread


It should be
executor.createJob(builder).run();
blocked

How to solve


-
CSeq errors when RTSP streaming with ffmpeg and ffserver
11 janvier 2020, par ErojiI am trying to live stream a webcam with RTSP h264 feed. I am using ffmpeg and ffserver. The ffserver.conf is as below.
HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 10000
<feed>
File /tmp/feed.ffm
FileMaxSize 50M
</feed>
<stream>
Feed feed.ffm
Format mpjpeg
VideoFrameRate 15
VideoSize 1920x1080
VideoQMin 1
VideoQMax 15
VideoIntraOnly
NoAudio
Strict -1
NoDefaults
</stream>
<stream>
Feed feed.ffm
Format jpeg
VideoFrameRate 2
VideoSize 1920x1080
VideoQMin 1
VideoQMax 15
VideoIntraOnly
NoAudio
Strict -1
NoDefaults
</stream>I have played with the ffmpeg options quite a bit and got it relatively stable, however, the ffmpeg process would still die after some random amount of time with an error like this.
[rtsp @ 0x7ffbe78c3460] CSeq 11 expected, 0 received.
My ffmpeg command looks like this
/usr/bin/ffmpeg -hide_banner -loglevel info -rtsp_transport tcp -nostats -use_wallclock_as_timestamps 1 -i rtsp://user:pass@mycamera/live -async 1 -vsync 1 http://127.0.0.1:8090/feed.ffm
Can any ffmpeg experts out there help somehow getting this stream to stay stable ?
-
Piwik analytics database : migrating from MySQL to MariaDB
11 novembre 2015, par Piwik Core Team — MetaThis short blog post is an announcement regarding the Piwik technology stack.
Piwik compatible with MySQL and MariaDB
Since our first public release Piwik uses the open source database server MySQL to store the analytics data.
Piwik is also compatible with MariaDB. MariaDB is an enhanced, drop-in replacement for MySQL.
Upgrading to MariaDB
Many users from our community as well as Piwik PRO have confirmed that using MariaDB for Piwik has several advantages. MariaDB has in some cases significantly improved query performance and reliability of Piwik. Because MariaDB 5.5 is a complete drop-in-replacement for MySQL 5.5, upgrading can be as easy as running
apt-get install mariadb-server
(or equivalent for your platform). Existing third party techologies such as TokuDB (FAQ) and Galera are fully compatible with MariaDB.Learn more about upgrading to MariaDB : Upgrading from MySQL to MariaDB
In the future, Piwik will stay compatible with both MySQL and MariaDB.