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 > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st April 2008, 15:54   #1  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
HA ready X264 Blu-Ray backups in TS or MKV

Hi guys,

I want to share my experience with you.

After i was sure what format is the winner of the battle i got an HD-DVD and Blu-Ray reader/BD writer for my HTPC.
The question was how to backup my BR Disks.

I’ve been studying on PureVideo-HD (or AVIVO-HD) for almost one year and the first thing i thought was converting them to HA (Hardware Acceleration) capable x264 files.

This small guide is for whom want to backup their own Blu-Ray disks.

Pre-requirements for re-encoding and watching HA able x264 files.

HW:
At least :
Core2 Duo CPU (or equivelant AMD)
2GB RAM-667Mhz
nVidia 8*** or Ati 2*** series GPU as minimum.

SW:
Cyberlink PowerDVD Ultra( v7.3 or higher) for decoding HA able movies. (commercial)

Other needed SoftWare: (i don’t give the links, you know where they are)

MS NetFrameWork 3.5
Graphedit
Latest DX update
Any DVD-HD (commercial)
TS Muxer
Eac3to and Eac3to Gui
H264TS_Cutter
AviSynth
MeGui
mkvToolNix (mkvmerge gui)

Lets start:

FIRST PHASE/PREPARATION:

Ripping:

We insert BD into BD drive and PowerDVD starts.
Exit the program and right click on AnyDVD on the bottom right corner of the desktop.
Click on the “Rip Video DVD to Hard Disk” and a popup window opens. We show the destination directory and say: “Copy DVD:



And the process starts:



At the end of the process, SpiderMan3 Folder will be under destination (E)
We click on the STREAM sub-folder under BDMV:



Now we search the biggest m2ts here. In our case it is 0011.m2ts what we ask, it is 43GB:



Lets have a look into this file; we gonna see lots of audio files:



OK, it is time to demux.

Demuxing:

Now we are opening 0011.m2ts with TSMuxer:



We select the needed video and audio files and start to demux:



Now we got a raw h264 file and an as is ac3 audio:



Re-encoding the audio:

We are going to convert True HD to ac3 using Eac3to Gui:






Remuxing to TS

Here we will remux the h264 file and new ac3 file into a TS container using TSMuxer again:





Cutting TS into two pieces:

I prefer this method since every piece after re-encoding will be 4GB which is ready to write on a mono-layer DVD.
We use H264TS_cutter for this:





(i cut a small piece for trial)

Now we have two pieces ts ready to re-encode.

SECOND PHASE/RE-ENCODING:

OK, fist we prepare a graph on GraphEdit which will decode only video.(of course you may use Haali or Gabest splitter/or Cyberlinkh264 decoder)



Prepare avs:



Open megui.
Select video profile as DXVA-HD-HQ, select file format as mkv and open avs:



Config like this:



Click on "auto-encode", make these setting on openning popup window:



Re-encoding to x264 starts:

