We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [encoding]

The process and techniques used when storing moving images, sound, metadata and other streams as a digital file.

Filter by
Sorted by
Tagged with
21
votes
4answers
57k views

How to losslessly encode a jpg image sequence to a video in ffmpeg?

I have a large set of jpgs that I want to convert to a video losslessly (or, at the very least, very close to losslessly as long as the encoding time isn't much higher than otherwise). Naively, I ...
16
votes
5answers
22k views

How to encode Apple ProRes on Windows or Linux?

Is it also possible to encode video with Apple ProRes on Windows and Linux?
15
votes
3answers
12k views

H.264 or VP9 for encoding for YouTube?

I make short films which I distribute through YouTube. I know YouTube uses VP9 for streaming, but YouTube still recommends uploading with h.264. It makes more sense to me to upload in as similar a ...
12
votes
3answers
51k views

Why processor is “better” for encoding than GPU?

I was reading this article and I saw that a CPU is better for video compression than a GPU. The article only says that happens because the processor can handle more complex algorithms than the GPU, ...
8
votes
5answers
64k views

How to force Adobe Media Encoder to use 100% CPU and memory?

On my machine, Adobe Media Encoder is very slow. It takes 12 hours to render 4 minutes of 1080p video for YouTube (the video is based on Adobe After Effects project with an original MOV file and four ...
8
votes
3answers
8k views

YouTube Compression: Why?

There's a lot of advice on the internet on encoding settings to apply to your video before uploading to YouTube (https://support.google.com/youtube/answer/1722171?hl=en, ...
7
votes
2answers
6k views

Add image under the video with ffmepg

I want to extend basic usage of watermark and put it under the video. That means. I have input video 720x480 and image 720x20. On output i want to have video 720x500 where video aspect is preserved ...
7
votes
4answers
6k views

Minimal working frame rate for H264 codec

When making a video from single image files whereas each image file should be visible for about one second, it does make sense to encode a video with an extremely low frame rate such as 1 frame per ...
7
votes
2answers
3k views

Is there an existing video format that records per-frame metadata?

I wish to stream a video with dynamic metadata. I know I could just steam the video and metadata separately, but ideally I'd like them to be bound permanently. Is there an existing protocol / ...
6
votes
1answer
25k views

8bit vs 10bit vs 12bit

I do a lot of HEVC encoding and what I've read is 10bit is always better than 8bit, even from an 8bit source, because it avoids rounding errors. Is that true? Also, then is 12bit better than 10bit or ...
6
votes
1answer
2k views

Creating menu for a video file (not for DVD)

I need to create a menu for a video, which will be written onto a disk not in a DVD format, but as a single file (f.e. mp4). The problem is that programs such as Adobe Encore are not able (as far as I'...
6
votes
1answer
1k views

How do I speedup encoding of a video that has just 1 static frame with ffmpeg and lib264 library?

I'm making mp4 (libx264 + aac) videos that have just one static image throughout the whole video. It's basically a narrated text with a nice background. The question I've is how could I speed up ...
5
votes
3answers
4k views

ffmpeg- What's the difference between “NN000/1000 fps” and “NN000/1001 fps”?

I'm trying to select the correct capture options for ffmpeg and I'm confused by this kind of listing: [decklink @ 00000000010564c0] 17 3840x2160 at 24000/1001 fps [decklink @ 00000000010564c0] ...
5
votes
2answers
4k views

Removing MP4 encoding information

Is it possible to remove certain information form a MP4 file? Specifically things like tagging and encoding dates, Writing library and application, Encoding settings... No client needs to know when I ...
5
votes
3answers
172 views

Is it possible to encode video using the same codec and container but different parameters for different scenes?

I know that it's very hard to find out best encoding parameters for a whole video file. Wouldn't it be easier to just go through the video and find out the best parameters for different parts (or ...
5
votes
3answers
1k views

how to add video title without re-encoding the video

How can I add a video title, in the start of a video, without re-encoding the actual video and losing the quality? is it possible in iMovie or Adobe Premiere Pro ? or even any Windows software? is it ...
5
votes
1answer
419 views

What is the colour range of most videos?

Colour range (Limited, Expanded) is something I've only thought of recently, and I'm worried I may have introduced colour banding into some of my videos. When doing a standard MP4 export from ffmpeg, ...
5
votes
1answer
4k views

How should I encode my 4K video stream?

I'm capturing uncompressed 4K video from my Sony A7R II via a video capture device, and am using ffmpeg to save the video. My problem is I don't know what codec to use. The two options I tried are: ...
5
votes
1answer
757 views

Bad quality encodes to Prores4444 with alpha from ffmpeg

EDIT: This bug has been fixed. If you're experiencing the problem below, try updating ffmpeg I need to supply video with alpha as a prores4444 encoded file. I've been trying to use ffmpeg, but for ...
5
votes
2answers
2k views

How many NVIDIA NVENC engines a particular GPU have?

There is a NVIDIA VIDEO CODEC SDK APPLICATION NOTE - ENCODER in which we can read the following: While Kepler and first generation Maxwell GPUs had one NVENC engine, certain variants of the ...
5
votes
1answer
815 views

Adobe Encoder fps and duration doesn't match

I have After Effects project file 25 fps, 29 seconds duration long. After exporting i get 725 png files - looks normal so far. But then i merge it to mp4 using Adobe Encoder, I get total 24 seconds ...
5
votes
1answer
772 views

Largest input image size when encoding a video?

I got a bunch of really large 16 bit videos, approaching 65535×65535 pixels in size. These are essentially high quality timelapse panoramas. I want to convert them to a 7680×4320 movie (8K UHD, 8 bit)....
4
votes
6answers
3k views

Does repeatedly saving a video degrade its quality?

I take a video file, let's say an mp4, and use, let's say Windows Movie Maker, to repeatedly just save it, with no edits. Every time, the software has to convert the video into a format it can edit, ...
4
votes
3answers
16k views

Why is Adobe Media Encoder so slow?

I have a 2.5 hour corporate event that I edited in Premiere Pro. There are AE clips, sound, imported video, the works. When I run it out to AME, the source resolution is 1440x1080 and I am ...
4
votes
1answer
1k views

how to Rotate a 3gp video without re-encoding

I created a video in my cellphone holding the phone in portrait mode. The video is 720p and it looks perfectly fine in cell phone. I copied it on computer and when viewing it, the video looks 90 ...
4
votes
3answers
2k views

h264 settings for large flat areas of slowly changing colour

I'm doing an animation for a projection mapping that simulates the sun casting shadows on a structure as it moves through the sky. Basically it's just big flat areas of colour that change over about ...
4
votes
1answer
1k views

What's different between Premiere's own h.264 and QT h.264 encoders?

I noticed that Premiere(CC2017) can export h.264 through its own encoder and QuickTime. Are there any / what are the differences between these two? PP Native h.264 encoder QT h.264 encoder
4
votes
1answer
2k views

What are the differences between the three bundled ffmpeg prores encoders?

I'm using ffmpeg and while looking through the list of codes with ffmpeg -codecs I realized there are actually three different prores encoders: prores prores_aw prores_ks What are the differences ...
4
votes
3answers
124 views

Trading off resolution vs quality

I have some 720p 30FPS H.264 video that I want to downsample for online backup. I want to get to somewhere around 10% to 20% of the existing size, which will evidently require a large sacrifice in ...
4
votes
2answers
2k views

What is the correct MPEG-2 FourCC?

In my attempts to encode a video to MPEG-2 in an MOV (which seems to be a valid combination, at least according to Wikipedia), using ffmpeg (-vcodec mpeg2video) and other tools, I have become ...
4
votes
1answer
4k views

How to specify CRF quality settings for different encoding software

Is there a way of specifying a quality setting for h.264 that is not software dependant? I'm trying to help a colleague create a specification for outside contractors when they deliver video to us ...
4
votes
2answers
8k views

Adobe After Effects MP4 Export Issue

I'm trying to export a composition from Adobe After Effects. My Comp is 1280x720, and ideally I'd export with an mp4 container, and h264 video codec. Problem is, After Effects is giving me a PAR error,...
4
votes
3answers
756 views

Is there a way to improve quality for videos with snow/confetti/LCD in background?

The effect I'm referring to: Essentially, the snow/confetti in the shot means lots of motion, hence a lot of the available bitrate is taken up by it, thereby ...
4
votes
2answers
997 views

Upscaling or downscaling videos

I was wondering, is upscaling from the videoplayer worse then upscaling the video during encode? For example, consider the original source of a video is 640 x 480. Which of the following will produce ...
4
votes
3answers
318 views

Recommended Encoding for VHS to Digital to be Followed by Post Processing

I have VHS tapes that I want to digitize. I started this using something like Pinnacle's Dazzle. I notice that the only encoding options were for compressed video, which could lead to quality ...
4
votes
2answers
940 views

Using ffmpeg to add height (as black bars) to video file without quality loss

I have a file of resolution 3840x1632, but my TV stretches the picture vertically to fill up all 2160 pixels of height. Is it possible to use ffmpeg to add blank / black height, while preserving the ...
4
votes
2answers
186 views

Free software for batch basic editing and down-sampling

I have a bunch of TV shows in HD that I want to down-sample to SD and at the same time strip out the titles and credits. Handbrake has great encoding and can handle batches, but I can't find a way to ...
4
votes
1answer
976 views

Encode video for html5 and javascript controlled playback

I want to create something like Apples Mac Pro product page http://www.apple.com/de/mac-pro/ where html5 video playback is being controlled via javascript (by manually setting the currentTime ...
3
votes
2answers
119 views

4:3 video has 720x480 resolution

I was trying to do some video editing and encoding. I have a so-called SD video that should supposedly be in 4:3 aspect ratio. But instead of 640x480, it is 720x480. Interestingly, when I play it with ...
3
votes
1answer
23k views

Faster deinterlacing with ffmpeg and yadif

We are using two-step encoding with ffmpeg to encode raw .mov files to multiple .mp4 encodings ready for streaming over the Internet. Some of the videos are interlaced and we are using yadif to ...
3
votes
4answers
4k views

What is the most compatible compression/Codec to in Handbrake use for video that will be played in Chrome and Safari browsers?

I am going to re-sample a bunch of videos to be played through web browsers. (Current video is large, 3 MB for a 4s clip. Hoping to compress by 90%). Use: These videos will be played in a web-based ...
3
votes
3answers
4k views

For a given bitrate, what video resolution is perceived as the highest quality?

I'd like to achieve certain approximate bitrate for video encoding. If I use higher resolution like 720p, I'll get more fine-grained image, but more encoding artifacts. If I use smaller resolution ...
3
votes
1answer
2k views

How to encode for YouTube with ffmpeg?

I just read Recommended upload encoding settings article from official google support. I think this is the best settings for encoding my youtube videos. Can you help me find out how to encode that ...
3
votes
1answer
987 views

Digitize a VHS tape with FFmpeg and get a live preview

Digitize a VHS tape with FFmpeg On this thread, I found a perfect command to digitize a VHS tape with FFmpeg using a USB video grabber. All good with that; it works like a charm. Acceptable bitrate, ...
3
votes
2answers
2k views

why is a video file with .mts extension so huge?

I just recorded a 2 minute long video clip with my Sony camera. The output is an .MTS file, which is ~450 MB. What is the reason for that? Could you please recommend a (preferably free) app that I ...
3
votes
3answers
268 views

How do I know if a video file is encoded perfectly or not?

I have to encode (transcode) many video files (usually from AVI to MP4). But to see if the encoded files are correct or not I will play all the files manually, which is rather tedious. Is there any ...
3
votes
2answers
611 views

Why does variable bitrate still have a bitrate specified?

My understanding is that the vorbis algorithm uses a variable rate of encoding. So, when encoding videos with audio in vorbis format, why does Handbrake ask me for a bitrate? What does Handbrake do ...
3
votes
2answers
2k views

What is the underlying difference between motion compensation and motion estimation?

I know that motion estimation has to do with calculating motion vectors, but where does motion compensation come into play. Can't we just do it with motion vectors, since, we are still calculating the ...
3
votes
2answers
324 views

How should I interpret the results from Netflix VMAF

I've been encoding some clips and then analyzing them with the VMAF tool from Netflix, but I don't know how to understand the results. This is the overall mean section of one of my tests. ...
3
votes
2answers
1k views

CPU Selection for video encoding

I have been perusing this page: https://openbenchmarking.org/showdown/pts/ffmpeg Something doesn't make sense to me, I am looking at the following CPU's: Intel® Xeon® Processor E5-2650L v3 (30M ...