
Recherche avancée
Médias (10)
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (26)
-
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
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 (...) -
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 (2870)
-
Ruby - Threads and Dir[] arrays
17 mars 2016, par Lewis909I have built a ruby script that creates folders, moves a file into that new folder and then invokes a system() call to trigger FFMPEG. I have now turned this into 4 threads so that I can do 4 concurrent transcodes at a time.
Here is an example with 2 threads (minus folder structure creation and file move functions) :
def transcode_process_1
Dir["path/file/source/*.mxf"].each do |f|
random_folder = #code for random folder creation
file_move = #code to move .mxf file to random_folder for processing
system("FFMPEG -i #{random_folder} command 2> /path/file/#{random_filename}.txt")
sleep(2)
end
end
def transcode_process_2
sleep(3)
Dir["path/file/source/*.mxf"].each do |f|
random_folder = #code for random folder creation
file_move = #code to move .mxf file to random_folder for processing
system("FFMPEG -i #{random_folder} command 2> /path/file/#{random_filename}.txt")
sleep(4)
end
end
transcode_thread_1 = Thread.new{transcode_process_1()}
transcode_thread_2 = Thread.new{transcode_process_2()}
transcode_thread_1.join
transcode_thread_2.joinThis iterates through the Dir "path/file/source/" and processes any.mxf files it finds. The issue I am having is that when both threads are running they are adding the same files into the array. This results in FFMPEG stating it cannot locate the file (this is because another thread has processed it and moved it to the temp folder) and creating superfluous folders and log files, basically just making it messy.
My question is how would I go about making sure transcode_thread_2 does not process files that transcode_thread_1 has added to it array ? Is there a way I can get the function to check that the file in the array is still exists ? If it does then carry out the process, if not move on to the next file ?
Thanks
-
How to Save and Display a Video Simultaneously using C# Aforge.NET framework ?
8 avril 2014, par AkshayI am able to display the video from my webcam or any other integrated device into a picturebox . Also i am able to Save the video into an avi file using FFMPEG DLL files.
I want to do both things simultaneously ie Save the video in the avi file as well as at the same time display the live feed too.
This is for a surveillance project where i want to monitor the live feed and save those too.using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using AForge.Video;
using AForge.Video.DirectShow;
using AForge.Video.FFMPEG;
using AForge.Video.VFW;
using System.Drawing.Imaging;
using System.IO;
namespace cam_aforge1
{
public partial class Form1 : Form
{
private bool DeviceExist = false;
private FilterInfoCollection videoDevices;
private VideoCaptureDevice videoSource = null;
public Form1()
{
InitializeComponent();
}
private void getCamList()
{
try
{
videoDevices = new FilterInfoCollection(FilterCategory.VideoInputDevice);
comboBox1.Items.Clear();
if (videoDevices.Count == 0)
throw new ApplicationException();
DeviceExist = true;
foreach (FilterInfo device in videoDevices)
{
comboBox1.Items.Add(device.Name);
}
comboBox1.SelectedIndex = 0; //make dafault to first cam
}
catch (ApplicationException)
{
DeviceExist = false;
comboBox1.Items.Add("No capture device on your system");
}
}
private void rfsh_Click(object sender, EventArgs e)
{
getCamList();
}
private void start_Click(object sender, EventArgs e)
{
if (start.Text == "&Start")
{
if (DeviceExist)
{
videoSource = new VideoCaptureDevice(videoDevices[comboBox1.SelectedIndex].MonikerString);
videoSource.NewFrame += new NewFrameEventHandler(video_NewFrame);
videoSource.NewFrame += new NewFrameEventHandler(video_NewFrameSave);
CloseVideoSource();
videoSource.DesiredFrameSize = new Size(160, 120);
//videoSource.DesiredFrameRate = 10;
videoSource.Start();
label2.Text = "Device running...";
start.Text = "&Stop";
timer1.Enabled = true;
}
else
{
label2.Text = "Error: No Device selected.";
}
}
else
{
if (videoSource.IsRunning)
{
timer1.Enabled = false;
CloseVideoSource();
label2.Text = "Device stopped.";
start.Text = "&Start";
}
}
}
private void video_NewFrame(object sender, NewFrameEventArgs eventArgs)
{
Bitmap img = (Bitmap)eventArgs.Frame.Clone();
pictureBox1.Image = img;
}
Bitmap imgsave;
private void video_NewFrameSave(object sender, NewFrameEventArgs eventArgs)
{
imgsave = (Bitmap)eventArgs.Frame.Clone();
}
private void CloseVideoSource()
{
if (!(videoSource == null))
if (videoSource.IsRunning)
{
videoSource.SignalToStop();
videoSource = null;
}
}
private void timer1_Tick(object sender, EventArgs e)
{
label2.Text = "Device running... " + videoSource.FramesReceived.ToString() + " FPS";
}
private void Form1_FormClosed(object sender, FormClosedEventArgs e)
{
CloseVideoSource();
}
private void Form1_Load(object sender, EventArgs e)
{
}
VideoFileWriter writer;
private void button1_Click(object sender, EventArgs e)
{
int width = 640;
int height = 480;
writer = new VideoFileWriter();
writer.Open("test.avi", width, height, 75, VideoCodec.MPEG4);
for (int i = 0; i < 5000; i++)
{
writer.WriteVideoFrame(imgsave);
}
}
private void button2_Click(object sender, EventArgs e)
{
writer.Close();
}
}
}Thanks in advance.
-
Announcing Piwik Community Meetup in Munich : Register now !
5 mai 2014, par Piwik Core TeamWe’re excited to announce our second Piwik community Meetup ! This will be a unique opportunity to connect with other Piwik users, and meet the core team behind Piwik.
Updated : presentation slides
The Making Of The Analytics Platform Of The Future
Piwik in Enterprise
Piwik Analytics Platform
Guest lecture : TV to Web Analytics
Guest lecture : Oxid analytics with Piwik
When and where is the meetup ? (update, see below)
Location : Munich, Germany
Date : Tuesday July 29th 2014
Time : 5PM
Language : German/English
Cost : Free !Who can join ?
All Piwik community members (users, translators, contributors) are warmly invited to join the meetup. Almost all of the core team will be present, we’re looking forward to meeting you !
What to expect for the Piwik meetup ?
The meetup will consist of three speakers giving quick 15-20 minute presentations followed by Q&A.
- Discover some of the upcoming features
- Learn tricks to make the most out of Piwik
- Networking and socialising… and an after party in a local bar to continue the discussion !
Who can join the meetup ?
This meetup is open to all Piwik users and members of the community.
- If you are using Piwik to improve your websites and apps, or generally curious about digital analytics and marketing
- If you are interested in the platform, integrating your app with Piwik or building plugins, come meet with other developers and creators of Piwik
Timing
- Doors open at 17:00
- Starts at 17:30
- Ends at 20:00 – 20:30
Schedule
- 17:30 – Welcome speech (Peter Boehlke (german))
- 17:40 – Piwik for governments & corporations – Piwik PRO case study (Maciej Zawadziński english)
- 18:05 – Break (25 minutes) – Coffee, Tea, pastries and cold buffet (free)
- 18:30 – Overview of the platform Piwik, custom data tracking, publishing on the new Marketplace (Thomas Steur (german))
- 18:55 – Break (10 minutes)
- 19:05 – Piwik users present interesting real world use cases (german)
– TV-to-Web analytics (Jasper Sasse)
– Piwik from a SEO’s perspective (Thomas Zeithaml)
– Using the Piwik Framework to analyze Shop-Data (Joachim Barthel) - 19:30 – Break (10 minutes)
- 19:40 – Next big features, milestones, future roadmap (Matthieu Aubry english)
- 20:05 – Break (5 minutes)
- 20:10 – Summary & end of the conference (german)
- After party at a nearby bar or restaurant (open end)
Call for Papers
We would like to hear about how you use Piwik ! If you’d like to present your interesting use case on the conference (speaking time 5 to 7 minutes), please contact us at hello@piwik.org !
Meetup location
Munich Workstyle
Landwehrstraße 61
80336 München
Location / DirectionsParking space is limited : We recommend to use public transport !
Stations nearby :
S-Bahn : Hauptbahnhof, Stachus (both 700m)
U-Bahn : Stachus (700m), Theresienwiese (400m)
Beverage pricing
Mineral water : EUR 3,10 (0,75l)
Softdrinks / juices : EUR 2,10
Beer : EUR 2,80
A special thank you to our sponsor Mayflower GmbH !
Register now
Seats are limited, please register today to secure your seat :
Register now !