
Recherche avancée
Autres articles (22)
-
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs. -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (5548)
-
How concat files URL of S3 using Lambda, Ffmpeg
4 juillet 2021, par Tính Ngô QuangI am trying to concat webm files into 1 file, Then upload file new video to S3
Using S3, ffmpeg/lambda-layer


import subprocess
import shlex
import boto3

def lambda_handler(event, context):
 ffmpeg_cmd = "ffmpeg -safe 0 -f matroska concat"
 ffmpeg_cmd += " -i https://s3demo.s3.ap-northeast-1.amazonaws.com/archives/input/record/mask/ep_1.webm"
 ffmpeg_cmd += " -i https://s3demo.s3.ap-northeast-1.amazonaws.com/archives/input/record/mask/ep_2.webm"
 ffmpeg_cmd += " -c:v copy -af aresample=async=1:first_pts=0 -"

 command1 = shlex.split(ffmpeg_cmd)
 p1 = subprocess.run(command1, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 print(p1.stdout)
 print(p1.stderr)
 # resp = s3_client.put_object(Body=p1.stdout, Bucket=s3_source_bucket, Key=s3_destination_filename2)



I get error message :




concat : Read-only file system




According to the article below, using directory storage but still the same error.
https://stackoverflow.com/a/47323443/2949104


ffmpeg_cmd += " -vcodec copy -acodec copy /tmp/output.webm -y"



-
FFMPEG Wipe transition one layer over another
25 juillet 2021, par Dan WeaverHow to reveal one layer over another with a wipe transition using FFMPEG ?




NOTE : this is not a slide transition. The top image stays in one position but is gradually revealed over time.


I'd like a technique that can work for top layers with or without transparency and for images, videos or dynamically created sources, like
showwavespic
.

I tried making a mask animation like so :




but
alphamerge
doesn't work as I expected it to and I can't find ablend
mode that works with this type of mask.

EDIT : The
xfade
filter was suggested but it doesn't seem to work with when source has transparency. It renders transparent areas black. Example with transparent source :



But
xfade
renders this :



-
ffmpeg - prop flicker removal works but ffmpeg insists on changing framerate [closed]
28 avril 2023, par Mutley EugeniusI have been researching how to use FFmpeg to do some fantastic wizardry on my cockpit videos to remove the dramatically distracting propeller, but after many hours now I cannot seem to find a way to get the program to stop stripping more than half the frames. The source video file is 1920 x 1080 @ 60fps and I believe I have my offset right (1/60= 0.0166) but the output video is always coming out at 25 fps. Can't see what element in the code is telling it to do that, or how to change it.


Here's my file :


https://drive.google.com/file/d/1VPttH4PHgUr0uzmsbl4Bcyg5_gAixblA/view?usp=sharing


Here's my code :


ffmpeg -i G:\PropFlicker.mp4 -itsoffset 0.01666 -i G:\PropFlicker.mp4 -filter_complex color=0x202020:s=1920x1080:d=24[mask];[mask][0][1]maskedmax=[out] -map [out] -crf 10 G:\PropNoFlicker.mp4



I have tried adding
-r 60
which gives me a 60 fps output file, but the video is still being processed at 25 and it just adds in duplicated frames after processing to pad it out to 60. The rendering shows more dropped frames than rendered frames by about a 3 to 2 ratio which matches frame drops from 60 to 25. I lose my shot fluidity and I get flickery artifacts

What am I missing to get the flicker removal processing done at 60 fps and the output file rendered at 60 fps with the original smoothness ?


I'm also not sure what the :d=24 is doing. I tried d=60, but it made no difference.


I copied original code that I found in this link :