Questions tagged [encoding]
The process and techniques used when storing moving images, sound, metadata and other streams as a digital file.
354
questions
37
votes
4
answers
92k
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 ...
20
votes
5
answers
38k
views
How to encode Apple ProRes on Windows or Linux?
Is it also possible to encode video with Apple ProRes on Windows and Linux?
19
votes
3
answers
64k
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, ...
15
votes
3
answers
17k
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 ...
14
votes
3
answers
41k
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 ...
12
votes
1
answer
6k
views
How is this .mp4 file 596523 hours long?
I came across this joke mp4 file online. (Warning: direct download link to an 8 mb file.) Media players as well as ffmpeg both list the file as having a length of 596523:14:07.00 (!). My first guess ...
11
votes
1
answer
15k
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 ...
11
votes
2
answers
7k
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 / ...
9
votes
3
answers
9k
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] ...
9
votes
7
answers
113k
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 ...
9
votes
3
answers
11k
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
2
answers
9k
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
4
answers
13k
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
1
answer
4k
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, ...
7
votes
3
answers
4k
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 ...
6
votes
2
answers
9k
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 ...
6
votes
3
answers
334
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 ...
6
votes
4
answers
2k
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 ...
6
votes
1
answer
3k
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
1
answer
2k
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
3
answers
2k
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.
...
5
votes
2
answers
4k
views
How to extract each video scene with FFmpeg
I'm trying to detect scenes and save them as individual files with FFmpeg. I found this long command somewhere, but it fails with a good detection. I change the scenecut value, but I don't see any ...
5
votes
1
answer
1k
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
3
answers
3k
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
1
answer
8k
views
Is it safe to use the yuva420 pix_format option with ffmpeg to encode webm videos?
I am encoding png image sequences to both webm and mp4 formats using ffmpeg. My goal is to achieve perceptually lossless videos, with the smallest file size I can reasonably achieve.
The webm videos ...
5
votes
1
answer
6k
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
1
answer
2k
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
2
answers
3k
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
2
answers
1k
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 ...
5
votes
1
answer
2k
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 ...
5
votes
1
answer
2k
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
1
answer
2k
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
2
answers
5k
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 ...
4
votes
3
answers
17k
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
6
answers
8k
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
4
answers
6k
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 ...
4
votes
2
answers
1k
views
How to optimize already-encoded videos of still images (e.g. presentation slides)?
I have a H264 video that is, for the most part, just a video of presentation slides.
It doesn't seem to me that it's as well-compressed as it could be.
Given that it's a video of presentation slides, ...
4
votes
1
answer
2k
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
3
answers
3k
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
1
answer
3k
views
Resuming a partially-completed encode with FFmpeg
Summary
Given a partially completed encode that:
Was encoded using h264 in the Matroska container
Was cut short by manually stopping FFmpeg by typing 'q' in the console
...what are the ways to ...
4
votes
1
answer
2k
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
3
answers
3k
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
2
answers
4k
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 ...
4
votes
2
answers
781
views
What does the `-context` parameter mean when using FFV1 in ffmpeg
In the docs for FFV1 there's a parameter -context, which can be set to 'small' or 'large'. That's all the documentation I can find.
While I'm at it, what are the relative benefits of the different ...
4
votes
1
answer
8k
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
3
answers
166
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
1
answer
5k
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
3
answers
1k
views
Is reencoding a YUV 4:2:0 video in a 4:2:0 colour space lossless?
I have a video that is stored in the YUV 4:2:0 colour space. Assuming I used a lossless video codec but set the output colour space to YUV 4:2:0, would this still be a lossless encode or would I have ...
4
votes
4
answers
583
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
2
answers
9k
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,...