
Recherche avancée
Autres articles (91)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
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" ; -
Les sons
15 mai 2013, par
Sur d’autres sites (6060)
-
I am a newbie in FFmpeg and I am trying to use FFMPEG to play RTSP stream on Android, but it will play slower and slower
8 mai 2020, par AjaxI am a newbie in FFmpeg and I am trying to use FFMPEG to play RTSP stream on Android, but it will play slower and slower. The picture of my player and video source will increase with the time difference. The video are not synchronized. I'm pulling on the local area network。
The longer it is played, the more the picture of the video source will be. The more it cannot automatically return to the real-time picture like MediaCode's hardware decoding.The decoded picture is in slow motion, and it will freeze after a while.。What causes this ? How can i optimize it。
this is my code



2020-5-8/Problem has been solved


-
dnn_backend_native_layer_conv2d.c : refine code.
16 septembre 2020, par Xu Jun -
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