
Recherche avancée
Autres articles (43)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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
Sur d’autres sites (9429)
-
exec() just run when i access target php in browser
28 septembre 2016, par Mohammad Shojaai use this code to run another php for some work (ffmpeg convert)
$binpath = get_option('binpath','/usr/bin/php');
$command = $binpath." -cli -f ".ABSPATH."/videocron.php";
exec( "$command > /dev/null &", $arrOutput );but when i upload a video and run this code don’t convert video for ever.
but when i access to videocron.php from browser all videos i uploaded convert suddenly !!!
i use alternative exec function(
system();
exec();
passthru();
shell_exec();
)
and i check videocron.php by readable function, it is readable.even i change owner videocron.php to nobody user
in mod_security log i get this error :
[Tue Sep 20 23:01:11 2016] [error] [client 37.156.10.171] ModSecurity: Multipart parsing error (init): Multipart: Boundary not found in C-T. [hostname "codenevis.net"] [uri "/lib/upload-ffmpeg.php"] [unique_id "V@GAb38AAAEAAGrk2QoAAAAH"]
but even i unistalll mod_security it don’t work automatically.
but in all don’t convert video until i access to videocron.php from browser !
-
Nginx rtmp live stream with ffmpeg Transcoding , ffmpeg dont work
7 septembre 2016, par loip104Hy i am trying to receive a stream convert and give out on rtmp
my nginx config
#user nobody;
worker_processes 1;
error_log logs/error.log debug;
events {
worker_connections 1024;
}
rtmp {
server {
listen 1935;
chunk_size 8192;
application big {
live on;
exec ffmpeg -i rtmp://127.0.0.1/big/test -vcodec libx264 -preset veryfast -b:v 2000k -maxrate 2000k -bufsize 2000k -s 1280x720 -sws_flags lanczos -r 60 -acodec copy -f flv rtmp://127.0.0.1/live/test;
}
application live {
live on;
}
}
}Her is the nginx log file , nginx start —> OBS connected
2016/09/07 20:57:49 [notice] 9841#0: using the "epoll" event method
2016/09/07 20:57:49 [notice] 9841#0: nginx/1.9.15
2016/09/07 20:57:49 [notice] 9841#0: built by gcc 4.9.2 (Debian 4.9.2-10)
2016/09/07 20:57:49 [notice] 9841#0: OS: Linux 3.16.0-4-amd64
2016/09/07 20:57:49 [notice] 9841#0: getrlimit(RLIMIT_NOFILE): 65536:65536
2016/09/07 20:57:49 [notice] 9842#0: start worker processes
2016/09/07 20:57:49 [notice] 9842#0: start worker process 9843
2016/09/07 20:57:51 [info] 9843#0: *1 client connected '**.**.**.234'
2016/09/07 20:57:52 [info] 9843#0: *1 connect: app='live' args='' flashver='LNX 9,0,124,2' swf_url='' tc_url='rtmp://sb2.stream-booster.ovh:1935/live' page_url='' acodecs=4071 vcodecs=252 object_encoding=0, client: **.**.**.234, server: 0.0.0.0:1935
2016/09/07 20:57:52 [info] 9843#0: *1 createStream, client: **.**.**.234, server: 0.0.0.0:1935
2016/09/07 20:57:52 [info] 9843#0: *1 play: name='test' args='' start=-2000 duration=0 reset=0 silent=0, client: **.**.**.234, server: 0.0.0.0:1935
2016/09/07 20:58:17 [info] 9843#0: *2 client connected '**.**.**.234'
2016/09/07 20:58:17 [info] 9843#0: *2 connect: app='big' args='' flashver='FMLE/3.0 (compatible; obs-studi' swf_url='rtmp://sb2.***.ovh/big' tc_url='rtmp://sb2.***.ovh/big' page_url='' acodecs=0 vcodecs=0 object_encoding=0, client: **.**.**.234, server: 0.0.0.0:1935
2016/09/07 20:58:18 [info] 9843#0: *2 createStream, client: **.**.**.234, server: 0.0.0.0:1935
2016/09/07 20:58:18 [info] 9843#0: *2 publish: name='test' args='' type=live silent=0, client: **.**.**.234, server: 0.0.0.0:1935
2016/09/07 20:58:18 [info] 9843#0: *2 exec: starting managed child 'ffmpeg', client: **.**.**.234, server: 0.0.0.0:1935
2016/09/07 20:58:18 [info] 9843#0: *2 exec: child 9844 exited; ignoring, client: **.**.**.234, server: 0.0.0.0:1935
2016/09/07 20:58:18 [info] 9843#0: *2 exec: terminating child 9844, client: **.**.**.234, server: 0.0.0.0:1935
2016/09/07 20:58:18 [notice] 9843#0: signal 17 (SIGCHLD) received
2016/09/07 20:58:18 [notice] 9843#0: unknown process 9844 exited with code 1
2016/09/07 20:58:18 [info] 9843#0: epoll_wait() failed (4: Interrupted system call)But i dont get a Output on "rtmp ://127.0.0.1/live/test"
if i start ffmpeg on terminal all work fine , i think nginx dont execute the command ?
how i get this ?
-
Avoid auto rotating video in HTML
15 septembre 2016, par hasanghaforianI use
ffmpeg
to convert a3gp
video toMP4
. You can see a part of output offfmpeg
here :ffmpeg version N-79139-gde1a0d4 Copyright (c) 2000-2016 the FFmpeg developers
...
Input #0,
...
Metadata:
rotate : 90
creation_time : ...
handler_name : VideoHandle
encoder :
Side data:
displaymatrix: rotation of -90.00 degrees
...I use
noautorotate
option in below command to avoid auto rotate based on metadata of file and it is successful. Then I tried this HTML code to open converted file in a browser(for example byGoogle Chrome
) :<video width="320" height="240" controls="controls">
<source src="../videos/test.mp4" type="video/mp4">
</source></video>But when I open that, video shown rotated. How I can solve this problem ? Is there a tag or any other thing to disable autorotate in HTML ?