DV Info Net

DV Info Net (https://www.dvinfo.net/forum/)
-   Flash / Web Video (https://www.dvinfo.net/forum/flash-web-video/)
-   -   I reached the top! Video quality on YouTube (https://www.dvinfo.net/forum/flash-web-video/139496-i-reached-top-video-quality-youtube.html)

Ervin Farkas December 12th, 2008 11:45 AM

I reached the top! Video quality on YouTube
 
... or so I think... Feel free to watch full screen:

YouTube - hdtest01

Was anyone out there able to achieve better quality?

Thanks,

Shaun Roemich December 12th, 2008 12:01 PM

WOW!

I was unimpressed until I realized I hadn't clicked on "View In HD" then EVERYTHING changed. Please share your "secret"!

Wes Coughlin December 12th, 2008 12:15 PM

Nice job. What format did you shoot in and and what where your export settings?

Niall Megahey December 12th, 2008 12:47 PM

thats so good, think youve nailed it. What was it shot with? this looks better then anything ive seen on vimeo. great depth.

Noel Lising December 12th, 2008 01:05 PM

I am at a lost here. Shaun say's he is unimpresses til he hit view in HD. Is there an english version button that I am not aware of? This looks like russian to me.

Giroud Francois December 12th, 2008 01:06 PM

i think you got one of these lucky case where content almost perfectly match the encoding.
in your case, fixed, dark background with no fine details, large surface with uniform colors, few change from picture to picture, so prediction is easy etc....
you can see that the encoder is still on the edge when the baby turns the head, and the details on the hairs goes fuzzy.

Shaun Roemich December 12th, 2008 01:11 PM

Quote:

Originally Posted by Noel Lising (Post 977056)
I am at a lost here. Shaun say's he is unimpresses til he hit view in HD. Is there an english version button that I am not aware of? This looks like russian to me.

Blue text IMMEDIATELY under the right side of the video window, in case somehow YouTube thinks you're NOT viewing in English (which I ASSUME would be strange).

Noel Lising December 12th, 2008 01:14 PM

Thanks Shaun, indeed it was Russian, for some reason Youtube opens in Russian when I open it. I agree great quality, thanks for the tip.

Chris Barcellos December 12th, 2008 01:51 PM

I think using 1280 x 720p settings will get you there.

This film for the DV Challenge was sent in a letterboxed HD format before 16:9 announcement was made. They converted it after the change over, to my surprise.
But even it shows that things will look good in the future:

YouTube - Light Rider

Ervin Farkas December 12th, 2008 02:12 PM

Quote:

Originally Posted by Giroud Francois (Post 977057)
in your case, fixed, dark background with no fine details, large surface with uniform colors, few change from picture to picture, so prediction is easy etc...

Here's take two.

Camera zooming out, background is changing, lots of changes from frame to frame (TV in background is SD).

YouTube - hdtest03

Shaun Roemich December 12th, 2008 02:14 PM

Quote:

Originally Posted by Noel Lising (Post 977062)
Thanks Shaun, indeed it was Russian, for some reason Youtube opens in Russian when I open it. I agree great quality, thanks for the tip.

If YouTube opens in Russian, shouldn't you have responded to me by writing "Spaciba"?

Ervin Farkas December 12th, 2008 02:15 PM

Double post deleted (either the server or my internet is misbehaving).

Karel Bata December 13th, 2008 05:01 AM

Looks good, but playback here is very jerky! Nice furniture though. Is it Christmas already? Damn!

So I wonder - you guys will probably have good computers, but just what proportion of the public out there can actually watch HD videos..?

One experiment I did that was very interesting was when I'd downloaded a regular video off YouTube I'd worked on long ago and then tidied it up and put it on Vimeo. There was a huge increase in quality! Here's the original YouTube - James - Tomorrow and here's is the same video on Vimeo James - Tomorrow on Vimeo NOTE: make sure to switch HD to off (click the 'HD is on' icon). Yup, the same Flash file, and even downgraded a bit by Vimeo. Notice how much better the sound is too? Why can't YouTube play it back with the same quality?

The upshot of this is that YouTube encoding, though far from perfect, turns out to be not nearly as bad as their playback quality would suggest. it also begs the question (to me) whether a clever person could design a window that played YouTube live but at a better quality than YouTube themselves offer. And would YouTube object...

Anyone here care to do the equivalent experiment with some YouTube HD videos? See what turns up?

Richard Gooderick December 13th, 2008 05:24 AM

The James video on Vimeo isn't playing. I get a 2 second animated still for your zombie trailer.

Karel Bata December 13th, 2008 05:27 AM

There's always one...

Did you read this bit? "NOTE: make sure to switch HD to off (click the 'HD is on' icon)"

Tut tut...

http://vimeo.com/2361290

Giroud Francois December 13th, 2008 05:58 AM

in my opinion take two is still favorable to codec.
walls are big white space with few details, the more you dezoom, the more we see them.
zoom and dezoom are not giving hard time to codec since it is easily predictable.
Panos are more difficult,rotation is the hardest.

Karel Bata December 13th, 2008 07:02 AM

Ervin, what were your settings? Was it Quicktime? Which codec? Keyframes? How big was the file? etc etc.

Cheers!

Richard Gooderick December 13th, 2008 11:29 AM

Never was much good at reading the instructions ;-)

Warren Kawamoto December 13th, 2008 12:08 PM

Ervin,
That was a good test for only 20 seconds. Now try a 5 minute video at the same quality. Can you do it?

Karel Bata December 15th, 2008 05:11 AM

Check this out: YouTube - Misty

Ervin Farkas December 15th, 2008 10:17 AM

"The Secret"...
 
... is no secret at all. I am happy to publish it for anyone who would like to use it.

Those familiar with my posts probably know that I am experimenting a lot; I did the same with this conversion. Youtube accepts all of the major formats, and as we all know, at least as of 2008, in my opinion, there is no better delivery format than MPEG4, the QT variety H.264 codec.

I tried several encoding programs capable of encoding to MPEG4/H.264, with more or less dissapointment. I tried encoding from different formats, both interlaced and progressive, I have even tried resizing, deinterlacing, and sharpening in VirtualDub - and nothing worked to my satisfaction. Not even software that sells for thousands of dollars!!!

Then I tried a FREE software, MPEG Streamclip. See the result for yourself. Now, let me just mention that at this point I do not claim total victory, as posters mentioned above, the footage might be favorable, but I think there are a LOT of resourses left in Streamclip, because I used a relatively low bitrate. I don't have the time to do a longer clip, or one with more motion, but then again, I am not trying to test the limits or to break the codec. What I tried, and I think I have accomplished, is very decent footage on the web, that delivers - I know this is subjective - at least SD DVD quality for the internet masses.

This description is for the PC, but as far as I know, it should work just about the same on the Mac.

Use the latest version of Streamclip (1.2 as of December 2008), download it from http://www.squared5.com/svideo/mpeg-...clip-win.html; you will not even have to install this little program, just unzip it and save it some place on your PC. You will also need QuickTime Alternative version 1.8.1 for reasons mentioned on the website (MPEG2 support etc). Contrary to what I read on squared5.com, the official QT and QT Alternative can live peacefully on the same computer with no issues at all.

I shot the source footage for the clip listed in the original post with a Sony Z1U as 1080/60i. Absolutely no editing, no corrections, nothing, I imported the original file into Streamclip, marked in/out points, then:

Go to File > Export to MPEG4. In the pop-up window (if not already selected) select H.264 for compression.
Click on iTunes, then select > Apple TV 1280x760 (HD), click OK.
Click and drag the quality slider to 100%.
Select Multipass and B-Frames
Limit data rate to 5Mbps is the default; I will do further testing, but I suspect that raising the data rate will allow for good picture even with faster scene changes and pans/tilts, moving subjects. Immediately to the right Streamclip will give you the expected file size, so you can go as high as you wish; Youtube set the limit to 1GB and 10 minutes play time.
Leave sound settings at the default; it should be decent even for symphonic music, definitely more than you need for rock.
Frame rate - leave blank.
Check Frame Blending and Better downscaling.
Check Deinterlace Video (deactivates Interlaced Scaling and Reinterlace Chroma).
If needed, set rotation, zoom, cropping. Under Adjustments you can manipulate brightness, contrast, chroma saturation, audio volume, or apply a watermark.
If you wish, save your settings under "Presets".
Hit Make MP4.

As far as I can tell, the software will go over your video 3 times; I speculate that the first time analises the video, it encodes it the second time, then the third time compares the resulting file with the original and makes corrections. The fourth time is very short, that's probably when the temp file is written to the location you chose.

Please DO comment, let's help each other improving internet video even further!

Thanks,

Ken Diewert December 15th, 2008 01:53 PM

I'd take that level of quality any day.

Ervin, thanks for doing so much legwork for us on this. I'm going to try it out.

Karel, that's also very nice quality on the Misty footage.

Personally, I am trying to increase the quality of my Youtube videos to exploit the commercial aspect. Shoot a spot for a client and upload to Youtube as well as their site. Increased exposure, but if their product looks like crap because of compression artifacts, then it doesn't work real well. Vimeo doesn't allow commercial videos on their site.

Brendan Donohue December 16th, 2008 11:20 AM

Why must you have to click the "watch in HD" link at bottom of video to see in full quality?? it also does this with the standard def vids I have posted but it says "watch in higher quality." it's just kind of a pain cuz your videos don't play at there highest quality by default, you have to take an extra step, most people probably overlook this option. do you think youtube will change this anytime soon??

Robert Martens December 16th, 2008 04:04 PM

Brendan, if you go to your account settings on Youtube and click Playback Setup, you can choose to have the high quality video load by default. It doesn't load HD clips automatically, for some reason, and I seem to have trouble getting the damn option to stick anyway, but it's there and might work better for you than it does for me.

Seeing all that crisp, genuine HD footage makes me want to participate in this thread, but I don't own an HD camera. It just so happens, however, that over the past weeks I've been toying around with my own Youtube tests, and after much trial and error can heartily recommend uploading even SD footage that's been scaled (scaled well, at least) to HD. I can give Youtube's system the highest quality standard def footage I want, but they knock the bitrate down on the final FLV quite a bit. Looks all right, certainly better than it was way back when, but not as good as it could, especially full screen. A little AviSynth twiddling on the other hand, using a good deinterlacing script topped off with a Lanczos4Resize (with builtin crop options) gave me this: YouTube - upscaleadjustedMT.avi

I've been using that twenty seconds of footage (tested out my DV MultiRig Pro the day I got it back in early 2007) to test all sorts of deinterlacing, resizing and compression, and wouldn't you know it, the upconverted shot looks nicer on YT than a 640x360 SD version scaled to full screen in the site's flash player. It sure won't fool anyone who's seen real HD, shot with HD lenses by someone who knows what they're doing, and it takes forever to render--the deinterlacing script in question is quite intense, motion compensated bob that it is--but a careful upscale may let those of us in the DV world squeeze a smidge more quality out of the big Y.

Travis Hart December 27th, 2008 07:53 AM

Quote:

Originally Posted by Ervin Farkas (Post 978416)
... is no secret at all. I am happy to publish it for anyone who would like to use it.

Those familiar with my posts probably know that I am experimenting a lot; I did the same with this conversion. Youtube accepts all of the major formats, and as we all know, at least as of 2008, in my opinion, there is no better delivery format than MPEG4, the QT variety H.264 codec.

I tried several encoding programs capable of encoding to MPEG4/H.264, with more or less dissapointment. I tried encoding from different formats, both interlaced and progressive, I have even tried resizing, deinterlacing, and sharpening in VirtualDub - and nothing worked to my satisfaction. Not even software that sells for thousands of dollars!!!

Then I tried a FREE software, MPEG Streamclip. See the result for yourself. Now, let me just mention that at this point I do not claim total victory, as posters mentioned above, the footage might be favorable, but I think there are a LOT of resourses left in Streamclip, because I used a relatively low bitrate. I don't have the time to do a longer clip, or one with more motion, but then again, I am not trying to test the limits or to break the codec. What I tried, and I think I have accomplished, is very decent footage on the web, that delivers - I know this is subjective - at least SD DVD quality for the internet masses.

This description is for the PC, but as far as I know, it should work just about the same on the Mac.

Use the latest version of Streamclip (1.2 as of December 2008), download it from http://www.squared5.com/svideo/mpeg-...clip-win.html; you will not even have to install this little program, just unzip it and save it some place on your PC. You will also need QuickTime Alternative version 1.8.1 for reasons mentioned on the website (MPEG2 support etc). Contrary to what I read on squared5.com, the official QT and QT Alternative can live peacefully on the same computer with no issues at all.

I shot the source footage for the clip listed in the original post with a Sony Z1U as 1080/60i. Absolutely no editing, no corrections, nothing, I imported the original file into Streamclip, marked in/out points, then:

Go to File > Export to MPEG4. In the pop-up window (if not already selected) select H.264 for compression.
Click on iTunes, then select > Apple TV 1280x760 (HD), click OK.
Click and drag the quality slider to 100%.
Select Multipass and B-Frames
Limit data rate to 5Mbps is the default; I will do further testing, but I suspect that raising the data rate will allow for good picture even with faster scene changes and pans/tilts, moving subjects. Immediately to the right Streamclip will give you the expected file size, so you can go as high as you wish; Youtube set the limit to 1GB and 10 minutes play time.
Leave sound settings at the default; it should be decent even for symphonic music, definitely more than you need for rock.
Frame rate - leave blank.
Check Frame Blending and Better downscaling.
Check Deinterlace Video (deactivates Interlaced Scaling and Reinterlace Chroma).
If needed, set rotation, zoom, cropping. Under Adjustments you can manipulate brightness, contrast, chroma saturation, audio volume, or apply a watermark.
If you wish, save your settings under "Presets".
Hit Make MP4.

As far as I can tell, the software will go over your video 3 times; I speculate that the first time analises the video, it encodes it the second time, then the third time compares the resulting file with the original and makes corrections. The fourth time is very short, that's probably when the temp file is written to the location you chose.

Please DO comment, let's help each other improving internet video even further!

Thanks,

for some reason, no matter how i try to convert my .mov footage to .mp4, the quality depreciates significantly -- even by this method. i use a Canon XH-A1 and record HDV1080p24 QuickTime via FireStore device (FS-C), but can't see to get a quality end result after editing in FCP or iMovie HD.

any suggestions? i just intend to output to YouTube.

Ervin Farkas December 29th, 2008 07:43 AM

Travis,

first please do NOT quote long passages - there's absolutely no point, and we do care about this stuff on the forum.

Second, your post is somewhat unclear; where does your problem occur? Is it within your editor (that's not the topic of this post) or encoding for the web, AFTER you outputted your high quality edited file?

And third, please take your signature (Guiseppe Palumbo is a talentless scam artist -- avoid him at all cost) off; we don't call people names!

Thanks,

Jeromy Barber February 6th, 2009 03:10 PM

Hey Ervin,

So, I tried out your settings with a SD project I was working on, and I'm mostly pleased with the output on You Tube.

YouTube - Real Results with Ryan Episode 6
Watch in High Quality

Karel Bata February 7th, 2009 04:21 AM

That is really good! I've been struggling here with Sorenson Squeeze with very disappointing results. Nothing so far that beats a regular QT H264 upload. I'll give Streamclip a go. :-)

What I'd like to know is how get YT to default to HQ, like some users manage to do.

Mike Watkins February 7th, 2009 07:32 PM

Karel,

See my website for a couple of videos embedded and set to play in HQ/HD. I shot these on an XHA1 and exported as h.264 1280x720.

Videography



I used the following tutorial page for instructions on how to embed and force to play in HQ(without the user having to select HQ):

How to Embed High Quality and Higher Resolution YouTube Videos on Blog or Website My Digital Life

Let me know what you think.

Mike Watkins

Karel Bata February 8th, 2009 05:07 AM

Thanks Mike, but maybe I wasn't clear enough - I meant defaulting to HQ on the YouTube page itself, like these people have done: YouTube - Jojo In The Stars (take 12 mins out to watch this, it's brilliant). My guess is that it's an option available to paying YouTube users, but I wondered if there's any way for us to do it...?

BTW I've put up a YouTube HD & HQ Embed Code Generator to save folks the trouble of tweaking the embed code themselves.

Happy coding!

Jon McGuffin February 8th, 2009 10:40 AM

The only problem I see with this workflow is that unless you are converting raw video files out of the camera or uncompressed, you are somewhat left in the dark. How can you get projects out of an NLE to encode with this codec without first compressing your project into some file and then recompressing with this utility?

Jon

Ervin Farkas February 9th, 2009 06:56 AM

No, as far as I can tell
 
I tried exporting straight from the NLEs and the results are a total disaster. So far I tested Adobe Premiere and Edius, using both the included encoder and Procoder as a plug-in.

Nothing works like MPEG Streamclip. But I would also like to know why - would be so much easier to get this quality without the extra step. At this point your best option is to export at project settings (to avoid any unnecessary recompression) and then encode as described above.

If only the author of this software or someone else would make it to work as a plugin straight out of NLEs...

You know what? I am writing to Stefano right now and ask him! E-mail sent:

Stefano,

I am one of the many happy users of your free software, what a blessing for us video professionals and hobbyists!

Please take a look at this thread on the DVinfo video forum; I used Streamclip to encode some awesome video for Youtube, among other things.

http://www.dvinfo.net/conf/dvd-web-v...ml#post1009062

Question: is there a way now, or do you intend to make it possible in the future to plug Steamclip into editing software? Right now we have to export a file first and only then we can encode to whatever format we need, using MPEG Streamclip.

Thank you,

Ervin Farkas February 10th, 2009 02:17 PM

Nice guy
 
He replied just a few hours later:

MPEG Streamclip is a standalone software and not a plugin like QuickTime's export function. So you can't plug my application directly into an editing software.

It would be possible for me to make a plugin that connects MPEG Streamclip with editing applications, but this plugin would be another piece of software. In other words it would require much development time. So I'm taking it as a feature request for a future version of MPEG Streamclip.

Stefano Cinque
Squared 5 srl

Jeromy Barber February 10th, 2009 03:00 PM

Nice try Ervin.

Jon McGuffin February 10th, 2009 05:47 PM

Yeah, you may want to follow up and let him know that, again, assuming his encoding performance is in fact superior to the others, he should be able to charge for it and get a good price... I wouldn't be contemplating it if I were him, I'd be doing it. :)

