
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (86)
-
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 ;
-
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 -
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
Sur d’autres sites (15293)
-
mlpdec : support major sync headers with optional extension blocks
21 septembre 2014, par Hendrik Leppkes -
FFmpeg - Slow Down Video by Half - Play Back at 2x
2 mars 2021, par nomaamI am working with the newest version of FFmpeg


I am trying to slow down a video with audio by half speed, then play back that video in something like VLC at 2x speed and have the video appear and sound as if it was the original version.


So far I have tried


./ffmpeg.exe -i "ffmpeg/testVideo.mp4" -filter_complex "[0:v]setpts=1.5*PTS[v];[0:a]atempo=0.5[a]" -map "[v]" -map "[a]" "ffmpeg/outputVideo.mp4"



When I play back the video at 2x it isn't close to playing and sounding like the unaltered version.


I have read the documentation but am having difficulty understanding where I am going wrong.


-
Moviepy replays audio at the end for half a second
31 mai 2023, par Zac JokfaceI used moviepy to add audio to a given video.
I started by checking the duration of the video. If it's shorter than the audio, I slow the video down using :


video_clip = video_clip.fx( vfx.speedx, (video_clip.duration/audio_clip.duration))


Then, I added the audio using :


video_clip = video_clip.set_audio(audio_clip)


I saved the result with


video_clip.write_videofile(save_path, codec="libx264", audio_codec="aac", fps=24, audio_bitrate="64K", threads=32, ffmpeg_params=['-safe', '0'])


Everything seems to be OK, except for the last half second of the resulting video, where the audio is replayed right before the end of the video.
I tried


new_audio_clip = afx.audio_loop(audio_clip, duration=video_clip.duration)


And added the new audio instead. But nothing changed.