
Recherche avancée
Autres articles (95)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...)
Sur d’autres sites (9413)
-
lavfi/spp : add "quality" option in runtime change path
10 janvier 2020, par Jun Zhaolavfi/spp : add "quality" option in runtime change path
it's stranage to use option "level" in runtime change path but used
"quality" in option, add "quality" in runtime change path, it's more
intuitive and keep the "level" for compatibility.Reviewe-by : Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by : Jun Zhao <barryjzhao@tencent.com> -
ffmpeg covert yuv to mp4 failed :"Invalid buffer size, packet size"
3 janvier 2020, par SeanHi I am trying to convert YUV video to a avi formt with the following command :
"ffmpeg -f rawvideo -vcodec rawvideo -s 512x512 -r 25 -pix_fmt yuv420p -i output3.yuv -c:v libx264 -preset ultrafast -qp 0 output.avi
"Then I got an error
[rawvideo @ 0x1c9e620] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from 'output3.yuv':
Duration: 00:00:01.72, start: 0.000000, bitrate: 79250 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 512x512, 78643 kb/s, 25 tbr, 25 tbn, 25 tbc
File 'output.avi' already exists. Overwrite ? [y/N] y
[libx264 @ 0x1ca93e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x1ca93e0] profile High 4:4:4 Predictive, level 3.0, 4:2:0 8-bit
Output #0, avi, to 'output.avi':
Metadata:
ISFT : Lavf56.40.101
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 512x512, q=-1--1, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc56.60.100 libx264
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[rawvideo @ 0x1ca7fa0] **Invalid buffer size, packet size 130560 < expected frame_size 393216**
**Error while decoding stream #0:0: Invalid argument**
frame= 43 fps=0.0 q=-1.0 Lsize= 8389kB time=00:00:01.72 bitrate=39954.8kbits/s<br />
video:8382kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.078511%Any help will be appreciated.
Thanks.
-
Ffmpeg live streaming to Youtube - "Connect streaming software to start preview"
10 septembre 2019, par Zoltan FedorI have an rtsp feed (H.265) which I am trying to stream to YouTube Live, but whatever I do YouTube Studio just showing the waiting icon with "Connect streaming software to start preview".
.sh file for streaming :
VBR="1000k"
FPS="30"
QUAL="ultrafast"
YOUTUBE_URL="rtmp://b.rtmp.youtube.com/live2"
SOURCE="rtsp://qhatever.org:8555/whatever.sdp"
KEY="xxxx-xxxx-xxxx-xxxx"
~/ffmpeg-git-20190905-amd64-static/ffmpeg \
-thread_queue_size 512 \
-rtsp_transport tcp -i "$SOURCE" \
-f lavfi -i anullsrc \
-vcodec libx264 -pix_fmt yuvj420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v 2250k -minrate $VBR -maxrate 6000k -bufsize 6000k -keyint_min 60 \
-acodec libmp3lame -ar 44100 -b:a 128k \
-f flv "$YOUTUBE_URL/$KEY"Ffmpeg’s output :
ffmpeg version N-49800-g2b66c757d6-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
libavutil 56. 35.100 / 56. 35.100
libavcodec 58. 56.101 / 58. 56.101
libavformat 58. 32.104 / 58. 32.104
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 58.102 / 7. 58.102
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, rtsp, from 'rtsp://whatever.org:8555/whatever.sdp':
Metadata:
title : streamed by the Rtsp Server
comment : RTSP_STREAM_0
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 30 fps, 30 tbr, 90k tbn, 30 tbc
Stream #0:1: Data: none
Input #1, lavfi, from 'anullsrc':
Duration: N/A, start: 0.000000, bitrate: 705 kb/s
Stream #1:0: Audio: pcm_u8, 44100 Hz, stereo, u8, 705 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264))
Stream #1:0 -> #0:1 (pcm_u8 (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
[hevc @ 0x5fbfd80] Could not find ref with POC 4
[libx264 @ 0x5fb9d80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x5fb9d80] profile Constrained Baseline, level 4.0, 4:2:0, 8-bit
[libx264 @ 0x5fb9d80] 264 - core 157 r2969 d4099dd - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=31 scenecut=0 intra_refresh=0 rc_lookahead=0 rc=abr mbtree=0 bitrate=2250 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=6000 vbv_bufsize=6000 nal_hrd=none filler=0 ip_ratio=1.40 aq=0
Output #0, flv, to 'rtmp://b.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx':
Metadata:
title : streamed by the Rtsp Server
comment : RTSP_STREAM_0
encoder : Lavf58.32.104
Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuvj420p(pc, progressive), 1920x1080, q=-1--1, 2250 kb/s, 30 fps, 1k tbn, 30 tbc
Metadata:
encoder : Lavc58.56.101 libx264
Side data:
cpb: bitrate max/min/avg: 6000000/0/2250000 buffer size: 6000000 vbv_delay: N/A
Stream #0:1: Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz, stereo, s16p, 128 kb/s
Metadata:
encoder : Lavc58.56.101 libmp3lame
frame= 522 fps=31 q=19.0 size= 8802Kb time=00:00:36:53 bitrate 2481.0kbits/s dup= drop=2 speed=1.01xBasically all looks good to me - still, in YouTube Studio only the waiting icon with the "Connect streaming software to start preview" message is visible, not video feed.
Any ideas ?