Questions tagged [scale]
The scale tag has no usage guidance.
36
questions
1
vote
1answer
277 views
ffmpeg vf scale shifts colors to washed out
Im trying to scale video down. No matter what I do the colors are always washed up as a result.
original:
After scaling:
Code I run for it
ffmpeg -i input.mkv -vf scale=1028:-1 output.mkv
log: log
...
0
votes
0answers
194 views
Scale video without keeping aspect ratio in ffmpeg
I want to make a video 'wide', so the width is increased and the height stays the same as of the input image. I use the following command: ffmpeg -i test.mp4 -vf scale="1000:200" output.mp4. ...
0
votes
0answers
41 views
ffmpeg scale subtitle file from HD to anamorphic SD
I have a 1080p source video that I'd like to scale to anamorphic (widescreen) SD. I'm scaling the video just fine, and the subtitle (hdmv_pgs_subtitle) is scaled, too, but appears stretched and right-...
0
votes
1answer
98 views
FFMPEG - Crop and Chromakey not working together?
Having an issue with the chromakey portion not working after the scale. Any ideas?
ffmpeg -i background1080.png -i file.mp4 -filter_complex "[1]scale=1612:906[inner];[0][inner]overlay=154:170; [1:v]...
1
vote
1answer
150 views
FFmpeg Batch encoding error: CRF/CQP is incompatible with 2pass
I am trying to create a batch file with 2 passes. Pass 1 scales the video. Pass 2 pads a border around it. They both work separately but will not work together.
Pass 1:
@echo off
REM Scale video to ...
8
votes
3answers
3k views
How do the super resolution filters in FFmpeg work?
I need to incorporate a small amount of 1080p HD shots in a 2160p 4K composition. I'm not impressed by default upscaling techniques like lanczos/bicubic/trilinear; it seems like my television does a ...
0
votes
1answer
309 views
How to fix scale Key-framing issue
I have been facing an issue with my Premiere Pro for a while now and no matter how hard I tried to find a solution, I never managed to find something that will fix my specific problem so that is why I ...
1
vote
1answer
1k views
FFmpeg does not preserve colors after resizing
I would like to resize a 4K mkv video to 1920×1080 with ffmpeg version 3.4.6-0ubuntu0.18.04.1 on Ubuntu 18.04. The original file has the following features:
Input #0, matroska,webm
encoder : ...
1
vote
1answer
602 views
FFmpeg scale video filter does not working as expected
I am confused a bit. scale video filter does not scales the video to specified dimensions but doing something different.
For example:
$ youtube-dl -f 134 https://youtu.be/aqz-KE-bpKQ -o 1.mp4 # ...
0
votes
1answer
366 views
ffmpeg fade in from center (with scale image)
I'm trying to apply the effect fade in and zoom/scale image for X seconds. I don't have problems with fade in but how to achieve effect to scale image during X seconds when the first frame is no image ...
0
votes
0answers
234 views
Convert 3d video to double 2d video using ffmpeg
I want to convert 3d video to 2d video. I saw another topic How to convert a 3D movie to 2D using ffmpeg but as far I know 3d video is build from 2 videos so I should be double output video. One for ...
0
votes
1answer
843 views
ffmpeg scaler options not working
https://ffmpeg.org/ffmpeg-scaler.html
ffmpeg -i in.png -vf scale=3840:2160 -sws_flags lanczos out.png
-vf scale=3840x2160:flags=lanczos
I went down the list upscaling a 720p image to 4k using the ...
0
votes
0answers
141 views
Upscale the key frames while decoding!
I would like to apply some kind of super-resolution (SR) to the keyframes in an H.264 video. The SR process should target the keyframes and upscale them by a factor of 2.
For the past few days, I've ...
2
votes
1answer
1k views
How to combine and optimize ffmpeg filters to avoid encoding multiple times?
I never worked with ffmpeg before and I'm wondering which optimization I can take for my situation.
In a loop I have multiple input.mp4 files which I first convert one by one to have a common scale ...
0
votes
1answer
255 views
FFmpeg scale video to desire size
I have an video with this resolution: 1920x1080,
I want to scale it to 480x852, like this video:
https://scontent-frx5-1.cdninstagram.com/vp/d7b76fe78c9ad72016b98dcda320a6ca/5BA532D8/t50.16885-16/...
0
votes
1answer
595 views
Setting different resolution for encoding and display when encoding in ffmpeg
I'd like to encode a video, say, in 960 x 720 but have video players automatically play it in 1280 x 720.
I know how to do this in 2 steps, by first encoding in 960 x 720 (ffmpeg with -vf scale=960:...
0
votes
1answer
75 views
How to expand stroke width in one direction
am trying to scale the stroke width of a shape in AE in only one direction instead of all direction equally. Please assist
4
votes
2answers
3k views
How to combine ffmpeg vf commands for resizing and color correction?
I'm currently using the following batch script to run an ffmpeg command:
@echo off
title Convert videos to Mp4 h.264 with FFMPEG.
echo This script will find all video files of a given extension then ...
2
votes
1answer
2k views
How to use ffmpeg to fade in/out a veriable frame rate video clip with unknown duration
I have been looking for a way to use ffmpeg to downscale some MPEG-4 (Base Media / Version 2) video files recorded with a variable frame rate, adding fade in/out effects at the head and tail of each ...
2
votes
3answers
8k views
Scale, position, and zoom a still image in Premiere Pro CC
I have a photo collage I am trying to move around, scale, position, and zoom in and out of on the images with in the collage. Whenever I go to scale out of the first image and move to the second image ...
3
votes
1answer
4k views
What is the difference between 'Set To Frame Size' and 'Scale To Frame Size'?
In Premiere Pro CC; what is the difference between 'Set To Frame Size' and 'Scale To Frame Size'?
I need to blow up a video to fill a larger frame. I am going from SD 720x480 to HD 720x1280 frame ...
3
votes
2answers
2k views
How can I scale more than 300% in Premiere?
I am using the transform effect to scale a clip. I need a scale of around 500%, however the scale control seems to be limited to 300%.
Is there any way I can scale the clip more than 300% using the ...
1
vote
1answer
1k views
I scaled down a video, but the bit rate does not change
I have a 3000 by 3000 VR video encoded in H264. I scaled down the video by
ffmpeg -i input.mp4 -vf scale=2160:2160 output.mp4
To my surprise, the bit rate of output.mp4 did not decrease (in fact, it ...
0
votes
2answers
174 views
Making video content for 30' x 10' 3:1 Widescreen
Looking for some help on how content should be created for an upcoming show with super widescreen blend on it.
The show consists of a 30' x 10' front projection screen with unblended resolution of ...
9
votes
2answers
12k views
How to convert a 3D movie to 2D using ffmpeg
I am looking for a way to convert a 3d movie to a 2d movie.
I found a reference on this forum.
http://www.ffmpeg-archive.org/How-to-re-encode-3d-video-to-2d-video-td4676271.html
3
votes
1answer
3k views
Scaling videos of variable size to a fixed aspect ratio
I have 45 videos of varying aspect ratios and resolutions.
I need to scale all of them so that they fit neatly inside a 640x360 (16x9) container with the following specs:
16x9, 640x360, 1600kbps, H....
3
votes
2answers
4k views
Downscaling 4K YUV420 to 1080p YUV444 with ffmpeg introduces red tint
I am downscaling 4K YUV420 video from the Panasonic LX100 to Full HD YUV444 using the ffmpeg console in Windows, and a script provided by user karl on the Personal View forum, modified for outputting ...
0
votes
2answers
5k views
Downscaling 4k to 1080p in Premiere Pro, Image Zooming 2x
When I drop 4k footage onto the timeline in Premiere Pro, I get a 4k sequence. When I change the sequence to 1080p, the image zooms in. This makes sense. I then scale the image back 50% and I'm back ...
1
vote
1answer
633 views
Converting a Video from 1600*1200 to 1920*1080
How can I convert a video from 1600*1200 to 1920*1080 ?
I know that the aspect will be not correct, but I just like to do.
With Handbrake I can't do it, because it will not allow me to go beyond the ...
2
votes
1answer
1k views
Width and Height troubles
I am new to AE, and hope this question makes sense for you and is easy to answer.
On my website I have some images in portrait format with 2085 × 2560 px. Now I will add a mp4 video file, which will ...
1
vote
2answers
667 views
How to scale a layer in pixelated fashion in After Effects?
How to scale a layer in pixelated fashion? I.e. each pixel of the image will grow to the block of pixels in the final scene without smoothing or blending (see picture below):
WORKAROUND
To achieve ...
5
votes
1answer
3k views
ffmpeg - resize and crop
I want to know how to use the scale filter to take an image that is 2154x1136 and scale it down exactly 89.04% such that the image sits in a 1920x1080 frame, with full image left and right and black ...
5
votes
2answers
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 ...
1
vote
0answers
460 views
Trouble scaling 2880x1800 to 1080p without blurring in Premiere Pro
I have a project I'm producing where the source clips are generated from Quicktime doing a screen recording. The dimensions are 2880 x 1800, 60fps.
The source dimensions are a little unusual, but ...
0
votes
1answer
556 views
Best presets to scale legacy 4:3 and 5:4 videos using ffmpeg
We have videos in row format (.mov) that are 4:3 (768x576) and 5:4 (720x576). We have a recommended preset for streaming over DASH to HTML5 and Silverlight players (this is the second pass):
ffmpeg -...
0
votes
2answers
2k views
replace a clip with a different size clip but keep the scale in Premiere CC
I have edited a 640 x 360 clip into a sequence in Premiere CC. The sequence includes changes to the scale for different shots. Now I want to replace the 640 x 360 clip with a 1920 x 1080 version of ...