|
|||||||||
|
Thread Tools | Search this Thread |
December 17th, 2011, 02:04 PM | #1 |
Major Player
Join Date: Feb 2010
Location: London
Posts: 302
|
Easy way to create Blu-ray/AVCHD using the X264 encoder
Hi
Please check the pre-requisites below as it will not work without a couple of other programs (all free). I've now uploaded for anyone who would like it an easy application that uses the very good x264 encoder to create Blu-ray/AVCHD compliant video from Sony Vegas (my main use but can be used with any editor that can output to the Lagarith codec). This isn't a commercial application, and no advertising, no nag screens, just an application I did for myself that other's may benefit from. Download from my SkyDrive here Download Please note I haven't gone to the trouble or expense of digitally signing the install file, so on Windows Vista/7 you will get an "are you sure" alert when installing. Feel free to pre-scan with a virus scanner if you wish. The application uses .NET 3.5. What it does?
Pre-requisites:
To use from Vegas:
Note: if you play the Lagarith file back it may look washed out, don't worry, after encoding all will be okay Encoding
Let me know of any problems, hope it is of use to someone. Credit to: This application uses the free libraries from MediaInfo and TSMuxer, and of course the open-source X264 encoder, these are included in the installation. The x264 encoder is the latest version as of todays date. Regards Phil |
December 22nd, 2011, 12:34 PM | #2 |
Trustee
Join Date: Jun 2004
Location: Denver, Colorado
Posts: 1,891
|
Re: Easy way to create Blu-ray/AVCHD using the X264 encoder
Great work Phil. Let's bump this thread up.
|
December 22nd, 2011, 02:15 PM | #3 |
Inner Circle
Join Date: May 2005
Location: Windsor, ON Canada
Posts: 2,770
|
Re: Easy way to create Blu-ray/AVCHD using the X264 encoder
Phil, you really should put this in the Sony Vegas Tutorials sticky so it doesn't get buried in a few days.
|
December 22nd, 2011, 05:43 PM | #4 |
Major Player
Join Date: Dec 2007
Location: London, UK
Posts: 277
|
Re: Easy way to create Blu-ray/AVCHD using the X264 encoder
I would also put it as a sticky in the Non-Linear Editing on the PC forum, as it will be really helpful for all users on Windows, not just Vegas.
Great work, thanks for sharing! As this is something you created for yourself, I assume there's not much point in making "feature requests", but for what it's worth: - A no-installer version would be great - With CineForm and DNxHD both available for free, what is the reason you prefer to still use Lagarith? (I know CF and DNxHD aren't lossless, but do you actually notice a difference that justifies the monstrous file sizes?) |
December 23rd, 2011, 02:09 AM | #5 |
Major Player
Join Date: Feb 2010
Location: London
Posts: 302
|
Re: Easy way to create Blu-ray/AVCHD using the X264 encoder
Hi
Preference for Lagarith is just that it's free and lossless, other methods are frame serving from Vegas but I've found that a bit of a hassle and not always reliable. Given most of us have huge hard-disks with tons of space working with big files isn't too much of an issue hopefully. Also using Lagarith it will accept and store the video in the RGB colour space, which is what Vegas works in on the timeline, so it's avoiding colour space conversions, leaving AVISynth to sort that out with the correct colour matrix for Blu-ray/AVCHD, and that seems to keep things very true to the original. My main goal was not to introduce any extra conversions or losses just because encoding was happening by x264 outside of Vegas, so Lagarith is essentially the raw output from Sony Vegas. I can look at supporting other inputs, I'll have a go with Cineform, in theory any codec supported by the PC should work via AVISynth, just the application doesn't let it as some of the AVISynth colour conversions might not be correct. A no installer version I can put together easily, I'll upload this as an option shortly. Regards Phil |
December 28th, 2011, 02:46 AM | #6 |
New Boot
Join Date: Nov 2006
Location: Redmond, WA
Posts: 14
|
Re: Easy way to create Blu-ray/AVCHD using the X264 encoder
Hi Phil,
May I ask you, why your "Easy Blu-ray encoder" doesn't support 23.976 frame rate for blu-ray encoding (1920x1080)? |
December 28th, 2011, 03:01 AM | #7 |
Major Player
Join Date: Feb 2010
Location: London
Posts: 302
|
Re: Easy way to create Blu-ray/AVCHD using the X264 encoder
Hi
An oversight on my part, I'll add support in the next update, which also includes the ability to use CineForm files as well. Regards Phil |
December 28th, 2011, 06:42 AM | #8 |
Major Player
Join Date: Feb 2010
Location: London
Posts: 302
|
Re: Easy way to create Blu-ray/AVCHD using the X264 encoder
Hi
A new version is here: Windows Installer or Download Files only Please see first post for pre-requisites and usage. Changes: Added support for CineForm AVI files Added support for 24fps AVI files Added option to set the tuning for x264 (film/video, grain, animation, still images) Added Maximum Quality option for x264 Added support for Lagarith YUV, it is recommended to output to Lagarith using RGB but it will now encode Lagarith YUV. Regards Phil |
December 28th, 2011, 09:41 AM | #9 |
Major Player
Join Date: Dec 2007
Location: London, UK
Posts: 277
|
Re: Easy way to create Blu-ray/AVCHD using the X264 encoder
Thanks again for all the effort!
|
December 28th, 2011, 10:08 AM | #10 |
New Boot
Join Date: Nov 2006
Location: Redmond, WA
Posts: 14
|
Re: Easy way to create Blu-ray/AVCHD using the X264 encoder
Nice! Thank you very much, Phil! We appreciate your hard work Well done!
|
December 28th, 2011, 01:12 PM | #11 |
New Boot
Join Date: Nov 2006
Location: Redmond, WA
Posts: 14
|
Re: Easy way to create Blu-ray/AVCHD using the X264 encoder
Hi Phil,
It's me again. I am sorry, but I have another question: why is output color space YUV? I rendered from Vegas 11 to LAG with RGB color space. After encoding in "Easy Blu-ray Encoder" the color space now is YUV. Take a look at this pictures, please. First pic is input info, second is output info and last pic is interface of "Easy Blu-ray Encoder". Anyway, thanks again. |
December 28th, 2011, 03:56 PM | #12 |
Major Player
Join Date: Feb 2010
Location: London
Posts: 302
|
Re: Easy way to create Blu-ray/AVCHD using the X264 encoder
Hi
H264 for Blu-ray/AVCHD files are always YUV, so it is correct the final encoding is YUV 4.2.0. The output from Sony Vegas being RGB to Lagarith is a convenient way of avoiding any extra colour space conversions and so stops any small rounding errors that might be introduce with multiple colour space changes. Sony Vegas works internally with RGB, so outputting as RGB to Lagarith is essentially the raw output from Sony Vegas. AVISynth is then used by the Easy encoder to convert RGB into YUV 4.2.0 for the x264 encoder. This method seems to provide the most accurate final output with no shifts in colours due to colour space conversions. I don't think H264 supports RGB colour space, it has to be YUV regardless. Hope that helps explain. Regards Phil |
December 28th, 2011, 04:24 PM | #13 |
New Boot
Join Date: Nov 2006
Location: Redmond, WA
Posts: 14
|
Re: Easy way to create Blu-ray/AVCHD using the X264 encoder
Thanks a lot, Phil! :-)
|
July 30th, 2012, 05:54 PM | #14 |
Major Player
Join Date: Apr 2008
Location: OC, CA
Posts: 344
|
Re: Easy way to create Blu-ray/AVCHD using the X264 encoder
Question answered. Thank you Phil for this tutorial.
Last edited by Norris Combs; July 31st, 2012 at 12:37 PM. |
July 31st, 2012, 05:57 PM | #15 |
Major Player
Join Date: Apr 2008
Location: OC, CA
Posts: 344
|
Re: Easy way to create Blu-ray/AVCHD using the X264 encoder
I've encountered a little problem, when encoding with x264, I selected the bit rate at the maximum value allowable for bluray, which is 40,000. Now I'm trying to have DVD Architect author it, and it can't. There's an error message stating that the overall bitrate is above 28,000. So apparently, DVD Architect cannot author anything that has a bit rate above 28,000. Am I misunderstanding what DVD Architect is telling me? FYI, I'm trying to have DVD Architect author this 5.5 GB .m2ts file as a BD, to a 8.5 GB double-layer DVD+R.
I've been able to author a BD this way before, but have never used a bitrate this high. Thanks for any help, |
| ||||||
|
|