
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (24)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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" ;
Sur d’autres sites (5623)
-
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.
-
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) -
Banding/ Trailing while resizing GIF with transparency using FFMPEG
30 septembre 2019, par Arpit KumarI am trying to resize a gif using ffmpeg. link here
This is the command for resizing GIF
ffmpeg -i default.gif -filter_complex "[0:v] scale=320:-1:flags=lanczos,split [a][b]; [a] palettegen=reserve_transparent=on:transparency_color=ffffff [p]; [b][p] paletteuse" resize.gif
The problem is with the output. The output GIF has huge "banding/ trailing" effect
Sample output of the file is here Output here
I am not sure what is it that I am doing wrong and how can I fix this banding/ trailing effect.
I am using FFMPEG on macOS Mojave, ffmpeg version is 4.1.1. Below is the output of the command
ffmpeg version 4.1.1 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
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
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Input #0, gif, from 'ear_s_01.gif':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: gif, bgra, 640x480, 12.50 fps, 12.50 tbr, 100 tbn, 100 tbc
Stream mapping:
Stream #0:0 (gif) -> scale
paletteuse -> Stream #0:0 (gif)
Press [q] to stop, [?] for help
Output #0, gif, to 'resize.gif':
Metadata:
encoder : Lavf58.20.100
Stream #0:0: Video: gif, pal8, 320x240, q=2-31, 200 kb/s, 12.50 fps, 100 tbn, 12.50 tbc
Metadata:
encoder : Lavc58.35.100 gif
[Parsed_palettegen_2 @ 0x7f7f19001180] 255(+1) colors generated out of 91324 colors; ratio=0.002792
[Parsed_palettegen_2 @ 0x7f7f19001180] Dupped color: FF100C0A
frame= 37 fps=0.0 q=-0.0 Lsize= 453kB time=00:00:02.89 bitrate=1283.8kbits/s speed=7.33x
video:452kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.237091%