Log in

View Full Version : How to: Remux HD MKV to BD Structure on a DVD targeted for PS3


Pages : 1 [2] 3

jamos
10th February 2008, 03:26
i am doing it like this now:

DirectShowSource("G:\video.mkv",audio=false)
addborders(0,93,0,93)

and i think it should also work :) didn't get any error so :)
i add the audio later when i use tsmuxer and use audio aligment with tsremuxer.. didn't hear any out of sync audio here :)

best regards,
PleXuS

yes audio=true/false makes no difference if your using megui

PleXuS
10th February 2008, 04:35
you maybe know how to add subtitle to m2ts or ts file? to import it into bluray structure for on BD or dvd :)

jamos
10th February 2008, 06:27
you maybe know how to add subtitle to m2ts or ts file? to import it into bluray structure for on BD or dvd :)

unfortunatly tsmuxer does not support subtitles yet, until that is fixed I do not know how to do it using just freeware. tsremux supports it but then it has to already exist in the ts or m2ts.

jamos
10th February 2008, 07:20
you maybe know how to add subtitle to m2ts or ts file? to import it into bluray structure for on BD or dvd :)

hmm having issues with using the Xolos Bluray megui profiles on playback on disk structure with powerdvd and players getting skipping. I think I am just going to stick with the HD ones they seem to be faster and just as good quality.

jamos
11th February 2008, 04:56
I will post a new thread on how to convert mkv to bd. this requires the use of megui so reencoding is neccessary. This solution fixes skipping playback from mkv that happens sometimes with just remuxing to BD structure. The process takes some 6 hours but the output is perfect BD structure that plays back on ps3, standalone bd players, and computer software such as power dvd that can handle bd. Mainly it will deal with converting to mini bd (ie dvd-9 and dvd-5) but can be used to burn on regular burnable BDs also. This is all with free software (no scenarist needed):rolleyes:.

Currently due to the limitations of tsmuxer subtitles do not work with this method yet. But you get a good disk that handles AC3/DTS and other audio sources (AAC included).

trojanfoe
11th February 2008, 10:52
Well one less tool to use in the process now; us mere mortals can take the Blu-ray file structure from tsremux and write it in UDF 2.50 format directly to the media, rather than using something like BRDGEN. Yes! ImgBurn 2.4.0.0 has been released!

