Questions tagged [encoding]
The process and techniques used when storing moving images, sound, metadata and other streams as a digital file.
28
questions
37
votes
4
answers
94k
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
39k
views
How to encode Apple ProRes on Windows or Linux?
Is it also possible to encode video with Apple ProRes on Windows and Linux?
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 ...
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 ...
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 ...
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 ...
1
vote
1
answer
1k
views
Best export settings for still image with audio
Suppose I have a sequence in Premiere which is an audio track accompanied by a single still non-moving image (e.g. a song and the album art).
Being that there is no video (or motion of any kind), what ...
13
votes
1
answer
16k
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 ...
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
2
answers
4k
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 ...
7
votes
3
answers
5k
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 ...
7
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 ...
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 ...
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
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
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
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,...
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 ...
3
votes
1
answer
3k
views
encoding with ffmpeg libx265 -pix_fmt gray gives unplayable vid
What am I missing?
I encode an old black and white film clip with ffmpeg libx265 passing -pix_fmt gray. The output is unplayable in both vlc and mplayer (linux), so I assume I'm missing something...
...
2
votes
2
answers
311
views
What is the optimal codec and encoding parameters to encode Video Podcast?
I've got recorded PowerPoint presentation (video podcast) - static slides, mainly texts, some static infographics with voice of the presenter (speech only). It lasts about 1 hour and encoded to .avi ...
2
votes
2
answers
136
views
How can I efficiently convert MOV / MPEG-4 files for long term storage?
I have a Canon 6D DSLR that I am shooting video on. The camera is set to capture 1280x720 60fps IPB MOV / MPEG-4 files. The video files are in the range of 250MB per minute of recording. I have ...
2
votes
1
answer
71
views
How to save playable infinite video?
The situation is described here.
In short, I need a way to save infinite video real-time, playable while being saved. Suppose, there are ways to do this.
I imagine it's done like in web DASH, in ...
1
vote
1
answer
656
views
severe artifacts pixelation when using cuda rendering premiere pro
In premiere pro when I set the renderer to GPU Acceleration (CUDA), for the timeline and on media encoder export, half the video is completely messed up with lots of pixelation artifacts when I switch ...
1
vote
1
answer
484
views
How to encode scenes with different CRF into a H.264 MP4 video with a variable frame rate?
Source Material
Having many scenes which essentially are still frames (for many seconds)
Commonly found in: Slideshows, Screen Recording or Software Mockup/Prototype
✅ This kind of source material ...
1
vote
1
answer
2k
views
Variable Bitrates for Streaming?
I'm building presets for our users to convert the videos into an appropriate format for our online video repository. Since it's been awhile since I've built something like this from scratch, I've been ...
0
votes
1
answer
2k
views
Call FFmpeg filter from source code (C API)
I'm trying to find out how to call a FFmpeg filter (freezedetect) from within FFmpeg's source code. I see the filter's file is under libavfilter/vf_freezedetect.c, but I don't know how to use that ...
0
votes
1
answer
6k
views
Errors in converting mp4 to ts with FFmpeg
I was trying to convert a caption-embedded .mp4 file into a .ts file. Only command found after some search was this which uses FFmpeg:
ffmpeg -i 1559066401592889640.mp4 -c copy -bsf h264_mp4toannexb ...