Jon

Karel Bata February 10th, 2009 06:43 PM

So he's just the one guy? What on Earth has he managed to do that has eluded the likes of Adobe and Sorenson? He's sitting on a gold mine.

Ervin Farkas February 11th, 2009 06:59 AM

Gold mine
 
He really is sitting on one, I agree. From the info on his website, it's only him.

Yes, I did write to encourage him to further develop his software. The guy seems to be a really well intentioned person and shy by nature, he doesn't make a big deal of what he does. Some of the best software is free out there - the only other one I can think of this magnitude is VirtualDub.

I asked him to open a Paypal account and put up a link so we can compensate him for his efforts.

Herman Van Deventer February 12th, 2009 08:52 AM

Ervin - agree.

One of my 2007 Music Video's

I use the same settings in Streamclip / Bitrate 5.

Host / Vimeo - From my part of the world I get faster buffer playback than on You Tube.

The Calyptonians on Vimeo

Greetings.

Skip Hall February 15th, 2009 05:07 PM

Quote:

Originally Posted by Ervin Farkas (Post 977109)
Here's take two.

Camera zooming out, background is changing, lots of changes from frame to frame (TV in background is SD).

YouTube - hdtest03

I've got a pretty fast connection here, and the HD version sputters too much to enjoy watching it, even after allowing it to upload fully. The image quality, however, is I agree, superb.

Jon McGuffin February 15th, 2009 05:08 PM

I found the same thing but I think it has more to do with Youtube than anything... I found his Vimeo version much better...

Jon


All times are GMT -6. The time now is 08:34 AM.

DV Info Net -- Real Names, Real People, Real Info!
1998-2024 The Digital Video Information Network