
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 (40)
-
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 (6333)
-
FFMPEG command for video based on ratio [duplicate]
21 novembre 2017, par pocekThis question already has an answer here :
I am using ffmpeg (in linux server with php)
and I want to watermark a
png
logo on themp4
file, my problem is thatI want to scale my
logo
and change it based on source video size(for example 1/4 of height),I have this code bellow :
shell_exec('ffmpeg -i file.mp4 -i logo.png -filter_complex "overlay=10:10" file-watered.mp4");
it works on every video.
For Normal (medium) size image :
For Small (medium) size image (which is bad !)
Ideal output for this size would be :
I’ve changed a little bit my first code like this :
shell_exec('ffmpeg -i file.mp4 -i logo.png -filter_complex "[0:v]scale=500:-1[bg];[bg][1:v]overlay=(main_w-overlay_w):(main_h-overlay_h)" watered.mp4');
The main problem is that, I want to change the logo size based on video size.
How can I do it with ffmpeg ?
-
Paperclip AV Transcoder not working on remote server
25 novembre 2017, par zreitanoI am able to upload videos locally. The videos are processed using paperclip and all the meta data is saved correctly, as well. When I tried to upload a video using our remote server, I received the error :
Av::UnableToDetect (Unable to detect any supported library)
I have installed
ffmpeg
using LinuxBrew. It says everything is installed correctly (checking which brew and whichffmpeg
, as well as checking if the gem is appropriately installed).When I have styling in my model for the video (which is what enables the meta information to be stored and to have control over how the video is uploaded) it doesn’t work remotely.
has_attached_file :video, path: "/posts/:id/:style.:extension",
:styles => {
:medium => { :geometry => "493x877", :format => 'flv' },
:thumb => { :geometry => "100x100#", :format => 'jpg', :time => 10 },
# :mobile => {:geometry => "640X480", :format => 'mp4', :streaming => true}
}, :processors => [:transcoder]However, when I remove this from my model and have :
has_attached_file :video, path: "/posts/:id/:style.:extension"
The video is uploaded to S3 (without the data or styling that I need).
Any help would be greatly appreciated. I think AV is having trouble finding ffmpeg but I am not sure why or how to go about fixing it. Thanks in advance for any advice.
-
ffmpeg video will not play in browser
27 janvier 2018, par RedI’m trying to create a simple video with an image and some audio using this command :
ffmpeg -loop 1 -framerate 2 -i image.jpg -i audio.mp3 -c:v libx264 -c:a aac -strict -2 -preset medium -tune stillimage -crf 0 -shortest -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -pix_fmt yuv420p -movflags +faststart output.mp4
But the resulting video will not play in latest firefox, though it will play in chrome 63.
ffmpeg stats :
ffmpeg version 3.4.1-1+b1 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7 (Debian 7.2.0-18)
configuration: --prefix=/usr --extra-version=1+b1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
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
Hyper fast Audio and Video encoderAny ideas ?