ffcl
12th February 2008, 11:34
thx jamos
your procedure work perfectly !!! :)
(dvd-r 720p on sony s300 bluray player)
Unfortunatly I need the subtitles (I'm italian...)
There is a chance of finding a solution?
Add subtitles in the structure of bluray ?
Again thanks very much!

B4tm4n
12th February 2008, 12:04
thx jamos
your procedure work perfectly !!! :)
(dvd-r 720p on sony s300 bluray player)
Unfortunatly I need the subtitles (I'm italian...)
There is a chance of finding a solution?
Add subtitles in the structure of bluray ?
Again thanks very much!

http://forum.doom9.org/showthread.php?p=1099172#post1099172

ffcl
12th February 2008, 17:17
http://forum.doom9.org/showthread.php?p=1099172#post1099172



I'm reading ....

:confused:

scenarist is a "bit" complicated ...

jamos
12th February 2008, 18:18
thx jamos
your procedure work perfectly !!! :)
(dvd-r 720p on sony s300 bluray player)
Unfortunatly I need the subtitles (I'm italian...)
There is a chance of finding a solution?
Add subtitles in the structure of bluray ?
Again thanks very much!

there is a freeware program to change subititles from mkv srt format to sup format. unfortunatley tsremux has to have the subtitles muxed into the container. I now use megui to reencode the video to a more BD standard (it prevents jerky playback in some spots and allows me to target a dvd size). megui allows you to add sup subtitles (which works) but when you try to mux the video audio and subtitles into m2ts format with tsmuxer it does not support importing subtitles. As soon as the bug is fixed with tsmuxer it should work.

XolocoTuxmaster
13th February 2008, 14:13
Have included an MKV->BD section in the guide

http://forum.doom9.org/showthread.php?t=134402

By the way, now you can use multiaudiotracks and subtitles (all explained in the guide), and of course DTS, TrueHD, VC-1, MPEG-2

If doesn't work...rencode

PD: jamos, an entire guide is not necesssary. If you want, send me the megui part and I'll quote it (and the mkvextract part if you want) in the guide.

jamos
13th February 2008, 17:13
Have included an MKV->BD section in the guide

http://forum.doom9.org/showthread.php?t=134402

By the way, now you can use multiaudiotracks and subtitles (all explained in the guide), and of course DTS, TrueHD, VC-1, MPEG-2

If doesn't work...rencode

PD: jamos, an entire guide is not necesssary. If you want, send me the megui part and I'll quote it (and the mkvextract part if you want) in the guide.

My guide doesnt involve using Scenarist, only free software, most persons do not have Scenarist. But you can link to my new thread on how to convert mkv to compliant bluray video that can be imported into Scenarist.

wutang01
17th February 2008, 05:18
Hey guys. Thanks jamos for the guide. It was very very helpful!

However, I have a slight problem. I now have an image size approx 8.30GB (8,913,636,116 bytes).

I'm wondering how to control this image size to be just under 7.9GB so I can burn it to a DVD-DL?

Thanks in advance!

Edit:
There doesn't appear to be enough space on the disc to burn this image!

Image size: 4,352,672 sectors (8,501 MB)
Disc size: 4,171,712 sectors (8,147 MB)

jamos
17th February 2008, 17:18
Hey guys. Thanks jamos for the guide. It was very very helpful!

However, I have a slight problem. I now have an image size approx 8.30GB (8,913,636,116 bytes).

I'm wondering how to control this image size to be just under 7.9GB so I can burn it to a DVD-DL?

Thanks in advance!

Edit:
There doesn't appear to be enough space on the disc to burn this image!

Image size: 4,352,672 sectors (8,501 MB)
Disc size: 4,171,712 sectors (8,147 MB)


you can use H264TS_cutter on the extracted video stream to cut some of the end off (end titles). do a google on it. or tsremux has a trim option.

jamos
22nd February 2008, 18:49
added link to IMGburn.

PleXuS
23rd February 2008, 00:17
anyone maybe know how to easy convert HD-WMV to BluRay format? is there a tool to demux hd-wmv files?
evodemux don't do the job.. it give some results but gives write problem :|

i need to get the movie to vc1 or h264 and DTS or AC3 audio..

best regards,
PleXuS

jamos
23rd February 2008, 16:46
updated tutorial to get rid of steps not needed with the new version of TSmuxer.

flyersfan1970
23rd February 2008, 18:26
I've been trying to get this to work for weeks with little success. Do we need to do anything extra for videos with non-standard heights? Almost everything I obtain has cropped the letterboxing so the video has a height other than 720/1080.

(For example, a 25fps source with a 1280x544 video will play but the PS3 outputs 480p and there's a green bar at the bottom, the combination of what the letterboxing bars should be.)

jamos
23rd February 2008, 19:26
I've been trying to get this to work for weeks with little success. Do we need to do anything extra for videos with non-standard heights? Almost everything I obtain has cropped the letterboxing so the video has a height other than 720/1080.

(For example, a 25fps source with a 1280x544 video will play but the PS3 outputs 480p and there's a green bar at the bottom, the combination of what the letterboxing bars should be.)

you most likely will need to reencode the video with x264 to standard specifications. I am planning a tutorial on how to do this with megui (a frontend for x264). Basically you need to create a avs script (a text file with .avs extension) that loads the video source and resizes it to 1280x720p and run it through megui.

Zigpop
1st March 2008, 18:44
Hi everyone !
I hope I didn't miss that somewhere, but here is my problem :
When converting a 720p mkv using jamos method, the result is just fine ! (Both on pc and later on PS3) Pretty cool !
But it does not work right for me when it comes to 1080p files.
The problem is when converting the h264 video file from 5.1 to 4.1
lhe result gives me strange addition in the picture, like noise, square, color, and stuff. The image mess up. I've tried several mkv, on different pc.
I dit convert the file using H264info, but also tried latest TSmuxer
(1.3.6) Same problem.
Do you have any idea on how to solve it ?
Thanx for reading.

Glorioso
2nd March 2008, 00:24
Jamos, what about the subtitles?

Glorioso
2nd March 2008, 01:03
Aftrer all the steps i cant get PowerDVD 7.3 to open the folder, i select it but the "open" button remains grey, is there a specific name for the folder?

carbonkid
2nd March 2008, 18:47
Jamos, what about the subtitles?

+1 How do we insert subtitles?

jamos
2nd March 2008, 18:52
+1 How do we insert subtitles?

until tsmuxer supports them you can not with freeware.

Edit: Testing tsmuxer alpha version subtitle support now if i can get it working i will add it to tutorial.

jamos
2nd March 2008, 18:52
Aftrer all the steps i cant get PowerDVD 7.3 to open the folder, i select it but the "open" button remains grey, is there a specific name for the folder?

known bug with 7.3 go back a patch and try it again.

carbonkid
2nd March 2008, 19:06
until tsmuxer supports them you can not with freeware.

When will that happen? Any guess? Thanks for the quick reply!

jamos
2nd March 2008, 19:23
When will that happen? Any guess? Thanks for the quick reply!

testing a alpha version now.:)

Glorioso
2nd March 2008, 19:45
known bug with 7.3 go back a patch and try it again.

Windvd8 says "no DVD structure"... i'll try PDVD 7.2

spida_singh
2nd March 2008, 20:08
I am trying to use an avisynth script in megui to add borders to an mkv, so i can burn as an avchd to play in the ps3, my script is as follows.

DirectShowSource("F:\movie.mkv",fps=25.000,audio=true)
addborders(0,88,0,88)

mkv is 1280x544, so to add borders for correct spec, i calculate 720-544 = 176 / 2 = 88, which leads to (0,88,0,88).

When i open the script in megui, the program just freezes after a period of time. Any idea why?

carbonkid
2nd March 2008, 21:27
testing a alpha version now.:)

that's a good sign! Hope it works. if so will we be able to stream the m2ts trogh Tversity without burning to a disc?

jamos
3rd March 2008, 00:15
that's a good sign! Hope it works. if so will we be able to stream the m2ts trogh Tversity without burning to a disc?

nope unfortunatly tsmuxer does not support .srt or .sup files yet so still no go with subtitles from mkvs. I do not think you can choose subtitles playing from a file but have not confimed that.

jamos
3rd March 2008, 00:20
I am trying to use an avisynth script in megui to add borders to an mkv, so i can burn as an avchd to play in the ps3, my script is as follows.

DirectShowSource("F:\movie.mkv",fps=25.000,audio=true)
addborders(0,88,0,88)

mkv is 1280x544, so to add borders for correct spec, i calculate 720-544 = 176 / 2 = 88, which leads to (0,88,0,88).

When i open the script in megui, the program just freezes after a period of time. Any idea why?

ive had this issue with certain mkvs from time to time. basically to fix them i had to extract the video stream using mkvextract then remux it into a .m2ts file using tsmuxer. then when i loaded the .m2ts file it loads fine in megui. also are you sure your fps is correct most hd sources are 23.976. also it takes a bit for the script to execute so give it 5 min.

spida_singh
3rd March 2008, 10:14
ive had this issue with certain mkvs from time to time. basically to fix them i had to extract the video stream using mkvextract then remux it into a .m2ts file using tsmuxer. then when i loaded the .m2ts file it loads fine in megui. also are you sure your fps is correct most hd sources are 23.976. also it takes a bit for the script to execute so give it 5 min.

Thanks for that, media info stated it was a 25.00 fps source, I will try and create an m2ts, and edit the script accordingly and load with megui, will let you know how it goes, thanks jamos.

cliffa
3rd March 2008, 22:31
you most likely will need to reencode the video with x264 to standard specifications. I am planning a tutorial on how to do this with megui (a frontend for x264). Basically you need to create a avs script (a text file with .avs extension) that loads the video source and resizes it to 1280x720p and run it through megui.

Hi, have you generated your tutorial on using megui to re encode content in x264 at 1280x720? If this still is the best tool for the job?

The situation I'm in is this... So far as pre encoded MKV material that is already using x264 and at 1280x720 aspect I'm sorted, using tsmuxer to strip out unwanted streams and perform the 4.1 level setting etc to be able to stream to PS3 or other HD streamer that I have (Netgem 7600) which luckily supports streamed m2ts with DTS multi-channel audio :-)

