Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
How to setup a Python AWS Lambda zip with OpenCV + FFmpeg ?
5 juin 2017, par dannyeuuOn my desktop I have FFmpeg, OpenCV compilated with CUDA, and woks well.
The function load a video on S3 and run a model that extract some frames and store them in another S3 Bucket.
Bur I have to deploy a conda env with my lambda function and packages with OpenCV without FFmpeg, but I need it to opencv mp4 video file.
python-project/ - cv2/ - numpy/ - lambda_handler.py
How can I setup the opencv that enable videos on opencv?
-
FFMPEG : how to include a splash screen ?
4 juin 2017, par portonHaving a video file, I want to add at its beginning and end a JPEG file to be shown a few (say 10) seconds.
The time the image is shown should not be subtracted from the "main" video time. Instead the length of the video should be increased for the period the images are shown.
How to do this with FFMPEG?
The suggestions how to make it fade in/out or to do other graphical effects are appreciated.
-
ffmpeg command for concatenate two mp3 files [on hold]
4 juin 2017, par KaramiI am using ffmpeg for Concatenating two MP3 files together,
I use this command :
ffmpeg -y -i first.mp3 -i second.mp3 -filter_complex "[0:0][1:0] amix=inputs=2:duration=longest" -c:a libmp3lame output.mp3
It works, but there is a little problem, the overlay together!
I want first song plays, and when it finished, second file starts (in output file)
But now they starts at the same time.
How can i change that command, to have a output that contains first song then when the first finished, second plays ?
Plus, I've tried
concat
command but not worked, I just can use something like what i sent. -
Generate gif from jpeg images using ffmpeg
3 juin 2017, par wojttaaI want to create a gif image from a jpeg image list, everything works fine, but how can I slow the animation?
Here is my code:
<?php exec('ffmpeg -f image2 -i thumb/%001d.jpg -vf scale=480x240 out.gif'); ?>
-
Monitor network performance for ffmpeg streaming
3 juin 2017, par brlI'm building up a complex network emulation and I'm trying to catch some important performance measurements. I have mininet running on a server and I' streaming videos from one mininet host to another (with -nodisp option cause I have no GUI).
Is it possible to catch some performance measurements from ffmpeg, maybe writing them on a file?
I would like to find delay, bandwidth, maybe jitter, and so on.
Thanks everyone in advance