
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (42)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (6218)
-
Is it possible to vertically rotate a showwaves (or showfreqs) overlay using ffmpeg ?
5 février 2019, par IntrospectreI wish to take a
showwaves
(orshowfreqs
) overlay and center it vertically using ffmpeg, e.g.ffmpeg -i input.mp3 -filter_complex "[0:a]showspectrum=color=fiery:saturation=2:slide=scroll:scale=log:win_func=gauss:overlap=1:s=960x1080,pad=1920:1080[vs]; [0:a]showspectrum=color=fiery:saturation=2:slide=rscroll:scale=log:win_func=gauss:overlap=1:s=960x1080[ss]; [0:a]showwaves=s=1920x540:colors=B80000|950000|690000:mode=p2p,inflate[sw]; [vs][ss]overlay=w[out]; [out][sw]overlay=0:(H-h)/2[out]" -map "[out]" -map 0:a -c:v libx264 -preset fast -crf 18 -c:a copy output.mkv
As shown above, the
showwaves
output is centered horizontally. But would it also be possible to have it centered vertically ? Specifically, using a single-filter_complex
command argument ?I’ve looked through the ffmpeg manual and searched stackoverflow for an answer, but to no avail.
-
ffmpeg unrecognized file type
1er février 2019, par user892134I’m using Mac OS and ffmpeg. I’m attempting to convert mp3 to mp4 with image background and overlay audio visualization.
The below works when converting mp3 to mp4 with image :$mp3 = "/Users/vanessa/Downloads/test/Marco.mp3";
$image = "/Users/vanessa/Downloads/test/maxresdefault.jpg";
$video = "/Users/vanessa/Downloads/test/videos/test2.mp4";
exec("/usr/local/Cellar/ffmpeg/4.1_3/bin/ffmpeg -loop 1 -i $image -i $mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest $video 2>&1",$output);I can successfully play test2.mp4. When i attempt to do add an overlay of audio visualization. I can see in get info how it looks in the preview section but when i click on the file it says : File open error:Unrecognized file type
exec("/usr/local/Cellar/ffmpeg/4.1_3/bin/ffmpeg -y -i $mp3 -loop 1 -i $image -filter_complex '[0:a]showwaves=s=1280x175:colors=White:mode=line,format=yuv420p[v];[1:v][v]overlay=0:200[outv]' -map '[outv]' -pix_fmt yuv420p -map 0:a -c:v libx264 -c:a copy -shortest $video 2>&1",$output);
Where did i go wrong ? The player i’m using is Quicktime.
-
ffmpeg not generating palettes
2 décembre 2018, par sk84zI downloaded ffmpeg and ran the command found in the documentation to generate palettes :
ffmpeg -i input.mkv -vf palettegen palette.png
The only difference being my input was
input.mp4
instead ofinput.mkv
.No file gets generated. Here’s the console output from PowerShell :
ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --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-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp41isom
creation_time : 2018-11-23T23:27:38.000000Z
Duration: 00:00:09.98, start: 0.000000, bitrate: 2784 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 580x328 [SAR 1:1 DAR 145:82], 2699 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
Metadata:
creation_time : 2018-11-23T23:27:38.000000Z
handler_name : VideoHandler
encoder : AVC Coding
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 79 kb/s (default)
Metadata:
creation_time : 2018-11-23T23:27:38.000000Z
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> png (native))
Press [q] to stop, [?] for help
Output #0, image2, to 'palette.png':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp41isom
encoder : Lavf57.83.100
Stream #0:0(und): Video: png, rgba, 16x16 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc (default)
Metadata:
creation_time : 2018-11-23T23:27:38.000000Z
handler_name : VideoHandler
encoder : Lavc57.107.100 png
[Parsed_palettegen_0 @ 00000296510def00] 255(+1) colors generated out of 285516 colors; ratio=0.000893
[Parsed_palettegen_0 @ 00000296510def00] Dupped color: FF000001Any ideas ?