
Recherche avancée
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 ) (...) -
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 (7125)
-
Music discord js bot issue
12 mars 2019, par Eric SimDoes anyone know how I would go about resolving this error ?
My Discord.JS music bot would just simply crashes when trying to play some old songs. The Discord.JS bot is currently being hosted on herokuapp.
19-03-12T15:08:08.576483+00:00 app[worker.1]: /app/node_modules/ytdl-core-discord/node_modules/prism-media/src/core/FFmpeg.js:41
2019-03-12T15:08:08.576496+00:00 app[worker.1]: this._readableState = this._reader._readableState;
2019-03-12T15:08:08.576499+00:00 app[worker.1]: ^
2019-03-12T15:08:08.576501+00:00 app[worker.1]:
2019-03-12T15:08:08.576502+00:00 app[worker.1]: TypeError: Cannot read property '_readableState' of undefined
2019-03-12T15:08:08.576504+00:00 app[worker.1]: at new FFmpeg (/app/node_modules/ytdl-core-discord/node_modules/prism-media/src/core/FFmpeg.js:41:40)
2019-03-12T15:08:08.576506+00:00 app[worker.1]: at ytdl.getInfo (/app/node_modules/ytdl-core-discord/index.js:23:24)
2019-03-12T15:08:08.576508+00:00 app[worker.1]: at fn (/app/node_modules/ytdl-core/lib/info.js:365:9)
2019-03-12T15:08:08.576510+00:00 app[worker.1]: at util.parallel (/app/node_modules/ytdl-core/lib/info.js:232:11)
2019-03-12T15:08:08.576511+00:00 app[worker.1]: at checkDone (/app/node_modules/ytdl-core/lib/util.js:405:7)
2019-03-12T15:08:08.576513+00:00 app[worker.1]: at SAXParser.parser.onend (/app/node_modules/ytdl-core/lib/info.js:288:26)
2019-03-12T15:08:08.576515+00:00 app[worker.1]: at emit (/app/node_modules/sax/lib/sax.js:624:35)
2019-03-12T15:08:08.576517+00:00 app[worker.1]: at end (/app/node_modules/sax/lib/sax.js:667:5)
2019-03-12T15:08:08.576519+00:00 app[worker.1]: at SAXParser.write (/app/node_modules/sax/lib/sax.js:975:14)
2019-03-12T15:08:08.576520+00:00 app[worker.1]: at SAXParser.close (/app/node_modules/sax/lib/sax.js:157:38) -
FFMPEG video merging. Only first video shows
13 mars 2019, par James AshworthI’m trying to put 7 second intro video before another one, but I keep having trouble with it. I don’t need to do anything else then add intros to videos.
This is what I’m currently getting.
(for %i in (*.mp4) do @echo file '%i') > mylist.txt
ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4
C:\Users\Business>cd desktop
C:\Users\Business\Desktop>cd testfile
C:\Users\Business\Desktop\Testfile>(for %i in (*.mp4) do @echo file '%i') > mylist.txt
C:\Users\Business\Desktop\Testfile>
C:\Users\Business\Desktop\Testfile>(for %i in (*.mp4) do @echo file '%i') > mylist.txt
C:\Users\Business\Desktop\Testfile>ffmpeg -f concat -i mylist.txt -c copy output.mp4
ffmpeg version N-93308-g1144d5c96d Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8.2.1 (GCC) 20190212
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --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 --enable-libopenmpt
libavutil 56. 26.100 / 56. 26.100
libavcodec 58. 47.103 / 58. 47.103
libavformat 58. 26.101 / 58. 26.101
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 48.100 / 7. 48.100
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000261c7072c00] Auto-inserting h264_mp4toannexb bitstream filter
Input #0, concat, from 'mylist.txt':
Duration: N/A, start: -0.042667, bitrate: 2453 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 2325 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
handler_name : SoundHandler
Output #0, mp4, to 'output.mp4':
Metadata:
encoder : Lavf58.26.101
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, q=2-31, 2325 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=110209 fps=3246 q=-1.0 Lsize= 1103461kB time=01:01:17.41 bitrate=2458.1kbits/s speed= 108x
video:1042171kB audio:57353kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.358030%
C:\Users\Business\Desktop\Testfile>It shows the 7 second video as the whole video. Someway i got it to change after 7 seconds, but then the rest of the video was really buddy.
-
ffmpeg, /dev/video0, -f decklink
20 mars 2019, par Camille GoudeseuneI’m trying to capture video from a PCI card, the Blackmagic DeckLink Mini Recorder, via ffmpeg, on a headless host running Ubuntu 18.04.2 LTS, hopefully with a command like
ffmpeg -f decklink -i /dev/video0 ...
How can I make that work ? I have two obstacles.
No /dev/video0
ffmpeg -i /dev/video0 ...
fails :/dev/video0: No such device or address
.
v4l2-ctl --list-devices
fails with the same error message.I built /dev/video0, and it looks okay :
mknod /dev/video0 c 81 0
chown root.video /dev/video0
chmod g+rw /dev/video0To compare this file with a working one, I ran
strace cat /dev/video0
on this host, and on another host (Ubuntu 14) with a working /dev/video0. The outputs began to differ here (good, then bad) :fstat(1, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("/dev/video0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFCHR|0660, st_rdev=makedev(81, 0), ...}) = 0
fadvise64(3, 0, 0, POSIX_FADV_SEQUENTIAL) = 0
----
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
openat(AT_FDCWD, "/dev/video0", O_RDONLY) = -1 ENXIO (No such device or address)So /dev/video0 is broken at a level lower than ffmpeg or v4l2 or even cat.
On Ubuntu 14,
man 8 MAKEDEV
suggests that the error message means that "the kernel does not have the driver configured or loaded."This Ubuntu 18 host lacks that manpage, but it does have a few
/snap/core/*/sbin/MAKEDEV
, all the same, so I tried/snap/core/6350/sbin/MAKEDEV -n -v video
It would have created over a hundred devices videoXX, radioXX, vtxXX, vbiXX. Those devices didn’t exist yet, so it seemed harmless to try it.
rm /dev/video0; /snap/core/6350/sbin/MAKEDEV video
That rebuilt /dev/video0, but "No such device" remains, from cat or ffmpeg.
No decklink
ffmpeg -f decklink ...
fails withUnknown input format: 'decklink'
.Neither black nor deck nor link is mentioned by
ffmpeg -devices
(fbdev, lavfi, oss, v4l2) andffmpeg -formats
(about 350), either for Ubuntu’s own version 3.4.4-0ubuntu0.18.04.1, or for version N-93330-g7ff89574c7 compiled from source on 2019 Mar 13 :git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure --enable-nonfree --disable-doc --disable-w32threads --enable-pthreads(Although
./configure --help
mentions--enable-decklink
, using that yielded "ERROR : DeckLinkAPI.h not found."updatedb && locate DeckLinkAPI.h
finds no file with that name, either.)The DeckLink PCI card is recognized by
hwinfo
andlspci
.lsmod
reports the loaded modulesblackmagic
andblackmagic_io
.Maybe the PCI card is installed ok, but ffmpeg just can’t reach it because I can’t configure it for that.
Edit : Rebooting didn’t fix anything.