Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (74)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (16162)
-
ffmpeg /dev/video1 : No space left on device
4 avril 2017, par chaitanya kiranWhile converting and redirecting USB camera stream to a multicast ip I’m facing below error.
ffmpeg -f v4l2 -i /dev/video1 -s 720x480 -pix_fmt yuv420p -c:v mpeg2video -aspect 4:3 -r 30 -g 15 -ar 0 -streamid 0:48 -bf 2 -b:v 100k -bufsize 400k -maxrate 3825k -f rtp_mpegts rtp ://239.0.2.2:5001
ffmpeg version 3.2.4-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 5.4.1 (Debian 5.4.1-5) 20170205
configuration : —enable-gpl —enable-version3 —enable-static —disable-debug —disable-ffplay —disable-indev=sndio —disable-outdev=sndio —cc=gcc-5 —enable-fontconfig —enable-frei0r —enable-gnutls —enable-gray —enable-libass —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-librtmp —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libvidstab —enable-libvo-amrwbenc —enable-libvorbis —enable-libvpx —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxvid —enable-libzimg
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100[video4linux2,v4l2 @ 0xb982f80] ioctl(VIDIOC_STREAMON) : No space left on device
/dev/video1 : No space left on deviceBelow are top and free -m command outputs
top
top - 20:10:13 up 16 min, 4 users, load average : 0.49, 0.37, 0.28
Tasks : 257 total, 1 running, 256 sleeping, 0 stopped, 0 zombie
%Cpu(s) : 3.4 us, 0.2 sy, 0.0 ni, 95.9 id, 0.5 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 13457292 total, 12299768 free, 650672 used, 506852 buff/cache
KiB Swap : 3670012 total, 3670012 free, 0 used. 12710776 avail MemPID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4095 root 20 0 333376 153296 138660 S 25.9 1.1 1:09.41 ffmpeg
1551 root 20 0 84804 40076 17756 S 0.7 0.3 0:24.00 Xorg.bin
2574 user 20 0 66900 27436 21268 S 0.7 0.2 0:11.30 gnome-terminal-
4373 root 20 0 7800 3852 3196 R 0.7 0.0 0:00.03 top
610 root 20 0 0 0 0 S 0.3 0.0 0:00.03 kworker/4:2
3762 user 20 0 816928 217120 75100 S 0.3 1.6 0:56.34 firefox
4240 root 20 0 0 0 0 S 0.3 0.0 0:02.24 kworker/0:2
1 root 20 0 27464 7508 5044 S 0.0 0.1 0:01.95 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
7 root 20 0 0 0 0 S 0.0 0.0 0:01.29 rcu_schedfree -m
total used free shared buff/cache availableMem : 13141 621 12025 2 495 12426
Swap : 3583 0 3583cat /proc/meminfo |grep -i vmalloc
VmallocTotal : 524288 kB
VmallocUsed : 204736 kB
VmallocChunk : 316560 kBP.S: : There is already an instance of ffmpeg running on the machine on /dev/video0.
Any help in resolving issue would be greatly appreciated
-
How to load font in ffmpeg through google font [duplicate]
21 octobre 2020, par Konduri Sai Adityahow to load font file in FFmpeg through web google font ?. I tried to use google font in the cmd, but it seems telling that no web font found. can anyone tell me whether we can load font through google font URL


ffmpeg -i test.png -i sample1.mp4 -y -filter_complex "[1:v]scale=1230:692[scale1];[scale1]rotate=0:c=black@0:ow=rotw(0):oh=roth(0)[rotate0];[0:v][rotate0]overlay=333.61:172.85[mediaoverlayout0];color=black@0:959x137[c1];[c1]setsar=1,drawtext=fontfile='http://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-U1UpcaXcl0Aw.ttf':text='Double click to edit':fontsize=121.19999999999999:fontcolor=#1e8bc3:line_spacing=16.916000000000007,rotate=0:ow=rotw(0):oh=roth(0):c=black@0[rottext1];[mediaoverlayout0][rottext1]overlay=x=207.52:y=271.076:shortest=1" -pix_fmt yuv420p -t 10 ok1.mp4 


