
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (95)
-
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 ) (...) -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...)
Sur d’autres sites (7413)
-
macOS compile FFMpeg as static standalone binary
27 octobre 2019, par ColdSteelI am trying to compile ffmpeg for macOS (from macOS) as static binary for several days with no luck.
Here is a script I am running to compile the FFmpeg binarycd /Users/$USER/ffmpeg/macOSBuild
basePath=/macOSdependencies/DependenciesOutput
export LD_LIBRARY_PATH="/Users/romanlevin/ffmpeg/macOSdependencies/DependenciesOutputbasePath/SDL2/lib/“
../configure --disable-autodetect --pkg-config-flags="--static" --extra-cflags="-I$basePath/SDL2/include/" --extra-ldflags="-L/Users/romanlevin/ffmpeg/macOSdependencies/DependenciesOutput/SDL2/lib/" --prefix=/usr/local --enable-gpl --enable-version3 --enable-sdl2 --enable-static --disable-shared
make clean
make -j8However it is always linking SDL2 as dynamic lib.
Please note I have compiled the SDL2 by myself and put it in the directory I am trying to add to ld
However I also have SDL2 installed with brew, but I don’t want to use it.
I want Ffmpeg to pick compiled SDL2.It does looking for my Compiled library but only asdylib in a hardcoded path - which means I can’t get a portable binaries :(.
Could some1 open my eyes on what am I doing wrong please ?
-
ffmpeg-python error, cannot load mp4 encoder
19 août 2020, par tristan_jiaThis error came when I just try a simple demo from the page of ffmpeg-python :


import ffmpeg
stream = ffmpeg.input('human_face.mp4')
stream = ffmpeg.hflip(stream)
stream = ffmpeg.output(stream, 'new_human_face.mp4')
ffmpeg.run(stream)



And the output goes like :


...
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'human_face.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2mp41
 encoder : Lavf58.49.100
 Duration: 00:00:12.45, start: 0.000000, bitrate: 742 kb/s
 Stream #0:0(und): Video: mpeg4 (mp4v / 0x7634706D), none, 256x256, 741 kb/s, 20 fps, 20 tbr, 10240 tbn, 10240 tbc (default)
 Metadata:
 handler_name : VideoHandler
Automatic encoder selection failed for output stream #0:0. Default encoder for format mp4 (codec mpeg4) is probably disabled or this build of ffmpeg does not include that codec. Please choose an encoder manually.
Error selecting an encoder for stream 0:0
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/home/tristan_jia/workspace/py3.6/venv/lib/python3.6/site-packages/ffmpeg/_run.py", line 325, in run
 raise Error('ffmpeg', out, err)
</module></stdin>


I think the most important log is :"Automatic encoder selection failed for output stream #0:0. Default encoder for format mp4 (codec mpeg4) is probably disabled or this build of ffmpeg does not include that codec. Please choose an encoder manually."


I've reinstalled the ffmpeg package but the error remains.



Appended 1 :
Thanks for the comment from @HernánAlarcón :


- 

- the version is 3.4.4.
- the output of
ffmpeg -encoders
is :






(venv) tristan_jia@linux-ftbv:~/.../data> ffmpeg -encoders
ffmpeg version 3.4.4 Copyright (c) 2000-2018 the FFmpeg developers
 built with gcc 7 (SUSE Linux)
 configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --disable-openssl --enable-avresample --enable-libcdio --enable-gnutls --enable-ladspa --disable-cuda --disable-cuvid --enable-libass --enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzimg --enable-libzvbi --enable-vaapi --enable-vdpau --enable-muxers --enable-demuxers --disable-encoders --disable-decoders --disable-decoder='mpeg4,h263,h264,hevc,vc1' --enable-encoder='apng,ass,ayuv,bmp,ffv1,ffvhuff,flac,gif,huffyuv,jpegls,libgsm,libmp3lame,libopenjpeg,libopus,libschroedinger,libspeex,libtheora,libtwolame,libvorbis,libvpx_vp8,libvpx_vp9,libwebp,libwebp_anim,mjpeg,mp2,mp2fixed,opus,pam,pbm,pcm_alaw,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,png,ppm,sgi,srt,ssa,sunrast,targa,text,tiff,v210,v308,v408,v410,vorbis,xbm,xwd,y41p,yuv4,zlib,' --enable-decoder='ac3,ansi,apng,ass,ayuv,bmp,dirac,exr,ffv1,ffvhuff,ffwavesynth,flac,gif,gsm,huffyuv,libcelt,libgsm,libopenjpeg,libopus,libschroedinger,libspeex,libvorbis,libvpx_vp8,libvpx_vp9,mjpeg,mpeg1video,mpeg2video,,mp1,mp1float,mp2,mp2float,mp3,mp3float,opus,pam,pbm,pcm_alaw,pcm_bluray,pcm_dvd,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,pgssub,png,ppm,rawvideo,sgi,srt,ssa,sunrast,targa,text,theora,tiff,v210,v210x,v308,v408,v410,vorbis,vp3,vp5,vp6,vp6a,vp6f,vp8,vp9,webp,xbm,xwd,y41p,yuv4,zlib,'
 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
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
Encoders:
 V..... = Video
 A..... = Audio
 S..... = Subtitle
 .F.... = Frame-level multithreading
 ..S... = Slice-level multithreading
 ...X.. = Codec is experimental
 ....B. = Supports draw_horiz_band
 .....D = Supports direct rendering method 1
 ------
 V..... apng APNG (Animated Portable Network Graphics) image
 V..... ayuv Uncompressed packed MS 4:4:4:4
 V..... bmp BMP (Windows and OS/2 bitmap)
 V.S... ffv1 FFmpeg video codec #1
 VF.... ffvhuff Huffyuv FFmpeg variant
 V..... gif GIF (Graphics Interchange Format)
 VF.... huffyuv Huffyuv / HuffYUV
 VF.... libopenjpeg OpenJPEG JPEG 2000 (codec jpeg2000)
 VF.... jpegls JPEG-LS
 VFS... mjpeg MJPEG (Motion JPEG)
 V..... pam PAM (Portable AnyMap) image
 V..... pbm PBM (Portable BitMap) image
 V..... pcx PC Paintbrush PCX image
 V..... pgm PGM (Portable GrayMap) image
 V..... pgmyuv PGMYUV (Portable GrayMap YUV) image
 VF.... png PNG (Portable Network Graphics) image
 V..... ppm PPM (Portable PixelMap) image
 V..... sgi SGI image
 V..... sunrast Sun Rasterfile image
 V..... targa Truevision Targa image
 V..... libtheora libtheora Theora (codec theora)
 VF.... tiff TIFF image
 V..... v210 Uncompressed 4:2:2 10-bit
 V..... v308 Uncompressed packed 4:4:4
 V..... v408 Uncompressed packed QT 4:4:4:4
 V..... v410 Uncompressed 4:4:4 10-bit
 V..... libvpx libvpx VP8 (codec vp8)
 V..... libvpx-vp9 libvpx VP9 (codec vp9)
 V..... libwebp_anim libwebp WebP image (codec webp)
 V..... libwebp libwebp WebP image (codec webp)
 V..... xbm XBM (X BitMap) image
 V..... xwd XWD (X Window Dump) image
 V..... y41p Uncompressed YUV 4:1:1 12-bit
 V..... yuv4 Uncompressed packed 4:2:0
 VF.... zlib LCL (LossLess Codec Library) ZLIB
 A..... flac FLAC (Free Lossless Audio Codec)
 A..... libgsm libgsm GSM (codec gsm)
 A..... mp2 MP2 (MPEG audio layer 2)
 A..... mp2fixed MP2 fixed point (MPEG audio layer 2) (codec mp2)
 A..... libtwolame libtwolame MP2 (MPEG audio layer 2) (codec mp2)
 A..... libmp3lame libmp3lame MP3 (MPEG audio layer 3) (codec mp3)
 A..X.. opus Opus
 A..... libopus libopus Opus (codec opus)
 A..... pcm_alaw PCM A-law / G.711 A-law
 A..... pcm_f32be PCM 32-bit floating point big-endian
 A..... pcm_f32le PCM 32-bit floating point little-endian
 A..... pcm_f64be PCM 64-bit floating point big-endian
 A..... pcm_f64le PCM 64-bit floating point little-endian
 A..... pcm_mulaw PCM mu-law / G.711 mu-law
 A..... pcm_s16be PCM signed 16-bit big-endian
 A..... pcm_s16be_planar PCM signed 16-bit big-endian planar
 A..... pcm_s16le PCM signed 16-bit little-endian
 A..... pcm_s16le_planar PCM signed 16-bit little-endian planar
 A..... pcm_s24be PCM signed 24-bit big-endian
 A..... pcm_s24le PCM signed 24-bit little-endian
 A..... pcm_s24le_planar PCM signed 24-bit little-endian planar
 A..... pcm_s32be PCM signed 32-bit big-endian
 A..... pcm_s32le PCM signed 32-bit little-endian
 A..... pcm_s32le_planar PCM signed 32-bit little-endian planar
 A..... pcm_s8 PCM signed 8-bit
 A..... pcm_s8_planar PCM signed 8-bit planar
 A..... pcm_u16be PCM unsigned 16-bit big-endian
 A..... pcm_u16le PCM unsigned 16-bit little-endian
 A..... pcm_u24be PCM unsigned 24-bit big-endian
 A..... pcm_u24le PCM unsigned 24-bit little-endian
 A..... pcm_u32be PCM unsigned 32-bit big-endian
 A..... pcm_u32le PCM unsigned 32-bit little-endian
 A..... pcm_u8 PCM unsigned 8-bit
 A..... libspeex libspeex Speex (codec speex)
 A..X.. vorbis Vorbis
 A..... libvorbis libvorbis (codec vorbis)
 S..... ssa ASS (Advanced SubStation Alpha) subtitle (codec ass)
 S..... ass ASS (Advanced SubStation Alpha) subtitle
 S..... srt SubRip subtitle (codec subrip)
 S..... text Raw text subtitle
'''



-
Use animation.save with ffmpeg writer within a Python package
16 janvier 2021, par Logan YangI'm writing a Python package that produces some animated plots. I can successfully use
matplotlib.animation.save
to save gifs as such :

anim.save(f"./{file}", writer="imagemagick", fps=15)



But if I try to save it to
mp4
like this, it doesn't work because I guess it can't find ffmpeg on my system (MacOS)

anim.save(f"./{file}",writer=FFMpegWriter(fps=15))



Error :


MovieWriter stderr:
dyld: Library not loaded: /usr/local/opt/x265/lib/libx265.165.dylib
 Referenced from: /usr/local/bin/ffmpeg
 Reason: image not found
...



My intention is to make it platform agnostic, since it's a Python package I'm writing, I would like it to be portable so that the user can use it out-of-the-box with
pip install
. Since gif is already working withimagemagick
, I'm not sure how to make it work for ffmpeg writer.

I tried pip install ffmpeg in my project but that didn't work. Any suggestion is appreciated !