
Recherche avancée
Autres articles (84)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (13206)
-
Python FFmpeg : Single static image coupled with audio outputs massive file size
15 décembre 2019, par CryptonautI’m using this Python library to programmatically generate a video using a single static image (.PNG - 3.05 MB - 1920 x 1080) and an audio track (.WAV - pcm_s24le (24 bit) - 48000 Hz - 34.6 MB) as input.
I’m using this technique to speed up the video generation process.
However, the final file size of
output_video_final
is 2.33 GB. Considering my input file sizes (.PNG - 3.05 MB / .WAV - 34.6 MB), why is the final .MOV output so large ?Here’s my code :
'''
Generate .MOV using static image as input
'''
image = ffmpeg.input(input_image, loop='1', t='00:00:1', framerate='24000/1001', probesize='42M')
output = ffmpeg.output(image, output_video,
f='mov',
vcodec='prores_ks',
vprofile='3',
pix_fmt='yuv422p10le',
g='120',
video_track_timescale='24000',
movflags='use_metadata_tags',
timecode='00:00:00:00',
color_primaries='bt709',
color_trc='bt709',
colorspace='bt709',
qcomp='1',
preset='veryfast',
bsf='prores_metadata=color_primaries=bt709:color_trc=bt709:colorspace=bt709',
vf='scale=in_range=full:in_color_matrix=bt709:out_range=full:out_color_matrix=bt709')
output.run()
'''
Generate .MOV using static image .MOV in previous output
and combine with audio input
'''
audio = ffmpeg.input(input_audio, filter_complex='channelsplit')
video = ffmpeg.input(output_video, t='00:02:06', stream_loop='126')
output = ffmpeg.output(video, audio, output_video_final,
vcodec='copy',
acodec='pcm_s24le',
audio_bitrate=bitrate)
output.run() -
Why does audio stop when rewinding video collected using ffmpeg ?
12 mai 2020, par Vlad FThe resulting video correctly plays only sequentially. If you jump to an arbitrary point, audio and subtitles fall off.



The timing of the video files are identical.



ffmpeg.exe -y -i as.mkv -i hd.mkv -codec copy -map 1:v -map 0:a -map 0:s final.mkv




Log - pastebin.com/pihPfHTq


-
how to remove PTS gap within a file when transcoding with ffmpeg ?
18 juillet 2017, par jsBaeki have a video which is from rtmp streaming.
Since the broadcasting is on and off frequently,
the archived file has PTS like below
(assume that this is sec)
0—10—20—30—40 120—130—140
there’s discontinuity between 40 and 120 sec.
duration of this file must be 60sec since there’s 80sec gap between 40 120.
but when i transcoded this file, final duration became 140sec with 80sec of pausing parts.
how can i transcode this file without "not existing" 80 sec so that output file became 60sec without redundant pausing 80 sec.
i tried "+getpts" or "+igndts" options but they don’t work at all.