I am recoding the live stream; many of them will adjust resolution because of PK.
For example, the resolution is 720x1280 when solo; after starting PK, the resolution becomes 900x720; after PK ends and go back to solo, the resolution becomes 720x1280 again.
These recorded video files are too big, and they are all h264, so I am trying to re-encode them to AV1 to reduce file size.
But after re-encoding, the resolution are fixed and won't be adjusted correctly like before.
[Attachment 84260 - Click to enlarge]
For example, the original file is on the left side, and the re-encoded file is on the right side.
This video starts at 900x720, PK ends and back to solo at 00:00:06, resolution changes to 720x1280.
ffplay plays the original video file, everything seems good.
ffplay plays the re-encoded video file, after 00:00:06, the resolution still keeps 900x720 and causes graphics to stretch and cut off.
Here's the command I used:
I tried to re-encode using the same codec, h264, but the same problem stillCode:ffmpeg -i original.flv -y -c:v libsvtav1 re-encode.mp4
Have no idea how to fix thisCode:ffmpeg -i original.flv -y -c:v libx264 re-encode.mp4
Here's video file: https://www.mediafire.com/file/0vaxtzurwhom8bn/ReEncode_Resolution.zip/file
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
can someone explain video resolution to me?
By frank_footer in forum Newbie / General discussionsReplies: 6Last Post: 6th Jun 2024, 01:41 -
How to know the resolution of a video ?
By Zacki in forum Video Streaming DownloadingReplies: 14Last Post: 2nd Jan 2022, 08:07 -
Detect the Resolution of a Streaming Video?
By vega69-ux in forum Video Streaming DownloadingReplies: 2Last Post: 26th Sep 2020, 16:51 -
i have a question about video resolution
By cns00 in forum Newbie / General discussionsReplies: 12Last Post: 31st Mar 2020, 14:40 -
Image in a video with a different resolution
By miguelmorin in forum EditingReplies: 6Last Post: 23rd Feb 2020, 10:54