I know that it is possible to change the duration of a video without reencoding. https://www.youtube.com/watch?v=oT1xIYC2f3U
Say I have a DVD video I want to upload for YouTube in good quality. Can I change the pixel information from e.g. 720x576 to 1440x1080 without reencoding at all?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 23 of 23
Thread
-
-
For local playback it is possible with certain codecs & containers, to have a crop setting (downward) where for example you start with a 720x480 and display only 704x360, but there is NO way to resize up without re-encoding (other than runtime playback window expansion).
But upsizing doesn't give you any new detail anyway, so there are few reasons to do it (other than the well-known YT HD/SD threshold, or compilation editing with other HD material).
Scott -
No. You must re-encode to increase a video's resolution. (A video's resolution is the video's width by height in pixels.)
... but Scott's explanation is better.Ignore list: hello_hello, tried, TechLord, Snoopy329 -
-
I don't know what Youtube will do with it but it's possible to lie about the frame size in the MPEG headers. Try DVDPatcher.
-
Oh my goodness! It works to change the pixel info too! On windows properties, it shows that I changed it to 1350x1080 pixels. On MediaInfo it still says 720x576. I made a test post on YouTube and it works! This is awesome. Won't have to spend time re-encoding anymore. https://youtu.be/P-fukf3k7r0
-
If I changed the pixels to 4k, I could upload basically a totally identical video with a much smaller file size.
-
Well I'll be blowed! I patched the "first header only" ie not "entire file", of a 720x576 MPEG 2 file to 1920x1440 and YT encoded it HD in VP9. Impressive.
I did try the "entire file" option too but got a grey box covering most of the YT screen.
I'm not sure how good YT's upscaling is though. -
-
1350x1080 because when I tried 1440, the playback stretched my video wider than the 4:3 ratio. I'd rather let YouTube take care of upscaling and re-encoding than to re-encode twice, but frankly that's just an opinion. The only major con IMO about using DVDPatcher is that I can't use the Yadifx2 filter, that's not the program's fault.
-
1440x1080 at 1:1 PAR *IS* 4:3 DAR, so something else must be odd about your material.
Scott -
The pixels of my DVD PAL are 5:4. It displays as 4:3 despite the pixels. Therefore, when I increase the pixel number, I have to keep 5:4. It does display as 4:3 on playback. I've tried this with multiple PAL DVD videos.
-
when I increase the pixel number, I have to keep 5:4
When you upscale your 720x576 frame you start from a SAR (Sample Aspect Ratio) = 5/4, a DAR (Display Aspect Ratio) = 4:3 and then a PAR = 16/15 (PAR = DAR / SAR)
If upscaling to 1080 heigth, 1080/3*4=1440, so frame size is 1440x1080.
You have finally SAR=4/3, DAR=4/3 and PAR=1, as Cornucopia properly said. -
Note that shampistols69 is not resizing, he's lying to youtube about the frame size of his uploaded video. It may be that youtube is using the original sampling aspect ratio (implied 16:15) when it scales. That would make a fake 1350x1080 the correct size -- adding a 16:15 SAR to that will result in a 1440x1080 square pixel upscaled size.
-
Yes, correct for YT processing, but shampistols69 said "I've tried this with multiple PAL DVD videos", hence my doubt. It's probably a misunderstanding...
-
My test video in post #9 (1920x1440) was set to 4:3 in DVDPatcher and it displayed correctly as 4:3 on Youtube. I just tested 720x576 4:3 patched to 1440x1080 4:3 and it displays correctly in YT.
VLC Player also displays it correctly as 4:3.
Originally Posted by shampistols69 -
MPC-BE. I tried what you did and played the video with VLC. It shows the correct ratio on VLC, but not the program I was using. I did some other tests. The horizontal size actually does not matter for uploading to YouTube or viewing on VLC. The correct ratio will be shown on VLC and YouTube regardless of the horizontal size. Might as well keep it the same.
-
I'm trying to find a way now to do this with MP4 videos. Maybe it can be done with a hex editor, but learning it seems mildly difficult.
-
The correct ratio will be shown on VLC and YouTube regardless of the horizontal size
If you specify "Default" it will read the DAR in the file and display accordingly. If the DAR is not specified in the file (i.e. for avi video), the SAR is used (which often is different than DAR, giving wrong proportion)
If you specify "4:3" it will display as such. -
It turns out that for MKV containers it's best to use e.g. 1350x1080 pixels or else it will stretch on YouTube.
-
Just remux to MKV and use MKVmergeGUI to change the header https://youtu.be/HaYOTAz4ew0
-
That method won't translate on YouTube though. Maybe other settings in the GUI have to be tweaked.
Similar Threads
-
In SSA/ASS, how to change positioning just by a few pixels? POS tag glitchy
By dimailer in forum SubtitleReplies: 0Last Post: 3rd May 2020, 11:44 -
10-Bit Pixels
By chris319 in forum ProgrammingReplies: 35Last Post: 5th Mar 2020, 18:18 -
how to know the position of pixels in a picture
By jraju in forum Newbie / General discussionsReplies: 29Last Post: 17th Oct 2019, 02:42 -
Reading 4:2:2 Pixels
By chris319 in forum ProgrammingReplies: 66Last Post: 23rd Jan 2019, 18:56 -
Can I change the pixel aspect ratio in an x264 AVI without reencoding?
By Calidore in forum Video ConversionReplies: 24Last Post: 16th May 2018, 17:24