Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th April 2009, 13:05   #21  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by chaynik View Post
I've had great luck uploading FFV1 (ffmpeg's implementation of huffyuv) to youtube.
FFV1 has absolutely nothing to do with HuffYUV.
Quote:
Originally Posted by chaynik View Post
Unlike huffyuv, ffv1 supports the 4:2:0 colorspace (native to h264, mpeg4, mpeg2, etc) and has some adaptive routines to further shrink down the size while remaining lossless. Perfect intermediate IMO for youtube uploads.
Perhaps you meant FFVHUFF, not FFV1?
Dark Shikari is offline   Reply With Quote
Old 29th April 2009, 13:28   #22  |  Link
chaynik
Registered User
 
Join Date: May 2002
Location: Los Angeles
Posts: 88
Yes, that's what I meant. My mistake.
chaynik is offline   Reply With Quote
Old 29th April 2009, 18:38   #23  |  Link
zilog jones
Registered User
 
zilog jones's Avatar
 
Join Date: Mar 2004
Location: Ireland
Posts: 481
That is interesting that it accepts at least one lossless codec. Anyone tried FFV1 or any others? What about MJPEG?

Regarding the vertical resolution halving issue with 480 line HQ videos, this definatley occurs with HD 720p videos too This must have been what was happening to imk's videos. To get good results with my PAL videos for both HD and HQ I upscaled to 1536x1152 - obviously being VHS sources they look quite blurry in "HD" but in the standard YouTube window they're not too shabby and there's no serious blocking or anything.

I have noticed apparent dropped frames with some of my HD videos played in HQ mode - it looks like frames are being dropped when playing within the website or using MPC+ffdshow, but when playing in VLC they look fine. Reported framerate is still 25fps. Any ideas?
zilog jones is offline   Reply With Quote
Old 29th April 2009, 20:03   #24  |  Link
imk
|ン、)
 
imk's Avatar
 
Join Date: Feb 2008
Posts: 77
Not related to quality entirely, but I found that if I upload a really high-quality MP4, YouTube will actually re-encode it with video and audio out of sync. The video will play choppy, too.
http://www.youtube.com/watch?v=hmuRCUJmDik&fmt=22


If I upload a MKV instead of a MP4, it seems to handle it fine.
imk is offline   Reply With Quote
Old 29th April 2009, 20:40   #25  |  Link
zilog jones
Registered User
 
zilog jones's Avatar
 
Join Date: Mar 2004
Location: Ireland
Posts: 481
Yes, MKV seems to be the most reliable containter - I've uploaded >20Mbit/s x264 video with no problems.

I've also noticed if you upload HD video with no audio, it will not play it back properly within the website - the loading circle keeps flickering in the centre throughout playback. If you download the video it will play fine though. I didn't try using AudioSwap to see if it is just the lack of an audio stream that causes this.
zilog jones is offline   Reply With Quote
Old 1st May 2009, 21:22   #26  |  Link
JohannesL
AviSynth/x264 user
 
JohannesL's Avatar
 
Join Date: Jan 2009
Posts: 149
I use 720p x264 encoded H.264 with --crf 20 and pretty basic settings for all of my videos, and it turns out pretty good: http://www.youtube.com/watch?v=5dYl8...el_page&fmt=22
__________________
archlinux
JohannesL is offline   Reply With Quote
Old 1st May 2009, 23:32   #27  |  Link
zilog jones
Registered User
 
zilog jones's Avatar
 
Join Date: Mar 2004
Location: Ireland
Posts: 481
That video seems to suffer from the same issue I noticed when uploading 720p, i.e. it is vertically blurred. It's very noticeable if you download the video (using one of the many Firefox plugins for example) and watch it at full size. What resolution was it rendered at? I assume it's from an emulator. You should try uploading at something like 1280x960 and compare the difference.
zilog jones is offline   Reply With Quote
Old 16th May 2009, 14:22   #28  |  Link
JohannesL
AviSynth/x264 user
 
JohannesL's Avatar
 
Join Date: Jan 2009
Posts: 149
In the beginning, only 1280x720 uploads would get HD on YouTube. SM64 is 1.429 letterboxed to 4:3, so for a while, I cropped out the borders, scaled to 1028x720 and pillarboxed to 1280x720. I recently found out any video with a height above 720 will get HD now, so I tried to crop out the borders and scale to 1280x896 and upload, and YouTube downscaled it to 1028x720. The quality is a bit better than my 1280x720 uploads.
__________________
archlinux

Last edited by JohannesL; 16th May 2009 at 18:02.
JohannesL is offline   Reply With Quote
Old 17th May 2009, 04:26   #29  |  Link
10L23r
Registered User
 
Join Date: Apr 2009
Posts: 122
is it better to upload a 640*480 vid or a 480*360 vid for regular (not hd) viewing? what resize algorithm does the encoder use?

and, does anyone know how the hell youtube's entire encoding process works
10L23r is offline   Reply With Quote
Old 17th May 2009, 04:46   #30  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by 10L23r View Post
and, does anyone know how the hell youtube's entire encoding process works
It's just your standard mencoder chain.
Dark Shikari is offline   Reply With Quote
Old 26th May 2009, 11:50   #31  |  Link
chaynik
Registered User
 
Join Date: May 2002
Location: Los Angeles
Posts: 88
Quote:
Originally Posted by Dark Shikari View Post
It's just your standard mencoder chain.
Why mencoder and not ffmpeg?
chaynik is offline   Reply With Quote
Old 26th May 2009, 13:21   #32  |  Link
Trahald
Wewkiee
 
Trahald's Avatar
 
Join Date: Feb 2002
Location: kashyyyk
Posts: 2,269
Quote:
Originally Posted by zilog jones View Post
I've also noticed if you upload HD video with no audio, it will not play it back properly within the website - the loading circle keeps flickering in the centre throughout playback. If you download the video it will play fine though. I didn't try using AudioSwap to see if it is just the lack of an audio stream that causes this.
Yeah... I post stuff with no audio and noticed that too. Never made the connection. I need to put a silent audio track in.
__________________
...yeah...but...why on earth would I compare apples with apples?
Trahald is offline   Reply With Quote
Old 26th May 2009, 14:04   #33  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by chaynik View Post
Why mencoder and not ffmpeg?
Better for handling bizarre proprietary formats due to w32codecs, probably.
Dark Shikari is offline   Reply With Quote
Old 18th June 2009, 14:57   #34  |  Link
JohannesL
AviSynth/x264 user
 
JohannesL's Avatar
 
Join Date: Jan 2009
Posts: 149
Using this Avisynth script on a 640x448 RGB video game source:

Code:
function nnedi22x(clip a) {return a.nnedi2(1,true).turnright().nnedi2(1,true).turnleft().spline36resize(a.width*2,a.height*2,-0.5,-0.5)}

avisource("Direct64.avi")
lumvid = ConvertToYV12().NNEDI22x()
chromvid = PointResize(Width()*2,Height()*2).ConvertToYV12()
MergeChroma(lumvid,chromvid)
LimitedSharpenFaster()
(Results in 1280x896 YV12)

And then encoding with x264 at CRF 21 and uploading, I got this quality:

http://www.youtube.com/watch?v=Uazn8oNRYVg&fmt=22
__________________
archlinux

Last edited by JohannesL; 20th June 2009 at 12:45.
JohannesL is offline   Reply With Quote
Reply

Tags
x264 for youtube, youtube, youtube higher quality, youtube hq videos

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:24.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.