
Advanced search
Medias (91)
-
Valkaama DVD Cover Outside
4 October 2011, by
Updated: October 2011
Language: English
Type: Picture
-
Valkaama DVD Label
4 October 2011, by
Updated: February 2013
Language: English
Type: Picture
-
Valkaama DVD Cover Inside
4 October 2011, by
Updated: October 2011
Language: English
Type: Picture
-
1,000,000
27 September 2011, by
Updated: September 2011
Language: English
Type: Audio
-
Demon Seed
26 September 2011, by
Updated: September 2011
Language: English
Type: Audio
-
The Four of Us are Dying
26 September 2011, by
Updated: September 2011
Language: English
Type: Audio
Other articles (77)
-
La file d’attente de SPIPmotion
28 November 2010, byUne 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 le (...) -
MediaSPIP v0.2
21 June 2013, byMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 April 2011, byPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
On other websites (7942)
-
AJAX won't execute all of the php code
27 September 2016, by hermanboy07I want a progressbar to be shown while a video-file is being uploaded. I’m using JS and AJAX to track progress of the file-upload php, and send the file. The php file contains a ffmpeg command that grabs some frames from the video. Essentially the php file creates a random folder, and puts both the video and the frames in it. when the php is called by
if(isset($_FILES['file']))
it works just fine. But when i try to use AJAX it only uploads the video, but ignores the ffmpeg command and mysql_query.Javascript:
function uploadFile(){
var file = _("file1").files[0];
var formdata = new FormData();
formdata.append("file1", file);
var ajax = new XMLHttpRequest();
ajax.upload.addEventListener("progress", progressHandler, false);
ajax.open("POST", "upload.php");
ajax.send(formdata);Upload.php
$name = $_FILES['file1']['name'];
$type = explode(".",$name);
$type = end($type);
$tmp = $_FILES['file1']['tmp_name'];
$uploadOk = 1;
$exp = explode(".",$name);
$filename = rand().$exp[0];
$path = "videos/" . $filename . "/" . $name;
$ffmpeg = "/usr/local/bin/ffmpeg";
$size = "320x180";
if($type != 'mp4' && $type != 'MP4'){
$message = "Only mp4 format is supported!";
$uploadOk = 0;
}else{
mkdir("videos/".$filename);
// ffmpeg function
for($num = 1; $num <= 15; $num++){
$interval = $num * 3;
shell_exec("$ffmpeg -i $tmp -an -ss $interval -s $size /videos/$filename/thumb$num.png");}
move_uploaded_file($tmp, $path);
mysql_query("INSERT INTO table (name, url) VALUES('$name', '$path')");Why dosen’t AJAX execute the complete php?
-
Is there an easy way to use x264 presets with ffmpeg in code?
29 August 2014, by NiorehI’m trying to encode video with ffmpeg and x264. I know ffmpeg can use x264 presets when using the program ffmpeg from command line. But is it possible to easily use these presets when encoding with ffmpeg in code?
If not, what is the best way to set the x264 parameters from ffmpeg code? Is it just using the properties of the AVCodecContext? Are all the x264 options available through this?
Thank you!
-
Is there an easy way to use x264 presets with ffmpeg in code?
29 August 2014, by NiorehI’m trying to encode video with ffmpeg and x264. I know ffmpeg can use x264 presets when using the program ffmpeg from command line. But is it possible to easily use these presets when encoding with ffmpeg in code?
If not, what is the best way to set the x264 parameters from ffmpeg code? Is it just using the properties of the AVCodecContext? Are all the x264 options available through this?
Thank you!