34 votes
Accepted

How to downsample 4k to 1080p using ffmpeg while maintaining the quality?

The default settings for ffmpeg are very low quality, and since you don't specify any codec or quality parameters it's just using the defaults (I don't know why the devs don't fix that because it ...
user avatar
  • 13.4k
18 votes
Accepted

Is there a video type for vector animation?

There was one, but it fell in to disuse and isn't used very often anymore, largely because of the lack of mobile support, but also due to security issues it created. It was called Flash.
user avatar
  • 19.2k
12 votes
Accepted

Big difference in the video file size after the conversion (.mov to .mp4)

Let me explain you from scratch. MOV, MP4, AVI, MKV etc all these are just containers, It is just kind of wrapper which contains audio, video, text, metadata file together as one file. It does not ...
user avatar
8 votes

Is there a video type for vector animation?

The University of Bath released a paper demonstrating a vector-based video codec a couple of years ago, with a press release asking "is the pixel about to die?". Strangely since then the pixel hasn't ...
user avatar
  • 13.4k
7 votes

Is there a video type for vector animation?

SVG supports animation using JavaScript and the animate element. That means using a browser or embeddable renderer like WebKit to render it, though. Older games often used their own vector animation ...
user avatar
6 votes

What video formats should I support (as of 2014)?

MP4/h264 is widely supported today. I'd even say it's the most supported video format since the existence of digital video (without having actual statistics to back that claim). There is really no ...
user avatar
  • 7,099
6 votes
Accepted

How are video and audio streams placed in 'container' files and what interrelations do they have?

The basics of that are actually not that complicated (while there is definitely more to know about that topic than would fit in this answer). Take a look at that graphic you can find on the w3c-...
user avatar
  • 5,382
6 votes

Corrupt MP4 [recording interrupted]

I recently encountered this exact problem and I was able to repair the file using Untrunc, a program created specifically to solve this problem, as suggested by sparrowt on SuperUser: For this ...
user avatar
  • 161
6 votes

What is the most basic standard raw video format?

The reason there is no widely used uncompressed video format, as there is for audio is that the data rate for uncompressed video is so colossal that uncompressed video is kinda useless. While a ...
user avatar
  • 13.4k
5 votes
Accepted

Video Encoding - Wasting Space

This isn't a phenomenon, this is compression. It is simply how it works. Compression works by taking an input, runs it through some algorithms and then gets an output that matches up either exactly (...
user avatar
  • 19.2k
5 votes

Video Encoding - Wasting Space

To understand this you need to understand how codecs actually work. A plain uncompressed video frame e.g. a single picture is pretty large. I'm talking about a bitmap, not a lossless encoded video, no ...
user avatar
  • 7,099
5 votes

What is the best universal video format / extension so that it can be viewed on iPad and PCs

h.264 is very widely supported and can be found in multiple different types of container formats. mp4 or m4v are probably the most widely used extensions, but particular support for files varies ...
user avatar
  • 19.2k
5 votes

Easily convert & archive a bunch of low res Video CD DAT files MPEG 1/2 to newer better format such as MKV or others?

Using ffmpeg, a free command-line tool, you can convert these DATs to MP4 (or MKV): ffmpeg -i input.dat -c:v libx264 -crf 20 -c:a aac -b:a 128k -movflags +faststart output.mp4 Your VLC output doesn'...
user avatar
  • 30.2k
5 votes
Accepted

Understanding containers and codecs

MPEG-4 is not a container specification. It's a suite of specifications. Parts 12 and 14 define containers (MP4). Part 2 defines a video codec, whose encoder implementations are DivX and Xvid. Part 10 ...
user avatar
  • 30.2k
5 votes
Accepted

What is the difference between VP9 and ​WebM?

VP9 is a video format. Another example is H.264. WebM is a container format that VP9 goes into. It is equivalent to the MP4 container format for the H.264 video format. libvpx is a video encoder (or ...
user avatar
  • 9,209
4 votes
Accepted

Change output using a .jsx script for After Effects CS6

So, the answer to your question is 'yes, but...' It's perfectly feasible, but you have to create an output module with the settings that you want, and then save it to your computer. You can create ...
user avatar
  • 191
4 votes

Corrupt MP4 [recording interrupted]

Updated: this tool can now recover files from more sources. Try with recover_mp4_to_h264. It's a command line program, and will require a good reference file. Usage as indicated: recover_mp4 ...
user avatar
  • 30.2k
4 votes

Why does a video file that appears to be an MP4 not play in Windows Media Player?

Probably a fragmented MP4. Remux it using ffmpeg. ffmpeg -i filename -c copy out.mp4
user avatar
  • 30.2k
4 votes
Accepted

What it means "a royalty free alternative" to video/audio (WebM format)

It's a quite complex topic, but yes, when dealing with non-royalty-free technologies you are in some cases required to pay royalties to the patent holders, depending on your usage. This usually ...
user avatar
  • 658
4 votes
Accepted

Errors in converting mp4 to ts with FFmpeg

a) -bsf h264_mp4toannexb applies the filter to all output streams but it has to be applied to only video streams. b) In any case, newer versions of ffmpeg, like the one you have, will automatically ...
user avatar
  • 30.2k