What I would now like to be able to do is "shrink" in the best way possible the 20GB size material "captured" locally in native 1920x1080 to a ~ 5GB 1280x720 m2ts file. Again using tsmuxer I can strip out the unwanted streams etc but its the process or re-encoding the video in the easiest and most efficient manner that so far has me stumped. It's not particularly because I want to fit the video on a BD structured DVD it's just that I want to cut the disk storage requirements down for the video, and reduce the bandwidth required to stream the video. Any pointers would be much appreciated.

jamos
5th March 2008, 00:17
Hi, have you generated your tutorial on using megui to re encode content in x264 at 1280x720? If this still is the best tool for the job?

The situation I'm in is this... So far as pre encoded MKV material that is already using x264 and at 1280x720 aspect I'm sorted, using tsmuxer to strip out unwanted streams and perform the 4.1 level setting etc to be able to stream to PS3 or other HD streamer that I have (Netgem 7600) which luckily supports streamed m2ts with DTS multi-channel audio :-)

What I would now like to be able to do is "shrink" in the best way possible the 20GB size material "captured" locally in native 1920x1080 to a ~ 5GB 1280x720 m2ts file. Again using tsmuxer I can strip out the unwanted streams etc but its the process or re-encoding the video in the easiest and most efficient manner that so far has me stumped. It's not particularly because I want to fit the video on a BD structured DVD it's just that I want to cut the disk storage requirements down for the video, and reduce the bandwidth required to stream the video. Any pointers would be much appreciated.

