
Recherche avancée
Autres articles (35)
-
MediaSPIP Init et Diogène : types de publications de MediaSPIP
11 novembre 2010, parÀ l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)
Sur d’autres sites (2951)
-
ffmpeg Error while opening decoder for input stream #0:0 : Resource temporarily unavailable [migrated]
24 septembre 2014, par Fanzaholic BeanI want to convert png images into mp4, this my ffmpeg code :
/usr/local/vencode/bin/ffmpeg -y -framerate 1/5 -i /home/fanzaholic/public_html/lab/server/script/1411400997_open_%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p /home/fanzaholic/public_html/lab/server/script/test.mp4 2>&1
This is output from that code :
ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Apr 13 2014 13:00:18 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, image2, from '/home/fanzaholic/public_html/lab/server/script/1411400997_open_%03d.png':
Duration: 00:00:10.00, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgb24, 896x504, 0.20 tbr, 0.20 tbn, 0.20 tbc
[libx264 @ 0x1341860] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x1341860] profile High, level 3.1
[libx264 @ 0x1341860] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=36 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to '/home/fanzaholic/public_html/lab/server/script/test.mp4':
Stream #0:0: Video: h264, yuv420p, 896x504, q=-1--1, 90k tbn, 30 tbc
Stream mapping:
Stream #0:0 -> #0:0 (png -> libx264)
Error while opening decoder for input stream #0:0 : Resource temporarily unavailablethe mp4 file was created but with 0 bytes size
Any help for me ?
thanks
-
dpx : use aligned line starts
13 août 2014, par Christophe Gisquetdpx : use aligned line starts
SMPTE 268M-2003 specifies that each line starts at a 4-bytes boundary.
Therefore, modify correspondingly the input buffer strides and size.Partially fixes ticket #3692 : DLAD_8b_3c_big.dpx still has inverted
colors, which might be related to endianness.Signed-off-by : Michael Niedermayer <michaelni@gmx.at>
-
Streaming live video with avconv/ffmped on nginx rtmp server player error
6 juin 2014, par user3715403Good morning,
My current project involves playing live video (testing using a usb webcam for now). I compiled and installed nginx server with the rtmp module (obtained from https://github.com/arut/nginx-rtmp-module). The nginx configuration file is as :worker_processes 1;
error_log logs/error.log debug;
events {
worker_connections 1024;
}
rtmp {
server {
listen 1935;
application myapp {
live on;
#record keyframes;
#record_path /tmp;
#record_max_size 128K;
#record_interval 30s;
#record_suffix .this.is.flv;
#on_publish http://localhost:8080/publish;
#on_play http://localhost:8080/play;
#on_record_done http://localhost:8080/record_done;
}
}
}
http {
server {
listen 8080;
location /stat {
rtmp_stat all;
rtmp_stat_stylesheet stat.xsl;
}
location /stat.xsl {
root /path/to/nginx-rtmp-module/;
}
location /control {
rtmp_control all;
}
#location /publish {
# return 201;
#}
#location /play {
# return 202;
#}
#location /record_done {
# return 203;
#}
location /rtmp-publisher {
root /path/to/nginx-rtmp-module/test;
}
location / {
root /path/to/nginx-rtmp-module/test/www;
}
}
}The command line to start streaming is as :
avconv -s vga -f video4linux2 -i /dev/video0 -vcodec libx264 -an -f flv -b 800k -r 30 rtmp://localhost/myapp/live
While streaming, the following stats are displayed :
avconv version 10.1, Copyright (c) 2000-2014 the Libav developers
built on May 13 2014 15:13:23 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
[video4linux2 @ 0x2f06220] Estimating duration from bitrate, this may be inaccurate
Input #0, video4linux2, from '/dev/video0':
Duration: N/A, start: 112393.305806, bitrate: 73728 kb/s
Stream #0.0: Video: rawvideo, yuyv422, 640x480, 73728 kb/s, 15 fps, 1000k tbn
[libx264 @ 0x2f187a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x2f187a0] profile High, level 3.0
[libx264 @ 0x2f187a0] 264 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, flv, to 'rtmp://localhost/myapp/live':
Metadata:
encoder : Lavf55.12.0
Stream #0.0: Video: libx264, yuv420p, 640x480, q=-1--1, 800 kb/s, 1k tbn, 30 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo -> libx264)
Press ctrl-c to stop encoding
frame= 3283 fps= 30 q=26.0 size= 10592kB time=108.33 bitrate= 810.5kbits/sBefore embedding the stream onto a web page using, say videojs, I am using avplay which returns the error : rtmp ://localhost/myapp/live : Input/output error while VLC returns the error
Your input can’t be opened :
VLC is unable to open the MRL ’rtmp ://localhost/myapp/live’. Check the log for details.Any suggestions about what would cause the errors displayed by VLC/avplay ?
Thanks
Daniel