
Recherche avancée
Autres articles (61)
-
MediaSPIP : Modification des droits de création d’objets et de publication définitive
11 novembre 2010, parPar défaut, MediaSPIP permet de créer 5 types d’objets.
Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...) -
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" ; -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (7100)
-
ffmpeg showwaves in combination with picture slideshow
14 avril 2023, par Saschai use ffmpeg to create a audio Visualization with a static background picture.
This works like it should. I can change the resolution, the picture and the color of the waveform.


ffmpeg -i Audio.mp3 -loop 1 -framerate 25 -i img001.jpg -filter_complex "[0:a]aformat=channel_layouts=mono,showwaves=s=1280x720:mode=cline:r=25:colors=black[v];[1:v]scale=1280x720[bg];[bg][v]overlay=format=auto:x=(W-w)/2:y=(H-h)/2,format=yuv420p[outv]" -map "[outv]" -map 0:a -c:v libx264 -c:a copy -shortest Output.mp4


Now i would like to have the possibility to have more than one picturs.
For that i use the following code.


ffmpeg -framerate 1/5 -i img%%03d.jpg -i Audio.mp3 -r 25 -c:v libx264 -pix_fmt yuv420p Output.mp4


or that one for a fading effect.


ffmpeg -i Audio.mp3 -i img%%03d.jpg -vf zoompan=d=(%Framerate%+1)/1:s=%Resolution%:fps=1,framerate=25:interp_start=0:interp_end=255:scene=100 -c:v mpeg4 -q:v 2 Output.mp4


I calculate the framerate with "audiolenght/numbers of picture" in my code before.
That also works like it should.


But in combination, it will not work, maybe because of the framerate 1/5 of the slideshow and the framerate of the waveform.


Can someone help me ?


best regards
Sascha


-
Through 1 someone through ffmpeg I need to combine 2 audio and add a picture (album) to it
21 avril 2021, par DarkShadeThrough 1 whom through ffmpeg
I need to combine 2 audio and add a picture (album) to it


<---------> 1-audio
 <--------------> 2-audio
<-------------------> output



https://superuser.com/questions/1509582/ffmpeg-merge-two-audio-file-with-defined-overlapping-time


I looked at this link and it combined 2 audios.
Now I need to add a picture (album) to it



Here is the command that is using me


ffmpeg -i 1.mp3 -i 2.mp3 -filter_complex "[1]adelay=Ns|Ns[a1];[0:a][a1]amix=inputs=2[a]" -map "[a]" output.mp3



Thanks to this, I was able to combine two audios into one.


I saw it this way


ffmpeg -i 1.mp3 -i 2.mp3 -i 1.png -filter_complex "[1]adelay=5s|5s[a1];[0:a][a1]amix=inputs=2[a]" -map "[a]" -c:a copy -c:v copy -map 0:0 -map 1:0 -id3v2_version 3 -metadata:s:v title="Album cover" -metadata:s:v comment="Cover (front)" audio-out.mp3



1.mp3 - first audio (1:35 s)
2.mp3 - second audio (0:16 s)
1.png - picture (album) (170x170)



I got this error


Streamcopy requested for output stream 0:0, which is fed from a complex filtergraph. Filtering and streamcopy cannot be used together.



What I need ?


I need to add picture (album) to audio combined with this command


When I say picture (album), I mean exactly that.
This is clearly shown in the picture.
https://i.imgur.com/z64KhoS.png


-
How to encode a picture into H264 using x264 API ?
23 novembre 2011, par cmm427I encode a picture following the link How to encode series of images into H264 using x264 API ? (C/C++), but every time x264_encoder_encode(encoder, &nals, &i_nals, &pic_in, &pic_out) returns 0.