megui or ripbot can shrink (ie reencode) to a lower resolution. may want to try ripbot as it is easier to use than megui. from what i have tested a 1080p video reencoded to 720p using these methods works well very little quality loss.

spida_singh
6th March 2008, 01:00
Thanks for that, media info stated it was a 25.00 fps source, I will try and create an m2ts, and edit the script accordingly and load with megui, will let you know how it goes, thanks jamos.

Me gui worked ok, but, resulting file was only 600meg using SA HD DVD FAST? Ripbot stretched the picture, with no black bars visible, what did i do wrong in megui? Or was it my script?

DirectShowSource("F:\mkvmovie.m2ts",fps=25.000,audio=false)
addborders(0,88,0,88)

Any ideas?:thanks:

lexor
6th March 2008, 01:15
Me gui worked ok, but, resulting file was only 600meg using SA HD DVD FAST? Ripbot stretched the picture, with no black bars visible, what did i do wrong in megui? Or was it my script?

DirectShowSource("F:\mkvmovie.m2ts",fps=25.000,audio=false)
addborders(0,88,0,88)

Any ideas?:thanks:

Did you use megui's bitrate calculator to set the desired bitrate or did you just load the script, selected the profile and went ahead without setting bitrate?

jamos
6th March 2008, 01:22
Me gui worked ok, but, resulting file was only 600meg using SA HD DVD FAST? Ripbot stretched the picture, with no black bars visible, what did i do wrong in megui? Or was it my script?

DirectShowSource("F:\mkvmovie.m2ts",fps=25.000,audio=false)
addborders(0,88,0,88)

Any ideas?:thanks:

when you loaded the script ie .avs file in megui did you see a preview with black borders above and below the picture? Also you are sure the source is 1280x544? I wouldnt use the fast option I would use the regular HD one as the bitrate is better but you should adjust the bitrate to fit a dvd-5 or 9. (if your using bluray use xolos bluray scripts in his thread on mkv to bluray). make sure you use the encode option to rawavc and do not use autoencode or one step encode.

spida_singh
6th March 2008, 08:47
when you loaded the script ie .avs file in megui did you see a preview with black borders above and below the picture? Also you are sure the source is 1280x544? I wouldnt use the fast option I would use the regular HD one as the bitrate is better but you should adjust the bitrate to fit a dvd-5 or 9. (if your using bluray use xolos bluray scripts in his thread on mkv to bluray). make sure you use the encode option to rawavc and do not use autoencode or one step encode.

I did both, just load the script and away it went, my fault, not had much play with megui, I will try again, and check my bitrate, i did use rawavc, will let you know how it goes

Source was correct, checked it with mediainfo, i used CQ in ripbot, I will try the same in megui and check result, value of 22

:thanks:

spida_singh
11th March 2008, 11:12
Did you use megui's bitrate calculator to set the desired bitrate or did you just load the script, selected the profile and went ahead without setting bitrate?

Not had a chance to get around to trying this yet, but, when outputting to RAWAVC, where would i set the desired bitrate etc, I load the script, select my profile (HD DVD or blu ray) and container as RAWAVC, what else do i do, or which pat of megui will let me set the bitrate without using the autoencode?

