
Recherche avancée
Autres articles (99)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (7540)
-
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 ?
-
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 !
-
ffmpeg WAV to MP3 Conversion - Audio Distortion and Timestamp Troubles
24 septembre 2016, par user27547I’m using this command to convert a wav to mp3 :
ffmpeg -i in.wav -ab 64k out.mp3
The resulting mp3 has audio distortions, most notably a slight stuttering every few seconds.
Also, the times no longer match. If I seek to the end of the file, then skip back 10 seconds, I’m able to hear the last 10 seconds of the file. However, if I go back a further 10 seconds, it jumps to several minutes before the end. I can then skip forward past the supposed end time (e.g. 13:44:08/13:43:57). I figure that this means the estimated time is different than the actual time, but it’s encoded at a constant bit rate, so I can’t imagine why it’s having this problem.
I would appreciate any input on how to correct these problems. Thank you.
Here is the output :
ffmpeg version 3.1.3 Copyright (c) 2000-2016 the FFmpeg developers
built with Apple LLVM version 7.3.0 (clang-703.0.31)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.1.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-libopus --enable-frei0r --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.1.1/include/openjpeg-2.1 --enable-nonfree --enable-vda
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 47.100 / 6. 47.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, wav, from 'in.wav':
Metadata:
encoder : Lavf57.41.100
Duration: 13:43:54.00, bitrate: 352 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, 1 channels, s16, 352 kb/s
[mp3 @ 0x7fa71c02c200] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, mp3, to 'out.mp3':
Metadata:
TSSE : Lavf57.41.100
Stream #0:0: Audio: mp3 (libmp3lame), 22050 Hz, mono, s16p, 64 kb/s
Metadata:
encoder : Lavc57.48.101 libmp3lame
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
size= 386204kB time=13:43:54.02 bitrate= 64.0kbits/s speed= 115x
video:0kB audio:386204kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000064%