Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
How to convert audio file using ffmpeg API ?
5 novembre 2011, par zvoiceHow to convert PCM to flac using only ffmpeg API, but not the ffmpeg binary? I am looking for the full explanation of the process, but not only a solution
-
FFMPEG naming conventions
5 novembre 2011, par SebI am trying to see what the naming conventions are for FFMPEG. I am trying to take a video file and slice it up into images. I have it currently set to label them from 0 counting up, but was wondering if I could use the date and time instead of just a numerical representation.
Thanks in advance for any help.
-
FFMPEG add audio to a video but clip it to the video length
5 novembre 2011, par Daniel Lloyd-WoodI'm trying to create a video from an image sequence and add audio with FFMPEG
The frame sequence is only 25 frames long but the audio is several minutes. I want FFMPEG to clip the audio to the length of the frame sequence.
This is the command I have tried:
ffmpeg -i input_images%04d.jpg -pix_fmt yuv420p -vcodec mjpeg -qmin 1 -qmax 1 -r 25 -i audio_file.mp3 -ar 22050 -ab 192k -aframes 25 output.mov
This results in a video with the first image sequence but the full length audio. -aframes is ignored. Any ideas?
-
Add audio (with an offset) to video with FFMPEG
5 novembre 2011, par slotishtypeI have a 10 minute video and a 50 minute audio mp3. The video starts at 500 seconds into the audio. Using FFMPEG, how can I add the the audio to the video but specify a 500 seconds audio offset (So that they sync up)?
EDIT:::::
Down the bottom of this page it suggests how to specify an offset.
$ ffmpeg -i video_source -itsoffet delay -i audio_source -map 0:x -map 1:y ......
However, when I apply this, it still starts the audio from the start.
Thanks
-
Encoding graphics into an mpeg stream
5 novembre 2011, par eshalevlooking for an example of how to programatically encode a frame-buffer into an mpeg stream. I need this to experiment with some mpeg encoders, to see how different patterns compress.
I have a slight inclination towards Windows, although if linux gives some advantage it is not a problem.