
Recherche avancée
Autres articles (86)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (13586)
-
Scroll one image top to bottom
17 septembre 2018, par CyberI am trying to scroll an image top to bottom like this video :
https://youtu.be/8GCrrsiBLzsAnd here’s what I tried
ffmpeg -loop 1 -t 24 -i "image.jpg" -filter_complex "color=000000:s=640x360[bg]; [bg][0]overlay=shortest=1:y='min(0,-(t)*26)'" -y out6.mp4
But video didn’t created, ffmpeg close immediately and returns following results :
ffmpeg version N-91960-g63c69d51c7 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 8.2.1 (GCC) 20180813
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
libavutil 56. 19.101 / 56. 19.101
libavcodec 58. 30.100 / 58. 30.100
libavformat 58. 18.101 / 58. 18.101
libavdevice 58. 4.103 / 58. 4.103
libavfilter 7. 31.100 / 7. 31.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
libpostproc 55. 2.100 / 55. 2.100
Input #0, image2, from 'image.jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: 134122 kb/s
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x1920 [SAR 96:96 DAR 2:3], 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 (mjpeg) -> overlay:overlay
overlay -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
[swscaler @ 000001a855f90100] deprecated pixel format used, make sure you did set range correctly
[libx264 @ 000001a856483200] using SAR=1/1
[libx264 @ 000001a856483200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001a856483200] profile High, level 3.0, 4:2:0, 8-bit
[libx264 @ 000001a856483200] 264 - core 157 r2932 303c484 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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=11 lookahead_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=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 'out6.mp4':
Metadata:
encoder : Lavf58.18.101
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
Metadata:
encoder : Lavc58.30.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 -
FFMPEG libfdk_aac codec with VBR option not supported
25 septembre 2018, par PiriI’m trying to makes an app that uses terminal ffmpeg with libfdk_aac codec.
The problem is when I use -VBR mode, the result Bit rate mode is always Constant(CBR).I’ve searched about this problem and I’ve found the following article :
https://lists.ffmpeg.org/pipermail/ffmpeg-user/2013-February/013652.html
this article is from 2013 and seems is still valid !Also i am not the only one with this problem
https://superuser.com/questions/1326239/encoding-aac-from-wav?rq=1My terminal string is :
ffmpeg -i input* -c:a libfdk_aac -vbr 4 output**
- *- input formats can be : FLAC, WEBM, MP4
- **- output formats can be : M4A, AAC
Question is : Can this be solved with the current version of ffmpeg :
ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-16ubuntu3) ??
if not, is using directly fdkaac from terminal the only option ?Any Help is much appreciated.
-
Streaming by ffserver and ffmpeg on RaspberryPi
15 septembre 2018, par saitoibI want to ditribute the video of the UVC Camera on Rpsberry Pi
I edited /etc/ffserver.conf as follows.HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 20
MaxClients 10
MaxBandwidth 500000
CustomLog -
<feed>
File /tmp/feed1.ffm
FileMaxSize 50M
</feed>
<stream>
Format status
ACL allow 192.168.12.0 192.168.12.255
</stream>
<stream>
Feed feed1.ffm
Format mpeg
VideoSize hd720
VideoFrameRate 15
VideoBitRate 4096
VideoBufferSize 4096
VideoQMin 5
VideoQMax 51
Strict -1
</stream>Then, I started ffserver
Next, I executed the following commandffmpeg -f v4l2 -s 1280x720 -i /dev/video0 -ac 1 -f alsa -i hw:1,0 http://localhost:8090/feed1.ffm
I requested 192.168.12.101 : 8090 / test.mpeg from FireFox on the same network,
but no video is displayed and a program to open or a file save dialog opens.What should I do ?
Execution result of Raspberry Pi
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 519134.790720, bitrate: 147456 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1280x720, 147456 kb/s, 10 fps, 10 tbr, 1000k tbn, 1000k tbc
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, alsa, from 'hw:1,0':
Duration: N/A, start: 1536994777.250578, bitrate: 768 kb/s
Stream #1:0: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
[tcp @ 0x23ec7f0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
Sat Sep 15 15:59:37 2018 [ffm @ 0xf10e40]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Sat Sep 15 15:59:37 2018 [ffm @ 0xf10e40]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Sat Sep 15 15:59:37 2018 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175
[tcp @ 0x2401d50] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
Metadata:
creation_time : now
encoder : Lavf57.56.101
Stream #0:0: Audio: mp2, 22050 Hz, mono, s16, 64 kb/s
Metadata:
encoder : Lavc57.64.101 mp2
Stream #0:1: Video: mpeg1video, yuv420p, 1280x720, q=5-51, 4096 kb/s, 10 fps, 1000k tbn, 15 tbc
Metadata:
encoder : Lavc57.64.101 mpeg1video
Side data:
cpb: bitrate max/min/avg: 8192000/0/4096000 buffer size: 33554432 vbv_delay: -1
Stream mapping:
Stream #1:0 -> #0:0 (pcm_s16le (native) -> mp2 (native))
Stream #0:0 -> #0:1 (rawvideo (native) -> mpeg1video (native))
Press [q] to stop, [?] for help
[alsa @ 0x23ebee0] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
[alsa @ 0x23ebee0] ALSA buffer xrun. 48kB time=00:00:00.13 bitrate=2949.1kbits/s dup=3 drop=0 speed=0.251x
[video4linux2,v4l2 @ 0x23ea230] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
[alsa @ 0x23ebee0] ALSA buffer xrun.276kB time=00:00:02.40 bitrate= 942.1kbits/s dup=30 drop=0 speed=0.201x
Sat Sep 15 15:59:55 2018 [mpeg @ 0xf136d0]VBV buffer size not set, using default size of 130KB speed=0.844x
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
frame= 107 fps=3.1 q=2.0 Lsize= 856kB time=00:00:14.06 bitrate= 498.6kbits/s dup=80 drop=0 speed=0.413x
video:844kB audio:2kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.120285%
Sat Sep 15 16:00:11 2018 127.0.0.1 - - [POST] "/feed1.ffm HTTP/1.1" 200 876544
Sat Sep 15 16:00:11 2018 [mpeg @ 0xf136d0]buffer underflow st=0 bufi=0 size=418
Sat Sep 15 16:00:11 2018 192.168.12.150 - - [GET] "/test.mpeg HTTP/1.1" 200 29263
Exiting normally, received signal 2.Result of 192.168.12.101:8090
ffserver Status
Available Streams
Path Served
Conns
bytes Format Bit rate
kbit/s Video
kbit/s
Codec Audio
kbit/s
Codec Feed
index.html 1 0 - - - -
test.mpeg 0 0 mpeg 4160 4096 mpeg1video 64 mp2 feed1.ffm
Feed feed1.ffm
Stream type kbit/s codec Parameters
0 audio 64 mp2 1 channel(s), 22050 Hz
1 video 4096 mpeg1video 1280x720, q=5-51, fps=15
Connection Status
Number of connections: 1 / 10
Bandwidth in use: 0k / 10000k
# File IP Proto State Target bit/s Actual bit/s Bytes transferred
1 index.html 192.168.12.150 HTTP/1.1 HTTP_WAIT_REQUEST 0 0 0