Audio effects in ffmpeg [closed] - audio

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
Does ffmpeg audio effects like reverb? Can I work with the channels (to detain them, mix)? If so please link to code samples or examples of codes. thanks in advance!

You can use "RUBBERBAND" for changing pitch and tempo of audio,
If you want to change/add effect of audio from video file then use following code with combination of ffmpeg and rubberband
ffmpeg -i w.mpg -vcodec copy -an tmpVideo.mpg
ffmpeg -i w.mpg tmpAudio.wav
rubberband -p 6 tmpAudio.wav tmpAudioRB.wav
ffmpeg -i tmpVideo.mpg -i tmpAudioRB.wav -vcodec copy finalVideow_6.mpg
This will generate a new video file with pitch change in audio

You're looking for SoX, which is like ffmpeg for audio.

Related

How to Watermark videos with FFMPEG commands [closed]

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 5 years ago.
Improve this question
i need to watermark a video file.
i have FF-MPEG Linux server and ff-mpeg is installed by default
plz reply me the command of watermarking for below details
1. The source file is Input.mp4
2. the Target file is Output.mp4
3. the watermark file Watermark.png
please send me the Linux commands.
is there anyone know, please reply soon
According to this site it should be something like:
ffmpeg -i Input.mp4 -i Watermark.png -filter_complex "overlay=10:10" Output.mp4
10:10 are the coordinates from the top and from the right for the overlay. (In this example 10 pixels from the top and 10 pixels from the right)

How to increase the audio length using FFMPEG? [closed]

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 7 years ago.
Improve this question
I have the MP3 audio file output.mp3 with 00:00:01 length.
I want to convert the audio file to output_test.mp3 with 00:00:50 length.
The audio file should be play repeat at end of length 00:00:50. How to do it?
$imgDir = 'upload/2016/01/tmp_81332';
$ffmpeg = '/usr/bin/ffmpeg';
// Convert Audio Length Path
$convAudioPath = $imgDir."/output.mp3";
$convAudioPath_test = $imgDir."/output_test.mp3";
exec("$ffmpeg -i $convAudioPath -vcodec copy -acodec copy -ss 00:00:00.000 -t 00:00:50.000 $convAudioPath_test");
Advise any idea!
Use
exec("$ffmpeg -stream_loop -1 -i $convAudioPath -vcodec copy -ss 00:00:00.000 -t 00:00:50.000 $convAudioPath_test");

Video making tool with api to combine pictures and music into a video [closed]

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 9 years ago.
Improve this question
Is there a video making tool on linux that has an api which I can use to combine pictures and music into a video?
I just found youtube editor. I can add multiple pictures and make a video. Unfortunately it doesn't have an api. Is there anything similar?
Create a video slideshow from images
# each image will have a duration of 5 seconds
ffmpeg -f image2 -r 1/5 -i img%03d.png -i music.m4a -r 30 out.mp4

Best way to make start and end segments of an *.mp3 have no sound? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I know there are various linux packages that allow you to crop a portion of a song. For example to crop a 30 second portion of a 2 minute song mysong.mp3 starting at the 1 minute mark
ffmpeg -ss 60 -t 30 -acodec copy -i mysong.mp3 30secondportion.mp3
How can I create a new .mp3 where the first 60 seconds of this song have no sound, the following 30 seconds have sound, and the last 30 seconds have no sound?
The resulting .mp3 should be 2 minutes in length.
I'm using ubuntu 10.04
Take a look at this tutorial:
Using Sox to Extract Subparts of a File
Using Sox to Create Silence
Using Sox to Concatenate Files

How to convert the MP4 video file from images without audio using FFMPEG? [closed]

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 7 years ago.
Improve this question
I am converting the MP4 video file $output from some images and one audio file.
But now I want to convert the same MP4 video file without audio.
How to do it?
Here is my sample code:
// Convert Video from audio and images
exec("$ffmpeg -framerate 1/5 -i $convImgPath -i $convAudioPath -c:v libx264 -c:a aac -strict experimental -b:a 16k -shortest $output");
Please update my code where I am change.
Disable audio via -an i.e.
exec("$ffmpeg -framerate 1/5 -i $convImgPath -i $convAudioPath -c:v libx264 -an -shortest $output");

Resources