Upvote Upvoted 2 Downvote Downvoted
help with encoding pls
posted in Videos
1
#1
0 Frags +

in short
my videos get destroyed by youtube making them look as if they were 24 fps even though theyre not and theyre also super pixelated (example: https://www.youtube.com/watch?v=kagREO4VM8k)
i want to make them look smooth
i render avi from sonyvegas into mp4 with an h264 encoder
tried bitrate from 8000 to 18000 nothing changed
i thought maybe some of the fragvideo ppl could share their secrets with me

in short
my videos get destroyed by youtube making them look as if they were 24 fps even though theyre not and theyre also super pixelated (example: https://www.youtube.com/watch?v=kagREO4VM8k)
i want to make them look smooth
i render avi from sonyvegas into mp4 with an h264 encoder
tried bitrate from 8000 to 18000 nothing changed
i thought maybe some of the fragvideo ppl could share their secrets with me
2
#2
refresh.tf
0 Frags +

This may sound stupid but did you check the fps of the source material before rendering?

This may sound stupid but did you check the fps of the source material before rendering?
3
#3
0 Frags +

yes its 60 fps

yes its 60 fps
4
#4
11 Frags +

TL;DR Upscale your export resolution to trick YouTube into using its better codec when encoding your video. Increase your export bitrate according to your new export resolution.

It is my understanding that YouTube will always re-encode your video with the h264 codec regardless of your upload format. From this point, depending on the popularity of your channel, it will decide whether or not to additionally encode your video with the vp9 codec. The vp9 codec is said to provide better resolution than h264 without increasing the required bitrate (doesn't extend buffer times). Read what YouTube have to say about it here.

To check which codec has been used on any given YouTube video, right click then click Stats for nerds. Doing this on your video yields this window:

https://puu.sh/wdmky/2bd63d99ae.png

We're interested in the following line: Mime Type: video/mp4; codecs="avc1.64002a"

codecs="avc1.64002a" means that your video was only re-encoded by YouTube with the h264 codec. Although YouTube has not deemed your channel popular enough to earn vp9 by default (join the club), it is still possible using any of the emerging methods.

Of the few methods I've come across, the most consistent is to upscale your export resolution to 2k (2560×1440) or 4k (3840×2160) despite the source footage being of presumably 1920×1080. This forces your video to be re-encoded in vp9 following the initial re-encoding in h264. This means that if you upscale your video, upload it to YouTube and promptly check which codec it has used, it will list "avc1.64002a" until it has finished processing in vp9. When you have successfully attained the vp9 codec on your video, the window will read:

Mime Type: video/webm; codecs="vp9"

Although I stated earlier that the vp9 codec itself does not require a higher bitrate, using this method does. This is as you are upscaling to a higher resolution in your export - not because of the codec. The recommended upload encoding settings provided by YouTube here state that the ideal bitrate for 2k and 4k videos is 24 Mbps and 53-68 Mbps respectively. The bitrate you decide on will depend on your internet speed and patience, both for upload time and re-encode time. From my personal render tests, increasing the bitrate significantly beyond these suggestions provides little return.

Don't be confused by the upscaling; a vp9 YouTube video being watched in 1080p60 will still look better than a h264 (avc1.64002a) video being watched in 1080p60.

Sorry for turning this into a huge text dump, I wanted it to be as complete as possible to avoid an influx of queries. That being said, its fairly late for me rn so if what I've said doesn't make sense then ask for clarification.

[b]TL;DR[/b] Upscale your export resolution to trick YouTube into using its better codec when encoding your video. Increase your export bitrate according to your new export resolution.



It is my understanding that YouTube will always re-encode your video with the h264 codec regardless of your upload format. From this point, depending on the popularity of your channel, it will decide whether or not to additionally encode your video with the vp9 codec. The vp9 codec is said to provide better resolution than h264 without increasing the required bitrate (doesn't extend buffer times). Read what YouTube have to say about it [i][url=https://youtube-eng.googleblog.com/2015/04/vp9-faster-better-buffer-free-youtube.html]here[/url][/i].

To check which codec has been used on any given YouTube video, right click then click [i]Stats for nerds[/i]. Doing this on your video yields this window:

https://puu.sh/wdmky/2bd63d99ae.png

We're interested in the following line: [i]Mime Type: video/mp4; codecs="avc1.64002a"[/i]

[i]codecs="avc1.64002a"[/i] means that your video was only re-encoded by YouTube with the h264 codec. Although YouTube has not deemed your channel popular enough to earn vp9 by default (join the club), it is still possible using any of the emerging methods.

Of the few methods I've come across, the most consistent is to upscale your export resolution to 2k (2560×1440) or 4k (3840×2160) despite the source footage being of presumably 1920×1080. This forces your video to be re-encoded in vp9 following the initial re-encoding in h264. This means that if you upscale your video, upload it to YouTube and promptly check which codec it has used, it will list [i]"avc1.64002a"[/i] until it has finished processing in vp9. When you have successfully attained the vp9 codec on your video, the window will read:

[i]Mime Type: video/webm; codecs="vp9"[/i]

Although I stated earlier that the vp9 codec itself does not require a higher bitrate, using this method does. This is as you are upscaling to a higher resolution in your export - not because of the codec. The recommended upload encoding settings provided by YouTube [url=https://support.google.com/youtube/answer/1722171?hl=en]here[/url] state that the ideal bitrate for 2k and 4k videos is 24 Mbps and 53-68 Mbps respectively. The bitrate you decide on will depend on your internet speed and patience, both for upload time and re-encode time. From my personal render tests, increasing the bitrate significantly beyond these suggestions provides little return.

Don't be confused by the upscaling; a vp9 YouTube video being watched in 1080p60 will still look better than a h264 (avc1.64002a) video being watched in 1080p60.

Sorry for turning this into a huge text dump, I wanted it to be as complete as possible to avoid an influx of queries. That being said, its fairly late for me rn so if what I've said doesn't make sense then ask for clarification.
5
#5
1 Frags +

make sure you don't get quality loss going into vegas (use uncompressed or lossless avi)
frameblending from 300 or even 600fps source footage will make the result a lot smoother.

make sure you don't get quality loss going into vegas (use uncompressed or lossless avi)
frameblending from 300 or even 600fps source footage will make the result a lot smoother.
6
#6
0 Frags +

thanks for the help boys

thanks for the help boys
7
#7
0 Frags +

upscaling shouldnt be too necessary, you should just increase your bitrate. i use between 25k and 35k. if you want to increase the encoding on youtube you can actually resize your game to 2560 by 1440 with statusspec https://drive.google.com/file/d/0BxF7tX-pDxZbcTBpZE1QSEJtQXM/view

just install that and use the command statusspec_resolution_set 2560 1440

upscaling shouldnt be too necessary, you should just increase your bitrate. i use between 25k and 35k. if you want to increase the encoding on youtube you can actually resize your game to 2560 by 1440 with statusspec https://drive.google.com/file/d/0BxF7tX-pDxZbcTBpZE1QSEJtQXM/view

just install that and use the command statusspec_resolution_set 2560 1440
8
#8
0 Frags +

i did what you said pause and it worked, the codec did change to vp9 but the video still appears to be extremely choppy for me https://www.youtube.com/watch?v=bWi91J0pScs&feature=youtu.be is it low fps for you guys aswell because there is a chance its like that only on my end
edit: it doesnt even show 1440p anymore aaaaaaaaaaaaaaaaaa i think i just have to live with it

i did what you said pause and it worked, the codec did change to vp9 but the video still appears to be extremely choppy for me https://www.youtube.com/watch?v=bWi91J0pScs&feature=youtu.be is it low fps for you guys aswell because there is a chance its like that only on my end
edit: it doesnt even show 1440p anymore aaaaaaaaaaaaaaaaaa i think i just have to live with it
Please sign in through STEAM to post a comment.