Below are logs


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=sndi
o --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray --enable-libaom --enable-libfribidi --enable-lib
ass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --e
nable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-l
ibvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzvbi --enable
-libzimg
 libavutil 56. 22.100 / 56. 22.100
 libavcodec 58. 35.100 / 58. 35.100
 libavformat 58. 20.100 / 58. 20.100
 libavdevice 58. 5.100 / 58. 5.100
 libavfilter 7. 40.101 / 7. 40.101
 libswscale 5. 3.100 / 5. 3.100
 libswresample 3. 3.100 / 3. 3.100
 libpostproc 55. 3.100 / 55. 3.100
Input #0, png_pipe, from 'storage/test.png':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: png, 1 reference frame, rgba(pc), 1920x1080, 25 tbr, 25 tbn, 25 tbc
[h264 @ 0x59749c0] Reinit context to 1920x1088, pix_fmt: yuv420p
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'storage/sample1.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.17.101
 Duration: 00:00:08.12, start: 0.000000, bitrate: 820 kb/s
 Stream #1:0(und): Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 1920x1080 (1920x1088), 578 kb/s, 25 fps, 25 
tbr, 12800 tbn, 50 tbc (default)
 Metadata:
 handler_name : VideoHandler
 Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
 Metadata:
 handler_name : #Mainconcept MP4 Sound Media Handler
-y: No such file or directory
[AVIOContext @ 0x597a480] Statistics: 10601 bytes read, 0 seeks
[AVIOContext @ 0x597a040] Statistics: 156922 bytes read, 2 seeks


-
Encoding WEBM to MP4 in NodeJS fails with too many packets buffered for output stream
27 novembre 2019, par IgniterI’m encoding short WEBM clips in NodeJS on GCP using fluent-ffmpeg :
ffmpeg(`/tmp/${id}/clip.webm`)
.renice(5)
.outputOptions([
'-c:v libx264',
'-c:a aac',
'-pix_fmt yuv420p',
'-profile:v main',
'-level 3.1',
'-movflags +faststart',
'-max_muxing_queue_size 9999',
'-af "aresample=async=1:min_hard_comp=0.100000:first_pts=0"'
])
.on('end', () => {})
.on('error', (error, stdout, stderr) => console.log(stderr))
.save(`/tmp/${id}/clip.mp4`);This command works great for first 20-25 clips, but then it fails converting all consequent clips :
STDERR output
ffmpeg version N-47683-g0e8eb07980-static https://johnvansickle.com/ffmpeg/
Copyright (c) 2000-2018 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-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-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg\n libavutil 56. 24.101 / 56. 24.101\n libavcodec 58. 42.100 / 58. 42.100\n libavformat 58. 24.100 / 58. 24.100\n libavdevice 58. 6.101 / 58. 6.101\n libavfilter 7. 46.101 / 7. 46.101\n libswscale 5. 4.100 / 5. 4.100\n libswresample 3. 4.100 / 3. 4.100\n libpostproc 55. 4.100 / 55. 4.100
Input #0, matroska,webm, from '/tmp/LbRMfZQWkZkAjShuLXcn/clip.webm':
Metadata:
Encoder : Chrome
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
Stream #0:1(eng): Video: h264 (Constrained Baseline), yuv420p(progressive), 1366x768, SAR 1:1 DAR 683:384, 30.30 fps, 16.58 tbr, 1k tbn, 60 tbc (default)
Stream mapping:
Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:0 -> #0:1 (opus (native) -> aac (native))
Press [q] to stop, [?] for help
Too many packets buffered for output stream 0:1.
[aac @ 0x66ceec0] Qavg: 31427.693
[aac @ 0x66ceec0] 2 frames left in the queue on closing
Conversion failed!All clips are quite small, around 3-5 Mb each, so GCP temp folder size shouldn’t be the case
I used-max_muxing_queue_size 9999trying to solve it, but the problem persists
Closer to the last of 20-25 clips FPS drops dramatically from normal to 3-5 FPSAlso in all cases audio starts with 3-4 sec delay for some reason :
-af "aresample=async=1:min_hard_comp=0.100000:first_pts=0"didn’t solve itAny suggestions would be greatly appreciated !