My workmate sent me an H.264 encoded MP4 video file.
When I use Get Info in macOS, it's dimensions is 1125x2436. However, if I open the file in Quicktime Player or VLC and check the metadata, they all display 1126x2436 instead.
Also ffprobe says it's yuv420p, 1126x2436. Check the image below.
[Attachment 50604 - Click to enlarge]
I found an app called Subler earlier. It displays the video's metadata as shown below.
[Attachment 50605 - Click to enlarge]
After I generate a video using ffmpeg of size 1126x2436, how do I make the system display 1125x2436 without changing the real dimension? I'm looking for a tool which can do this in Linux command line.
I know this sounds a bit weird, but my client requests that dimension because the iPhone X's screen resolution is 1125x2436 and he wants the exact fit.
Any ideas? Thanks.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
Set the SAR to 1125:1126. Or DAR to 1125:2436.
Last edited by jagabo; 21st Oct 2019 at 12:34.
-
Thanks for pointing out the properties.
When I directly setCode:-vf setsar=sar=1125/1126
Code:-vf setdar=dar=1125/2436
However, I can also use mlt(qmelt) in my case. By addingCode:sample_aspect_num="1125" sample_aspect_den="1126" display_aspect_num="1125" display_aspect_den="2436"
Similar Threads
-
Matroska with improperly encoded video
By zhenya_hacker in forum Newbie / General discussionsReplies: 30Last Post: 21st Jun 2017, 19:05 -
Periodic jerkiness to encoded video?
By Tyler.Durden in forum Newbie / General discussionsReplies: 7Last Post: 18th Sep 2015, 08:39 -
how do i determine what format a video is encoded to ?
By vhelp in forum ProgrammingReplies: 8Last Post: 31st Aug 2015, 17:38 -
Can proxy videos be scaled down in Vegas?
By lonrot in forum Newbie / General discussionsReplies: 5Last Post: 20th Nov 2014, 09:00 -
Jitter in encoded SD MPEG-2 from MBAFF H.264 1080i file - why?
By Killer3737 in forum Video ConversionReplies: 21Last Post: 4th Nov 2014, 11:25