
Recherche avancée
Autres articles (63)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)
Sur d’autres sites (7586)
-
Please use -q:a or -q:v, -qscale is ambiguous
20 septembre 2017, par AbhishekI’m using FFMpeg to encode a video. This is the command :
fmpeg/ffmpeg -i '/home/ninbizco/public_html/public/temporary/15cf7_8665.mp4'
-ab 64k -ar 44100 -qscale 5 -r 25 -vcodec libx264 -acodec aac
-strict experimental -preset veryfast -f mp4 -vf "scale=480:386" -y
'/home/ninbizco/public_html/temporary/sitevideo/82_vconverted.1' 2>&1But I’m getting following error :
Please use -q:a or -q:v, -qscale is ambiguous
[AVFilterGraph @ 0x42838a0] Error initializing threading.
[AVFilterGraph @ 0x42838a0] Error creating filter 'anull'
Error opening filters!Following are the ffmpeg version details :
ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 16 2014 05:38:01 with gcc 4.6 (Debian 4.6.3-1)Can anyone tell me if it’s related to server configuration, because it’s not working on only one site and I’m not sure which server configuration to check. This command works fine on my localhost and other sites with the same ffmpeg version.
-
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 ?
-
-
Libsourcey : Segmentation fault
12 décembre 2018, par Iranna PattarI am running WebRTC Native Video Recorder demo Application,but getting Segmentation fault (core dumped).
here is the cmake command :
cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_SHARED_LIBS=OFF -DBUILD_MODULES=OFF -DBUILD_APPLICATIONS=OFF \
-DBUILD_SAMPLES=ON -DBUILD_TESTS=OFF -DWITH_WEBRTC=ON -DWITH_FFMPEG=ON -DBUILD_MODULE_base=ON \
-DBUILD_MODULE_crypto=ON -DBUILD_MODULE_http=ON -DBUILD_MODULE_json=ON -DBUILD_MODULE_av=ON \
-DBUILD_MODULE_net=ON -DBUILD_MODULE_socketio=ON -DBUILD_MODULE_symple=ON -DBUILD_MODULE_stun=ON \
-DBUILD_MODULE_turn=ON -DBUILD_MODULE_util=ON -DBUILD_MODULE_uv=ON -DBUILD_MODULE_webrtc=ON \
-DBUILD_SAMPLES_webrtc=ON -DWEBRTC_INCLUDE_DIR=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64/include \
-DWEBRTC_LIBRARIES=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64/lib/ \
-DWEBRTC_ROOT_DIR=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64 \
-DBUILD_MODULE_openssl=ON -DOPENSSL_ROOT_DIR=/usr/local/ssl -DOPENSSL_LIBRARIES=/usr/local/ssl/lib/ \
-DOPENSSL_INCLUDE_DIR=/usr/local/ssl/include/openssl/and Resolution is 640*480 , bit rate 128000, profile level is 3.2 .
[libx264 @ 0x7f63dc001600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 LZCNT BMI1
[libx264 @ 0x7f63dc001600] profile High, level 3.2
Segmentation fault (core dumped)I have tried to track with gdb and backtrace but couldnt find
[libx264 @ 0x7fffa4001600] profile High, level 3.2
Thread 19 "IncomingVideoSt" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd76fd700 (LWP 21381)]
0x00000001000001e0 in ?? ()
bt
#0 0x00000001000001e0 in ?? ()
#1 0x00007ffff5380c6c in x264_stack_align () from /usr/lib/x86_64-linux-gnu/libx264.so.155
#2 0x00007fffd76f710c in ?? ()
#3 0x00007fffd76f7110 in ?? ()
#4 0x0000000000000000 in ?? ()How to resolve this error ?