Skip to main content

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
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 ...
GJ.'s user avatar
  • 471
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?
p2or's user avatar
  • 2,324
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 ...
stib's user avatar
  • 13.8k
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 ...
KC McLaughlin's user avatar
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 ...
eppic's user avatar
  • 145
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 ...
angel_30's user avatar
  • 353
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 ...
sruly's user avatar
  • 37
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 ...
Engkus Kusnadi's user avatar
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, ...
Peter Lake's user avatar
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 ...
Schovi's user avatar
  • 171
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 ...
Zach F.'s user avatar
  • 361
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 ...
Rosella's user avatar
  • 71
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 ...
subuleech's user avatar
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 ...
gang's user avatar
  • 153
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, ...
Jeff Caros's user avatar
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 ...
Jason C's user avatar
  • 145
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 ...
user1451111's user avatar
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,...
Zakman411's user avatar
  • 141
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 ...
Clay Nichols's user avatar
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... ...
netjiro's user avatar
  • 45
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 ...
Arek's user avatar
  • 121
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 ...
dpollitt's user avatar
  • 176
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 ...
Alexey Orekhov's user avatar
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 ...
James Norris's user avatar
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 ...
porg's user avatar
  • 151
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 ...
grovberg's user avatar
  • 121
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 ...
angel_30's user avatar
  • 353
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 ...
angel_30's user avatar
  • 353