
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (105)
-
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 -
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 (7727)
-
Révision 21102 : un fichier fonctions avec inclusion manquante pour afficher le menu de navigation
9 janvier 2014, par cedric - -
Révision 24388 : Pouvoir cliquer le label pour cocher / décocher l’activation du menu développemen...
2 septembre 2019, par Matthieu Marcillaud -
Ajax call returns 500 error
26 mars 2018, par user3080392I have an Ajax call to a PHP script. The PHP script uses FFmpeg to concatenate several
.ts
files into one, and then converts it into an MP4 file.The PHP script manages to concatenate the files and convert the file to an MP4. However, none of the code after the FFmpeg commands is carried out.
Furthermore, my Ajax "success" function always returns a "500 Internal Server Error"
Here’s the Ajax :
function makeVid(vidUrl) {
$.ajax({
type: "POST",
url: 'make_vid.php',
data: {url: vidUrl},
cache: false,
success: function(data){
$("#vidResult").append(data);
document.getElementById(#myBtn).disabled = false;
},
error: function (jqXHR, exception) {
var msg = '';
if (jqXHR.status === 0) {
msg = 'Not connect.\n Verify Network.';
} else if (jqXHR.status == 404) {
msg = 'Requested page not found. [404]';
} else if (jqXHR.status == 500) {
msg = 'Internal Server Error [500].';
} else if (exception === 'parsererror') {
msg = 'Requested JSON parse failed.';
} else if (exception === 'timeout') {
msg = 'Time out error.';
} else if (exception === 'abort') {
msg = 'Ajax request aborted.';
} else {
msg = 'Uncaught Error.\n' + jqXHR.responseText;
}
$('#vidResult').html(msg);
}
});
}And here’s the PHP/FFmpeg :
shell_exec("$ffmpeg -f concat -safe 0 -i $vidClipsListTxtFile -c copy $combinedFileTs 1> $makeVidProgTxtFileTs 2>&1");
shell_exec("$ffmpeg -i $combinedFileTs -f mpegts -codec:v mpeg1video -bf 0 -codec:a mp2 -q 12 $combinedFileMp4 1> $makeVidProgTxtFileMp4 2>&1");
echo "video completed.";The PHP error log includes the following errors :
File does not exist: /home/mysite/public_html/favicon.ico
File does not exist: /home/mysite/public_html/404.shtml
File does not exist: /home/mysite/public_html/505.shtml
File does not exist: /home/mysite/public_html/robots.txtAnd here are some of the things I’ve tried to correct the problem :
-
Created the above files in the
public_html
folder -
Increased the
max_execution_time
andmemory_limit
in myphp.ini
file -
Changed the Ajax
success()
function to acomplete()
function
I still get the 500 error. What else can I try ?
-