
Recherche avancée
Autres articles (37)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (8829)
-
Anomalie #3617 : objet_modifier_champ
10 décembre 2015, par jluc -En l’occurence, c’est avec gis : gis_modifier est appelé et appelle
objet_modifier_champs(gis, 1976, options=Array ( [invalideur] => id=’gis/1976’ ), c=Array (
[titre] => Annonce 10630 — Recherche une chambre temporaire !
[lat] => 44.8964144
[lon] => 4.6452795
[code_pays] => fr
[pays] => France
[zoom] => 6
[descriptif] =>
[adresse] =>
[region] =>
[ville] => Vernoux-en-Vivarais
[departement] => Ardèche
)
Le conflit détecté est :
= Array
( [titre] => Array (
[base] =>
[post] => Annonce 10630 — Recherche une chambre temporaire !
)
) -
Batch file : FOR loop not working to concatenate mp3 and mp4
7 janvier 2023, par Ionut Bejinariump3list-1.txt
contain the full patch to themp3
files that will be concatenated

mp4list-1.txt
contain full path to themp4
files that will be concatenated

then both results
mergedmp34.mp3
andmergeMp4.mp4
should be combined together in a final MP4 video file with a random name.

something I do wrong I don't understand what


my guess I do something wrong on
FOR
loop.

sometimes my .txt files contain full path to a single file mp4 or mp3


if don't have what to combine will concatenate 1 single file ?


set exportdir=
set batsource= the place where this batch file is

1< mp3list-1.txt 2< mp4list-1.txt (
 FOR %%A in ("%batsource%") DO (
 set /p mp3list=" <&1
 set /p mp4list=" <&2
 ffmpeg -f concat -safe 0 -i "!mp3list!" -c copy mergedmp34.mp3
 ffmpeg -f concat -safe 0 -i "!mp4list!" -c copy mergeMp4.mp4
 ffmpeg -i mergedmp34.mp3 -i mergeMp4.mp4 -map 0:v -map 1:a -vcodec copy -c:a aac -b:a 320k "%exportdir%\%RANDOM%.mp4"
 del mergedmp34.mp3
 del mergeMp4.mp4
 
 
 )
)




mp4list-1.txt


F:\.....Videos-115\output-mp4.txt
F:\....\Videos-1150\output-mp4.txt
F:\.....\Videos-1151\output-mp4.txt
F:\......Videos-1152\output-mp4.txt



mp3list-1.txt


F:\......audio-52\output-mp3.txt




and .txt with direct files are like :


file 'F:\....00OH7011.mp3'
file 'F:\....00OH7011.mp3'
file 'F:\....00OH7011.mp3'



and for videos


file 'F:\....00OH7011.mp4'
file 'F:\....00OH7011.mp4'
file 'F:\....00OH7011.mp4'



Later Edit
basically, I want to adapt to my needs the above script based on this
working
script bellow where I have 4 txt files that are looped.

mkdir ".\Export"
set "sourcedir=" 
set "outputdir=Export"

1< codfundal.txt 2< fontalbum.txt 3< album.txt 4< artist.txt (for %%F in (*.jpg *.jpeg) do (
set /P "artist=" <&4 
set /P "fontalbum="<&2 
set /P "album=" <&3
set /P "codfundal=" <&1
 
 
 magick convert -gamma 1 -contrast 30 %%F -fill white -undercolor "!codfundal!" -gravity Center -font "!fontalbum!" -pointsize 215 -annotate +0+5 "!album!" -gravity Center -pointsize 120 -font "Calibri-Bold" -annotate +0+220 "!artist!" -crop 1440x1440+0+0 -quality 92 "%outputdir%\%%F" 




 )
)



album.txt


Circumferential
Genealogy
Iraqi
Fitters



artist.txt


Bhaskar Punk
Costas Fourie
Sonja Bryan
Jin Gullberg




codfundal.txt



#E70E0E
#ff00ff
#993366
#99cc00
#cc99ff



fontalbum.txt


Bauhaus-93
Agency-FB
Bernard-MT-Condensed
Bodoni-MT



-
How to take metadata from .mp3 file and put it to a video as a text using FFmpeg ?
6 décembre 2020, par GrrzlyIn my previously opened topic :


How to make FFmpeg automatically inject mp3 audio tracks in the single cycled muted video



I've got detailed explanation from @llogan how to broadcast looped short muted video on youtube automatically injecting audio tracks in it without interrupting a translation.


I plan to enhance the flow and the next question I faced with is how to dynamically put an additional text to the broadcast.


Prerequisites :


- 

- youtube broadcast is up and running by ffmpeg
- short 3 min video is paying in infinity loop
- audio tracks from playlist are automatically taken by "ffmpeg concat" and injected in the video one by one








this is a basic command to start translation :




ffmpeg -re -fflags +genpts -stream_loop -1 -i video.mp4 -re -f concat
-i input.txt -map 0:v -map 1:a -c:v libx264 -tune stillimage -vf format=yuv420p -c:a copy -g 20 -b:v 2000k -maxrate 2000k -bufsize
8000k -f flv rtmp ://a.rtmp.youtube.com/live2/my-key




Improvements I want to bring


- 

- I plan to store some metadata in audio files (basically it's an artist name and a song name)
- At the moment a particular song starts playing artist/song name should be taken from metadata and displayed on the video as text during the whole song is playing.
- When the current song finishes and a new one starts playing the previous artist/song text should be replaced with the new one etc








My question is how to properly take metadata and add it to the existing broadcast config using ffmpeg ?