
Recherche avancée
Autres articles (47)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (9023)
-
Compensating for missing audio frames in video with ffmpeg [on hold]
9 décembre 2015, par Ned RocksonI consistently have a problem with videos recorded via webrtc where the audio is missing for the first few seconds. With ffmpeg I see that the first audio frame is generally at PTS >1.0.
This doesn’t cause an issue in isolation as video players are smart enough to adjust, but when using ffmpeg to merge two videos and mix their audio, they end up having offset audio because each audio stream is treated as starting at 0.
Is there a way to compensate for this offset when using amerge or amix filters ?
-
MoviePy : Concatenating video clips causes weird glitches in final video
16 mai 2022, par JohnSmithy1266Is there a way to successfully always patch up any clips together in such a way that prevents weird glitches ? I put together a
.mp4
from smaller.mp4
files and I got a final video with weird glitches. I am running Python 3.6.1 on Windows 10 through Sublime Text 3. I used MoviePy to do the concatenation.


The code :



from moviepy.editor import VideoFileClip, concatenate_videoclips
import os.path

path = "C:/Users/blah/videos/out/"

cliparray = []

for filename in os.listdir(path):
 cliparray.append(VideoFileClip(path + filename))

final_clip = concatenate_videoclips(cliparray)

final_clip.write_videofile(path + "concatenatedvideo.mp4", codec = "libx264")




The weird glitches :



- 

- One of the clips turns into a 3x3 grid of smaller clips.
- Another has the audio not lined up with the video
- Another is sped up faster than what was normal.








-
Compression rate (final size) ffmpeg with h263 as codec, can be improved ?
29 août 2013, par voskycWith the following data :
Sample 1 :
vcodec : H263
Duration : 4seconds
Resolution:1288/720
FR : 30fps/s
datarate : 195.135 kB/s
MP3 : 44HZ, 16bits
Size file : 5.84MB.
Sample 2 :
vcodec : H263
Duration : 4seconds
Resolution:640/480
FR : 30fps/s
datarate : 195.135 kB/s
MP3 : 44HZ, 16bits
Size file = 3.34MB.
Both in flv container.
Aren't those sizes a little bit high for 4 second video ?
I believe we are doing some kind of error or missing an optimization.
Should we decrease the datarate ?
Maybe we are missing some option for h263 encoding with FFMPEG ?.Thanks a lot in advance for your suggestions.
Note : no, we "can not" use h264. :-)