Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
How to extract audio from a video with ffmpeg in C++ ?
6 novembre 2011, par Gp2mv3I'm using FFmpeg to extract informations about a video file. But i want to extract the audio channels to read it with FMOD.
How can I do that ? Is it simple ?
Do you know a good tutorial about FFmpeg in C++ ?
Thanks
-
ffmpeg pre-compiled version fails to convert an mp4 file with h264 and aac to flv
6 novembre 2011, par HarunI tried to convert an mp4 file to flv using the following command:
ffmpeg.exe -i 1.mp4 -ar 22050 -qscale 1 1.flv
I get the follwing error:
Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isomavc1mp42 Duration: 00:00:30.15, start: 0.000000, bitrate: 659 kb/s Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 115 kb/s Stream #0.1(und): Video: h264, yuv420p, 480x270 [PAR 1:1 DAR 16:9], 541 kb/s , 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc Unable to find a suitable output format for 'C:\Users\Dotnet\Desktop\ffmpeg'
Do I need to do something extra (e.g., enabling x264, etc) to get it working? I just used a pre-compiled version of ffmpeg on Windows 7.
-
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?