(sorry i have to give SS links anymore since i'm limited with 20 pictures)

http://img371.imageshack.us/my.php?image=try021jo9.jpg


After re-encoding finishes we will give AR to video with MkvMerge Gui (since MeGui is not succesfull in this)

http://img371.imageshack.us/my.php?image=try022hu8.jpg

http://img371.imageshack.us/my.php?image=try023bv6.jpg

Now we demux audio from TS; i used here dump filter on GraphEdit:

http://img395.imageshack.us/my.php?image=try024yc3.jpg

http://img223.imageshack.us/my.php?image=try025ds9.jpg

Now we are ready to remux AR corrected video(s) and dumped audio(s);

I prefer to remux into TS container (with TS muxer) or you may wish to remux into mkv (with MkvMergeGui)



Here is the sample clip:

Spiderman 3

http://rapidshare.com/files/10365408...ut_cut.ts.html


Best!

Last edited by rica; 6th August 2008 at 23:33.
rica is offline   Reply With Quote
Old 14th May 2008, 03:13   #2  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Hi!

I've received some PMs asking how to convert Blu-Ray VC1 files into HWA cabaple x264 ones.

BTW, i have to remind you, we might not be able to remove pulldown from some VC1 files.

Here is the way i go:

Demux VC1 video with TSMuxer.

Extract audio with eac3to.

If you need to cut this, follow these steps, if not jump to the next stage:

(Muxing them into TS container with TSMuxer.

Cutting this with TSMuxer.

Demuxing this cut file into components via TSMuxer again.)


Now, the next stage:

Convert VC1 (here VC1 supposed 1920*1080i) to interlaced HWA able X264 mkv.

This is the method i use;

Here is the graph i prefer to use for avs: (pls. have a look at the first post of this thread)



Those are the filters of Arcsoft TMT; mine is trial version of TMT yet.

And an alternative graph (it might not work in every case)



I uploaded a ready profile, pls put this into Profiles > Video under MeGui Folder and choose this:

http://rapidshare.com/files/11473620...laced.xml.html



After getting HA capable mkv file we need to correct AR.

Make AR correction with MKVMerge

And finally, Remux this AR corrected mkv with audio into TS using TSMuxer.(or you may wish to remux into mkv (with MkvMergeGui) or you may want to make a Blu-Ray disk(with TSMuxer)


Here is the sample file i got by this method:

Here is Mariah;

http://rapidshare.com/files/114736459/MC_final.ts.html

Last edited by rica; 17th August 2008 at 14:41.
rica is offline   Reply With Quote
Old 25th June 2008, 20:06   #3  |  Link
ben_franklin
Registered User
 
ben_franklin's Avatar
 
Join Date: Nov 2007
Location: Philadelphia, Pennsylvania
Posts: 68
The vc1 and 264 files that tsmuxer creates from a .m2ts file are not readable by tmpegXpress. If I use tsmuxer to mux a vc1 or 264 file to a .ts file, will tmpegXpress be able to read it?
ben_franklin is offline   Reply With Quote
Old 26th June 2008, 18:30   #4  |  Link
QuadcoreHD
Registered User
 
Join Date: Dec 2007
Posts: 262
@ben_Franklin

TmpgEncxpress is very picky about what it will and will not open and is very reliant of the combination of codecs you have installed. Uninstalling certain codes while keeping others, etc... can impact whether the file will open or not...bascially its a huge headache. I would suspect that TMPGEncXpress CAN open a .ts file, but again, it will depend on what is on your system.

Sorry, I know that's not the answer youre necessarily looking for, but i hope it is somewhat helpful.
__________________
Really Easy Blu-Ray/HD-DVD Decryption Guide!:
http://forum.doom9.org/showthread.php?t=137151
QuadcoreHD is offline   Reply With Quote
Old 26th June 2008, 18:56   #5  |  Link
ben_franklin
Registered User
 
ben_franklin's Avatar
 
Join Date: Nov 2007
Location: Philadelphia, Pennsylvania
Posts: 68
I literally JUST saw this, so there may be hope:
http://tmpgenc.pegasys-inc.com/en/press/08_0618.html
ben_franklin is offline   Reply With Quote
Old 26th June 2008, 23:19   #6  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
This is the explanation why i had to use graph technics..

Last edited by rica; 27th June 2008 at 20:50.
rica is offline   Reply With Quote
Old 2nd August 2008, 23:36   #7  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Hi guys; i've been investigating how to add subtitles into x264 mkv(or TS) files and this time you don't need to open them with MPC-HC for watching in DXVA mode.

I've found the practical way, i suppose.

Lets start:

Tools:
TSMuxer
Eac3to
SUPread
GraphStudio latest version by RadScorpion,
DirectVobSub (vsfilter 2.37)
MeGui


OK..

First of all, we are demuxing our m2ts file via TSMuxer.

Video: h264 (do nothing)
Audio: convert to ac3 with eac3to
Subtitle: convert to srt via SUPread

Rename all raw media files with the same name; in our sample common first name is "hh".



Mux just hh.h264 into TS with TSMuxer: we've gotten hh.ts.



Now, we're gonna prepare a graph like this: (Source filter is Haali)



And an avs:

Code:
DirectShowSource("F:\SPIDER_MAN_3\BDMV\STREAM\New Folder\output\new.GRF",fps=23.976,audio=false)


ConvertToYV12()
We have these in our folder:



BE CAREFUL: ts and srt files must have to be under the same folder ...

We are opening MeGui and select x264 DXVA HD-HQ ready profile, bitrate 6000/two-pass and we get the mkv(exluding audio)...



(You'd better uninstall DirectVobSub on this stage-after getting mkv.)

Lets check whether our mkv is working in DXVA mode on GraphStudio:







Then, it's time to make BD with TSMuxer; import created mkv and hh.ac3 into TSMuxer and make BD.


Checked with Cyberlink, TMT, MPC-HC and Graph; everything works fine in DXVA mode:



sample file:

http://rapidshare.com/files/134404587/BD.rar.html


Some more reading:

http://forum.doom9.org/showthread.ph...30#post1166230

Any - or + input would be appreciated.
_ _ _ _ _

Last edited by rica; 6th August 2008 at 19:59.
rica is offline   Reply With Quote
Old 3rd August 2008, 03:57   #8  |  Link
gngn
the hedgehog
 
gngn's Avatar
 
Join Date: Apr 2008
Posts: 163
this is a method of "hardsubbing", or?
if so you could just use Avisynths option VSFilter_TextSub("path_to_subtitles") , it works with .srt or .ass subtitles (just copy VSFilter.dll from Vobsub to Avisynths plugins directory).
__________________
Athlonx2@2,9Ghz,2G DDRAM2@800Mhz,WinXPSP3 x86,GF8600GTS-256M,Nvidiadrivers 295.73
latest MPC-HC (MVS2010 SP1, GCC 4.7.1)
VMR9renderless+VMR9MixerMode+YUVMixing,VSync+AccurateVSync,all GPUflushes on
gngn is offline   Reply With Quote
Old 3rd August 2008, 11:41   #9  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by gngn View Post
this is a method of "hardsubbing", or?
If you mean hardware-subbing by "hardsubbing"; yes it is...

Last edited by rica; 3rd August 2008 at 16:30.
rica is offline   Reply With Quote
Old 4th August 2008, 15:17   #10  |  Link
frank
Banned
 
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
Easy hard subs with ffdshow

Much easier way: use ffdshow decoder!
You only need the Haali Media Splitter, no graph etc.

After converting .sup into .srt load this file in ffdshow, enable subtitles, and encode with megui to mkv.

You will get very nice looking subs.
frank is offline   Reply With Quote
Old 4th August 2008, 20:18   #11  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
frank, thanks for the suggestion.
rica is offline   Reply With Quote
Old 1st October 2008, 12:46   #12  |  Link
Atomix
Registered User
 
Join Date: Sep 2008
Posts: 1
hi, great guide,
but just a noob question.. do you think it's possible to skip next ?

Pre-requirements for re-encoding and watching HA able x264 files.

SW:
Cyberlink PowerDVD Ultra( v7.3 or higher) for decoding HA able movies. (commercial)



'cause i have not powerdvd or other commercial player for bluray (but i have anydvd-hd)... free solutions ?

tks
Atomix is offline   Reply With Quote
Old 1st October 2008, 15:34   #13  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by Atomix View Post
hi, great guide,
but just a noob question.. do you think it's possible to skip next ?

Pre-requirements for re-encoding and watching HA able x264 files.

SW:
Cyberlink PowerDVD Ultra( v7.3 or higher) for decoding HA able movies. (commercial)



'cause i have not powerdvd or other commercial player for bluray (but i have anydvd-hd)... free solutions ?

tks
Thanks.

Yes, the guide is a little bit outdated ; time to update i suppose.

Sure you can also use arcsoft; both for decoding and playing.
You can use MPC Video decoder for free as well.(For decoding and playing)
ffdshow video decoder can be used for decoding. (here "decoding" used in the manner of decoding for re-encoding purposes.)
Haali can be used as splitter.

Edit: You can use MPC-HC; now it is a full HA able SW player.
Edit: I've changed demuxing method. Nowadays i use eac3to for demuxing and TSMuxer for remuxing.

_ _ _ _ _

Last edited by rica; 19th October 2008 at 15:02.
rica is offline   Reply With Quote
Old 9th December 2008, 18:44   #14  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Hi guys,
Let me share my latest method: (sorry to Ati owners.)

Extract raw media with eac3to.
Use DGAVCDecNV for h264 and use DGVC1DecNV for vc1.
Frame serving and opening avs with MeGui.
After re-encoding with MeGui, remux video and audio to ts or m2ts/or BD via TSMuxer or to mkv with mkvMergeGui.

Last edited by rica; 12th December 2008 at 01:55.
rica is offline   Reply With Quote
Reply

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 12:37.


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