
Recherche avancée
Autres articles (38)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (6002)
-
publish chromium rendered view to ffmpeg/libav
21 février 2014, par user3337537I would like to publish chromium rendered view to ffmpeg/libav stream instead of showing it on the operating window system.
Also plugins like flash should be included in the stream. I don't know much about chromium rendering yet.I know there are command like "ffmpeg -f x11grab -s 1280x720" ... But i would like to do this right from chrome to publish mutliple tabs at the same time.
How would you estimate the development effort for that ?
-
Killing all child processes
12 juin 2016, par ErraticFoxI have written a onclick function that runs child process for a command line for ffmpeg. Though I can’t seem to force close or kill the process in the middle of it. I’ve tried multiple ways such as child.kill() along with
SIGINT
,SIGKILL
,SIGHUP
,SIGQUIT
, andSIGTERM
and it continuously runs in the background still until finished or killed in the task manager. So how can I kill all the process related to the exec ?Here’s my current code :
function submitBtn() {
var selectVal1 = $("#inputFile1 option:selected").val(),
selectVal2 = $("#inputFile2 option:selected").val(),
selectOpt2 = $("#inputFile2 option:selected").text().toLowerCase()
if (!selectVal1 || !selectVal2) {
Materialize.toast('Please select your formats', 4000)
} else if ($("#uploadFile").val() === '') {
Materialize.toast('Please select your file', 4000)
} else {
var process = require("child_process")
var inputDir = uploadFile.files[0].path
var dir = inputDir.split("\\")
var pop = dir.pop()
var outputDir = dir.join("\\")
var cmd = `ffmpeg -y -i "${inputDir}" "${outputDir}\\output.${selectOpt2}"`
$("#load").removeClass("disabledLoad")
func = process.exec(cmd, function(error, stdout, stderr) {})
func.on('exit', function() {
$("document").ready(function() {
$("#load").addClass("disabledLoad")
Materialize.toast('Conversion compelete!', 4000)
})
})
}
}
function exitBtn() {
//var remote = require('electron').remote
//var window = remote.getCurrentWindow()
//window.close()
func.kill()
}I even tried renaming
process
toproc
and then doingprocess.on('exit', function () {
console.log('process is about to exit, kill ffmpeg');
func.kill()
})in exitBtn but still nothing. It doesn’t give errors or log my string I put.
-
Show a tcp video stream (from FFPLAY / FFMPEG) in an C# application
27 août 2013, par Rob QuistI try to make my Parrot AR Drone 2.0 work with a windows machine.
I have a simple C# application to control it - but now i want the video stream inside of my application.
If i execute
ffplay tcp://192.168.1.1:5555
it connects to the videostream and shows a window with the video.How can i get this video iside of my application ? Like, a simple 'frame' or 'image' that gets filled with that content ?
I have never worked that much with C# so any help would be awesome.