4 votes

What is the video equivalent of vector graphics?

The whole premise of vector graphics is that there is a drawing engine in the output device that can interpret graphical commands and output shapes and fonts at the maximum resolution of its ...
user avatar
  • 171
3 votes

Is there a video type for vector animation?

Here is some research about this topic: Resolution Independent 2D Cartoon Video Conversion https://www.researchgate.net/publication/305390110_Resolution_Independent_2D_Cartoon_Video_Conversion Video ...
user avatar
3 votes
Accepted

Convert .WMV to .MOV

I can recommend Adapter. It is a Wrapper for the ffmpeg package and does its job pretty well. Because of its easy UI. You could also use ffmpeg directly via macports, but I think that Adapter is far ...
user avatar
  • 166
3 votes
Accepted

Do I need to encode video in both ogg and webm?

Probably better suited for Stackoverflow but I think its still a valid question for this SE. Producing theora(ogg) versions of your videos is actually redundant. Any browser version supporting ogg is ...
user avatar
  • 7,099
3 votes

Recreate basic AVCHD from MTS files

Guess the original poster found his way to do it - I found the following that worked for me, even though I followed a different procedure. I didn't want to convert the MTS files before importing them ...
user avatar
  • 31
3 votes
Accepted

Which different EDL types exist?

CMX 3600 (or earlier 340) is very common and understood by many systems. GVG (Grass Valley Group) format is almost as common. For simple cuts, dissolves and keys the two are highly compatible, but for ...
user avatar
  • 4,654
3 votes
Accepted

I have a TS file. How do I render it?

"Raw" ususally refers to uncompressed video (though this is technically wrong), meaning you probably have a very large file. Rendering is the process of re-encoding the video using another codec, ...
user avatar
  • 5,382
3 votes
Accepted

Is there a video container which is able to handle segments of different video quality (or even size)?

If the only difference is bitrate, then any container which accepts variable bitrate streams, will fulfill your requirement e.g. MP4, MKV..etc Step 1 is to encode your segments, ideally using the ...
user avatar
  • 30.2k
3 votes

How to: Add Chapters, Sections, markers to video files to help direct access, skipping/ fast forwarding?

MP4 format does support chapters. You can use free Drax utility to create them. Please note that not all video players support MP4 chapters. You need to find one that does (VLC ?)
user avatar
  • 1,139
3 votes
Accepted

Do I have any sort of loss converting an M4V file to MKV?

Your command ffmpeg -i "path/to/file.m4v" -c:v copy -c:a copy "path/to/file.mkv" does do a lossless copy since no recompression occurs. You have to note all warning or error messages during the ...
user avatar
  • 30.2k

Only top scored, non community-wiki answers of a minimum length are eligible