
Recherche avancée
Autres articles (98)
-
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 ;
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (16727)
-
ffmpeg UDP stream incomplete using WEBM (VP9)
21 janvier 2018, par DerLarsI’m trying to encode a raw (YUV) video into VP9 and to stream it with ffmpeg via UDP.
Sender command :
ffmpeg -f rawvideo -pix_fmt yuv420p -s:v 352x288 -r 25 -i ReferenceVideo_200Frames.yuv -c:v libvpx-vp9 -lossless 1 -f webm udp ://localhost:1337
Receiver command : (started first)
ffmpeg -i udp ://localhost:1337 -vcodec copy ReferenceVideo_200Frames_Streamed.webm
The testvideo used for this has exactly 200 Frames.
The final output of the sender is :
frame= 200 fps= 14 q=0.0 Lsize= 7918kB time=00:00:07.96 bitrate=8147.3kbits/s speed=0.574x
video:7912kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.064364%But as soon as the sender finishes, the receiver gets stuck at : frame= 181 fps= 13 q=-1.0 size= 5226kB time=00:00:07.20 bitrate=5945.5kbits/s speed=0.531x
The final streamed video is now incomplete.
So my question is : What am I doing wrong that the stream is incomplete ? Did anyone face this issue too and was able to fix it ?
Many thanks in advance.
-
FFMPEG XFade Transition
21 juin 2022, par UserErrorLoLI am attempting to use xfade transitions to link multiple video files but I have noticed that the transition does not finish in most cases. If I set the duration to 1 second, it may get 1/4 through the screen before instantly starting the next video. Does this have something to do with my ffmpeg settings like framerate ? My current call is
ffmpeg -i inputs 1-10 -aspect 16:9 -filter complex video_fades -map [final] -c:v libx264 -preset ultrafast -crf 28 out.mp4


The inputs are all 1920x1080 60fps videos and the video fades graph is




[0:v][1:v]xfade=transition=wipeleft:duration=2.000000:offset=32.700[v01] ;
[v01][2:v]xfade=transition=squeezeh:duration=2.000000:offset=125.400[v12] ;
[v12][3:v]xfade=transition=slideup:duration=2.000000:offset=218.100[v23] ;
[v23][4:v]xfade=transition=slidedown:duration=2.000000:offset=310.800[v34] ;
[v34][5:v]xfade=transition=wipedown:duration=2.000000:offset=403.500[v45] ;
[v45][6:v]xfade=transition=zoomin:duration=2.000000:offset=496.200[v56] ;
[v56][7:v]xfade=transition=slidedown:duration=2.000000:offset=588.900[v67] ;
[v67][8:v]xfade=transition=dissolve:duration=2.000000:offset=681.600[v78] ;
[v78][9:v]xfade=transition=slidedown:duration=2.000000:offset=774.300[v89] ;
[v89]format=pix_fmts=yuv420p[final]




Has anyone else had this problem and knows how to fix it ?


-
Adding watermark to video
27 avril 2018, par equallyheroI am able to use the moviepy library to add a watermark to a section of video. However when I do this it is taking the watermarked segment, and creating a new file with it. I am trying to figure out if it is possible to simply splice in the edited part back into the original video, as moviepy is EXTREMELY slow writing to the disk, so the smaller the segment the better.
I was thinking maybe using shutil ?
video = mp.VideoFileClip("C:\\Users\\admin\\Desktop\\Test\\demovideo.mp4").subclip(10,20)
logo = (mp.ImageClip("C:\\Users\\admin\\Desktop\\Watermark\\watermarkpic.png")
.set_duration(20)
.resize(height=20) # if you need to resize...
.margin(right=8, bottom=8, opacity=0) # (optional) logo-border padding
.set_pos(("right","bottom")))
final = mp.CompositeVideoClip([video, logo])
final.write_videofile("C:\\Users\\admin\\Desktop\\output\\demovideo(watermarked).mp4", audio = True, progress_bar = False)Is there a way to copy the 10 second watermarked snippet back into the original video file ? Or is there another library that allows me to do this ?