B4tm4n
11th March 2008, 14:36
Not had a chance to get around ot trying this yet, but, when outputting to RAWAVC, where would i set the desired bitrate etc, I load the script, select my profile (HD DVD or blu ray) and container as RAWAVC, what else do i do, or which pat of megui will let me set the bitrate without using the autoencode?

Check the tools drop down menu.( atleast I think its called tools)

jamos
11th March 2008, 14:59
Not had a chance to get around ot trying this yet, but, when outputting to RAWAVC, where would i set the desired bitrate etc, I load the script, select my profile (HD DVD or blu ray) and container as RAWAVC, what else do i do, or which pat of megui will let me set the bitrate without using the autoencode?

you have to go to settings button next to your profile dropdown in megui. the first tab has bitrate, it defaults to 8000 which is good but may make the resulting file too big to fit on a dvd you can change that to a lower value.

nunyabuizness
12th March 2008, 04:36
Ive got all ten episodes of band of brothers, 1280x720p with a 1500kbps DTS stream attached ripped from an asian HDDVD set. After doing the .ts trick for ps3 playback (which it allows) i ran the mkv through tsremux and output as bluray, but for some reason, the directory containing the avchd structured folders and .bdmv files is smaller than the m2ts created by tsmuxer.

i then burnt the two folders to a udf 2.5 dvd and put in my ps3. to my surprise, only the video was playing and after checking the STREAM folder, the 00001.m2ts file had no DTS track.

Can anyone shed any light on this? because if you think the video would look good on these rips, you should hear that DTS audio (which i can say, even thought it takes up a lot more space, it is well worth it)

but more importantly, why wouldnt tsremux output the DTS track? and i am sure i checked both streams, i duplicated this trial several times

jamos
12th March 2008, 13:16
Ive got all ten episodes of band of brothers, 1280x720p with a 1500kbps DTS stream attached ripped from an asian HDDVD set. After doing the .ts trick for ps3 playback (which it allows) i ran the mkv through tsremux and output as bluray, but for some reason, the directory containing the avchd structured folders and .bdmv files is smaller than the m2ts created by tsmuxer.

i then burnt the two folders to a udf 2.5 dvd and put in my ps3. to my surprise, only the video was playing and after checking the STREAM folder, the 00001.m2ts file had no DTS track.

Can anyone shed any light on this? because if you think the video would look good on these rips, you should hear that DTS audio (which i can say, even thought it takes up a lot more space, it is well worth it)

but more importantly, why wouldnt tsremux output the DTS track? and i am sure i checked both streams, i duplicated this trial several times

you do not need to use tsremux any more TSmuxer now outputs to BD format. And you should always test on your pc for sound and video before you burn.

jamos
12th March 2008, 13:31
Updated to only use TSmuxer and showing how to get subtitles.

bibikul
12th March 2008, 14:11
For blu-ray output source resolution must be 1280x720 or 1920x1080 ...

we still have this limitation? how can we add borders automaticly?

MrFaust
12th March 2008, 17:58
Nice that this works as it does. My main issue is the output size being too being for the discs, even when cutting the credits off. So I guess I need to find a way to demux the audio and video then re-encode the video to a smaller size so that the total output is no greater than 8,500,000,000 bytes for DVD9 and 4,700,000,000 bytes for DVD5 :(

Glorioso
12th March 2008, 19:26
we still have this limitation? how can we add borders automaticly?

Good question, anyone tried that?

jamos
12th March 2008, 20:13
Good question, anyone tried that?

of course you can do that but you need to reencode with x264 using a smaller bitrate so the size will fit on a dvd. Also I use megui with a .avi script to add borders. I am planning on posting a how to on this forum soon.

and yes for avchd the sizes need to be standard format..for 720p 1280x720 for 1080p 1920x1080.

Glorioso
12th March 2008, 20:46
of course you can do that but you need to reencode with x264 using a smaller bitrate so the size will fit on a dvd. Also I use megui with a .avi script to add borders. I am planning on posting a how to on this forum soon.

and yes for avchd the sizes need to be standard format..for 720p 1280x720 for 1080p 1920x1080.

Too good to be true... most of the files are not 720p or 1080p Compliant.

I have one problem with the subs, Supread cant handle Portuguese (and most) special characters, Subtileworkshop can export the PNG, how can i use that PNG to create a SUP file?

Jamos, share that script to had the borders please....:p