Skip to main content

All Questions

Tagged with
116 votes
13 answers
309k views

How to create a video from images using FFmpeg?

Is it possible to use ffmpeg to create a video from a set of sequences, where the number does not start from zero? For example, I have some images [test_100.jpg, test_101.jpg, test_102.jpg, ..., ...
user avatar
83 votes
6 answers
131k views

Using desktop as fake webcam on linux

I want to make a live stream of (a window on) my linux desktop using a free streaming site, using the captured video as a fake webcam. There are many tools for this on windows. ffmpeg allows me to ...
bkconrad's user avatar
  • 961
52 votes
4 answers
52k views

How can I get the length of a video file from the console?

Suppose we have a video file some_video. How can I get its length from a shell script (with mplayer/transcode/gstreamer/vlc/ffmpeg/whatever)? VIDEO_LENGTH_IN_SECONDS=`ffmpeg .... -i some_video ... | ...
Vi.'s user avatar
  • 17.3k
42 votes
2 answers
165k views

How To Check My Current Version of FFMPEG

I have FFMPEG installed on 2 different servers. On one of the servers, i run into an issue every time i try to convert m4v files where ffmpeg just processes the file indefinitely. When I take the ...
aamiri's user avatar
  • 863
41 votes
9 answers
27k views

Get MP3 Length in Linux / FreeBSD

I have a bunch of mp3 files with various length. I want to cut it down to 50%-60% length. Says, from 1 minute down to 30 seconds. It should be trivial using ffmpeg. But, I don't know how to determine ...
ariefbayu's user avatar
  • 1,173
40 votes
3 answers
54k views

How to create an uncompressed AVI from a series of 1000's of PNG images using FFMPEG

How can I create an uncompressed AVI from a series of 1000's of PNG images using FFMPEG? I used this command to convert an input.avi file to a series of PNG frames: ffmpeg -y -i input.avi -an -...
user avatar
32 votes
4 answers
51k views

Linux: How to extract frames from a video? (lossless)

I've read a few answers and articles on using programs like VLC, MPlayer, ffmpeg, etc., but none of the methods I've seen are "lossless." They don't capture every single frame. I want to extract each ...
Trae's user avatar
  • 561
28 votes
5 answers
36k views

Speedup a Video on Linux

I don't want to use a player like vlc to speedup the playback. I want to actually speedup playback in the original file; I want the video to be played 2 times faster.
Abhijeet Rastogi's user avatar
22 votes
4 answers
30k views

ERROR: cuvid requested, but not all dependencies are satisfied: cuda/ffnvcodec

I am trying to compile FFMPEG with Nvidia Cuda support, on Debian 9.3. Parameters, what I am using: --enable-cuda --enable-cuvid --enable-nvenc --extra-cflags=-I/usr/local/cuda/include --extra-...
Netheme's user avatar
  • 334
22 votes
5 answers
26k views

Ffmpeg Audio Stereo to Mono using only left channel

I use the following command to extract video parts of an '.MTS' record (video). ffmpeg -i 00402.MTS -s 1280x720 -r 25 -ss 0:00:05.38608 -vcodec libxvid -qscale:v 2 -acodec ac3 -ar 48000 -ab 256k -t 0:...
Eric's user avatar
  • 321
20 votes
2 answers
85k views

How to change ffmpeg -threads settings

Working on a tube site. I'm running videos through ffmpeg on a linux dedicated server to convert to mp4. The server specs: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte ...
user avatar
16 votes
2 answers
18k views

Add silence to the end of an MP3

Do any of you know of a way of adding silence of a fixed duration to the end of an MP3, in Linux? For example using MEncoder, FFmpeg, etc? It needs to be command line as it will be scripted and ...
Max Williams's user avatar
  • 3,029
15 votes
1 answer
56k views

ffmpeg: yuv420p pixel format missing?

Often when I search online for ffmpeg advice, I find the answer involves using the -pix_fmt yuv420p (or I think also yuv720p) argument. Example: What ffmpeg command line produces video more compatible ...
Jimi-James's user avatar
15 votes
2 answers
38k views

Slicing video file into several segments

I am currently using ffmpeg to slice video files. I automated the process through a script called ffmpeg_split.sh. Although this very slow it is efficient in splitting videos into equivalent settings. ...
Code_Ed_Student's user avatar
13 votes
3 answers
27k views

ffmpeg command for concatenate two mp3 files

I am using ffmpeg for Concatenating two MP3 files together, I use this command : ffmpeg -y -i first.mp3 -i second.mp3 -filter_complex "[0:0][1:0] amix=inputs=2:duration=longest" -c:a libmp3lame ...
Karami's user avatar
  • 133

15 30 50 per page
1
2 3 4 5
35