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)
Related
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 11 months ago.
Improve this question
I want to build something like a digital photoframe with my Raspberry Pi.
On the Raspberry is RaspianOS and the imageviewer feh (version 3.6.3) installed.
As I read from the documentation, I expect this command
feh -qrYzFD10 ~/Pictures to display images in an endless loop, so after the last image the slideshow restarts with the first image.
But if i run this command, the slideshow stops after the last image. In the documentation I could only find the parameter --cycle-once which stops the slideshow after the last image, but i want it to be endless.
Did I miss something here?
like David guessed it above, there was some issue with an image.
I deleted the first non shown image and it worked.
There was no error shown, only hint was the image was really big.
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 3 years ago.
Improve this question
I'm trying to add the fist 15 seconds from file1.wav to end of file2.wav with ffmpeg.
For this you can create a list.txt of files with inpoint and outpoint, something like this:
file file2.wav
file file1.wav
inpoint 00:00:00.000
outpoint 00:00:15.000
And run:
ffmpeg -f concat -i list.txt -c copy output.wav
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");
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 8 years ago.
Improve this question
I need to use ffplay to open a video file, but i need to pass it x,y coordinates so i can have it play the video where I want it to.
As default ffplay simply opens the video at the top left corner.
I've tried searching for options in ffplay but i couldnt find it.
Also tried using window managers like fluxbox, again couldnt find the command)
Please note that I need to run it as a shell command.
Any Help would be appreciated.
Thanks in Advance
I think it is a job for xdotool.
Devilspie can be used also.
For instance, if you play best_movie.avi in ffplay, moving the window will be as easy as:
xdotool search --name best_movie windowmove 100 100
HTH
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 6 years ago.
Improve this question
how do I get a list of amplitudes from a audio file using a linux command line tool ?
Do you mean getting all the individual samples as text? SoX can do that.
$ sox file.wav file.dat
will take an audio file file.wav, and generate a text file file.dat with a column for the timebase in seconds, and a column for each audio channel scaled by the maximum possible value.