Questions tagged [video]

Questions about video editing, streaming, conversion, capturing or video output. Use a more specific tag if possible.

This tag is very broad and refers to many things. Use a more specific tag available, as indicated.

Other topics include:

  • video output
  • display adapters used to drive computer monitors
6044 questions
573
votes
9 answers

Using ffmpeg to cut up video

I am using ffmpeg to cut out a section of a large file like this: ffmpeg -i input.wmv -ss 60 -t 60 -acodec copy -vcodec copy output.wmv The -ss part works fine but the -t is ignored. It correctly removes the initial specified seconds specified with…
Neil
  • 5,859
  • 3
  • 16
  • 3
294
votes
15 answers

Combine one image + one audio file to make one video using FFmpeg

This should be pretty trivial, but I can't find a way to get it to work. I want FFmpeg to take one JPEG image and an audio file as input and generate a video file of the same duration as the audio file (by stretching the still image for the whole…
matteo
  • 4,199
  • 6
  • 20
  • 22
176
votes
3 answers

How do I trim a video using Handbrake?

I can't seem to figure out the solution to a very simple problem. I want to trim a video in Handbrake and keep the video as is (resolution, encoding, etc), just chop off the first few seconds, but I can't find out how.
user400424
  • 5,464
  • 8
  • 21
  • 28
161
votes
1 answer

ffmpeg - replace audio in video

How to replace the audio in a video file using an audio file using ffmpeg? I imagine the command looks like: ffmpeg -i v.mp4 -i a.wav -MAGIC video-new.mp4 This is very similar to How to replace an audio stream in a video file with multiple audio…
qubodup
  • 8,365
  • 7
  • 36
  • 49
157
votes
6 answers

How to retrieve video file information from command line under Linux?

I'd like to see from command line all informations pertaining to a given video file, including length, quality, bitrate, resolution, audio and video formats, number and language of audio streams and subtitles, and so on; the more, the best. Right…
Sekhemty
  • 9,166
  • 18
  • 60
  • 97
110
votes
8 answers

How to extract one frame of a video every N seconds to an image?

How can I convert a video file to a sequence of images, for example one frame every N seconds. Can mplayer or ffmpeg do this? I have used MPlayer to grab screenshots manually but I would like to automate this for a long video.
Liam
  • 2,970
  • 5
  • 29
  • 34
105
votes
6 answers

Fake broken pixel on Windows 10

A couple of months ago I discovered that I have broken pixel on my laptop screen: The weirdness of it is that it isn't a broken pixel at all, because as you can see I'm able to screenshot it. The first time it appeared, I just rebooted my laptop a…
danil _
  • 1,029
  • 2
  • 7
  • 7
104
votes
4 answers

What is a Codec (e.g. DivX?), and how does it differ from a File Format (e.g. MPG)?

I'm so confused... what is the difference between an audio/video codec (which apparently is a shorthand for "encoder/decoder", kind of like how "modem" is really "modulator/demodulator") and an audio/video format? (Am I even using the correct…
user541686
  • 23,663
  • 46
  • 140
  • 214
98
votes
9 answers

Can HandBrake flip/rotate a video?

I'd like to use HandBrake to compress some video that was taken via a camera that was mounted upside down. I found a reference to a command-line rotate option, but I can't find it in the GUI. Am I just missing it?
nonot1
  • 1,639
  • 5
  • 18
  • 20
94
votes
2 answers

Converting video from 1080p to 720p with smallest quality loss using ffmpeg

I stack with my high quality movie: 1080p with 60fps. The trouble is lags while playing. I tried to convert it to 720p with ffmpeg: ffmpeg -i MyMovie.mkv -r 60 -s hd720 MyMovie_720p.mkv But I there is significant quality loss because bit rate…
atomAltera
  • 1,119
  • 1
  • 11
  • 15
87
votes
8 answers

What are the differences of watching a 1080p and a 720p version of the same media on a 720p screen?

Say I have 1280x720 pixels on my screen and the current resolution is set to 1280x720 as well. What are the differences between the 1080p version and the 720p version of the same media? Is it noticeable to an end user (a non-video expert or…
Varaquilex
  • 3,848
  • 3
  • 30
  • 47
80
votes
16 answers

How can I combine 30,000 images into a timelapse movie?

I have taken 30,000 still images that I want to combine into a timelapse movie. I have tried QuickTime Pro, TimeLapse 3, and Windows Movie Maker, but with such a huge amount of images, each of the programs fail (I tried SUPER ©, but couldn't get it…
Swift
  • 911
  • 1
  • 7
  • 5
79
votes
7 answers

How do I use ffmpeg to get the video resolution?

I am trying to get resolution of the video with the following command: ffmpeg -i filename.mp4 I get a long output, but I need just the width and height for my bash script. How should I filter out those parameters? Maybe there's a better way to do…
Vladimir Stazhilov
  • 925
  • 1
  • 8
  • 8
75
votes
5 answers

How to block/disable all videos from automatically loading in Chrome?

Many sites now have auto-playing or automatically streaming videos: embedded in news pages, down side bars promoting other content, and some sites even have massive honking-great purely decorative videos in the background of a search page (e.g.…
user56reinstatemonica8
  • 5,256
  • 25
  • 65
  • 96
74
votes
3 answers

FFMPEG Splitting MP4 with Same Quality

I have one large MP4 file. I am attempting to split it into smaller files. ffmpeg -i largefile.mp4 -sameq -ss 00:00:00 -t 00:50:00 smallfile.mp4 I thought using -sameq would keep the same quality settings. However, I must not understand what that…
Chris Weber
  • 1,235
  • 2
  • 12
  • 12
1
2 3
99 100