
Recherche avancée
Autres articles (52)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
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 -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (6875)
-
Concat three videos with one audio [duplicate]
26 septembre 2018, par Михаил БезуглыйThis question already has an answer here :
Thank you for coming here.
I have three video clips (the first is 3 seconds, the second is 20 seconds, the third is 2 seconds), I connect them using the following command :ffmpeg -i opening.mp4 -i middle.mp4 -i ending.mp4 -filter_complex "[0:v] [1:v] [2:v] concat=n=3:v=1 [v]" -map "[v]" output.mp4
Since all three videos do not have audio tracks, I do not need to include [a]. And then the day came when I needed it. I have an audio track,
duration of 35 seconds(which is much larger than the output.mp4 video) and I need this audio to be connected to the whole video.
1) Do I need to crop the video to the length that is obtained by merging all three videos ?
2) Is it possible to do this with one command, or i need first have to concatetate all together with my command, and then merge video and audio track ? -
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