Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
how to decode the AAC format audio file(i.e. 1.aac) into pcm or wav file with ffmpeg command?
Question fit for superuser.com.
Here is your answer
ffmpeg -i input.aac out.wav
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I have a FLAC audio file that I want to slice into 5 second segments. I don't need to resample or change the data in any way.
What tools/libraries are there for this? Should I be looking at ffmpeg? I actually want to create a HLS stream so a tool that would do that would be a bonus but if I can simply chunk the audio data I can create the playlist myself.
Use the segment muxer:
ffmpeg -i input.flac -f segment -segment_time 5 output_%03d.flac
In this example outputs will be named output_001.flac, output_002.flac, etc.
Add -reset_timestamps 1 if your need to reset timestamps at the beginning of each segment.
Since you asked there is also the HLS muxer, but that's a different topic from the question title.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
How can I create a mpg/mp4 file from let's say 10 images using ffmpeg.
Each image shall stay for 5 minutes, after the 5 minutes are over the next image shall appear and so on....
How can I achieve this?
If your images are numbered in a sequence (img001, img002, img003..), use
ffmpeg -framerate 1/300 -i img%3d.jpg -r 5 video.mp4
(I've set an output framerate of 5 for player compatibility. Each image will still remain for 300 seconds)
If your filenames are irregular, and you are executing in a Unix shell like bash, you can run
ffmpeg -framerate 1/300 -pattern_type glob -i '*.jpg' -r 5 video.mp4
For MPEG-2,
ffmpeg -framerate 1/300 -i img%3d.jpg -c:v mpeg2video -b:v 2000k -r 5 video.mpg
No idea what minimum output framerates are expected of MPEG-2. Experiment.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have imported PAL DV. When trying this
ffmpeg -i my_video.dv output.mp4
I get interlacing issues.. So I need to deinterlace the input somehow...
This did the trick!
ffmpeg -i my_video.dv -vf yadif output.mp4
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I want to convert a song and jpg file into a mpg video. What is the exact command for that.
I tried this one Add an image to mp3, and convert it to a video file using ffmpeg, but couldnt understand what is loop input and things.
Help will be appreciated.
Parminder
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
any one can give me a hind how to split video (and can be played in separeat parts) ,by split here I mean to split it to 4 parts for example and each part can be running (paying)
You could try using ffmpeg with the -ss option to seek to a point in the video and then use -vframes or -t to extract a specific number of frames or seconds, respectively.
See http://ffmpeg.org/ffmpeg-doc.html