Close

Page 1 of 3 123 LastLast
Results 1 to 20 of 50
  1. #1
    DF Founder Raptor's Avatar
    Join Date
    Oct 2000
    Location
    USA
    Posts
    92,243
    Thanks
    434
    Thanked:        1,771
    Karma Level
    5456

    PS3 How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    New / Easy / fast method of converting mkv to play on t6he PS3
    [Only registered and activated users can see links. ]


    Spoiler:

    BELOW IS THE OLD INFO....

    Ok we all know that mkv2vob is a great program and does many things but it uses a trick just to remux the video to get it to stream to a ps3 which does save time when it works and keeps the original quality. The trick uses TSmuxer to set the AVC lvl in the header to 4.1 which SOMETIMES works with the ps3. Problem is that most 1080p mkvs are encoded with more than 4 frames per reference which bluray hardware and ps3's cannot handle. Also sometimes even 720p mkvs have stuttering or playback issues while just being remuxed. Now mkv2vob does allow you to reencode but it is mpeg2 format which increases the size normally and causes very bad streaming due to the lack of compression. So one use of the following would be to get your video streams bluray complant if your having issues with mkv2vob.

    Another use for doing this is of course is to make a AVCHD disk which will play off of a DVD-9 or even a DVD-5 on a bluray AVCHD compatable playback device such as the PS3 and many standalone BD players out there. A big advantage of using AVCHD opposed to just playing a file is the ability for DTS (possibly LPCM 5.1 when TSmuxer supports it) as well as AC3. Also on a AVCHD at least on the PS3 you can have toggible subtitles.

    So the optimal solution will be to reencode the video stream from the MKV using x264 encoder into a Blu-ray compliant stream. I will show doing this by using MEGUI front end, you could expireement with other programs that are simular such as Ripbot.

    Let us begin our discussion..

    1. Extract streams with Mkvextract
    Use Mkvextract wizard to extract Video, Audio, and optionally .srt subtitle streams from your .mkv file. We will just concentrate on the video stream here.

    2. Determine MKV video size with mediainfo
    You want to use medioinfo to look at your .mkv now and determine the size of the video (this is critically important). If the size is anything other than 1280x720 or 1920x1080 then you wil have to resize the video to one of the above resolutions. Many MKVs are cropped horizontally to save space if they are letterbox, so you must look at the resolution wiht mediainfo to see what the 2nd number is. if its 1280x528 for example that means that 96 borders need to be added to the top and bottom to make it compliant:
    720-528=192 192/2=96 (formula using 720 or 1080 as the left number depending on your resolution, subtracting the actual height as the second number then dividing by 2 to get your border sizes). remember this number as you will have to add a addborders statement to your avs script you will be creating later.

    Also if you are burining this to a dvd-5 or dvd-9 then look at the movie length and make a note of it.

    Ok heres where I am going off on a tangent but if your using a dvd-5 or dvd-9 to burn with. I strongly recommend you use 720p resolution even if your source is 1080p. this is due to the limited bitrate you have to use to shrink the size down to get it to fit on a dvd-9 or dvd-5. You can resize the video down to 720p in your avs script also.

    3. Mux extracted stream with TSmuxer into a M2TS container
    after you extracted the video stream you most likely want to remux it back into a .mt2s file with TSmuxer (do not worry about the audio) just mux the video into a .m2ts file. The reason for this is many times DirectShow has issues with MKV files loaded directly.

    4. Create a .AVS Script to use with MEGUI
    once you have your remuxed .m2ts file you can begin with your x264 frontend which I will show using megui. the first thing you need to do is create a .avs script. A .avs script is nothing more that a text file with a .avs extension that avisynth uses to do things (avisynth should be installed when you install megui). To create a .avs script you just open notepad and type in commands. The ones I use mainly are used below and should be all you need to resize and/or add borders.

    first line should look like below subtituting video.m2ts with the name of your remuxed m2ts file in step 3 above. The 23.96 framerate is standard for bluray if your video is a different framerate you may get by with using a different framerate but it will not be 100% bluray compliant.


    Code:
    DirectShowSource("C:video.m2ts",fps=23.9759856527702,audio=false)
    if you are just loading the video and not resizing it or adding borders then the above line is all you need. save the file as whatever name you want to give it with a .avs extension.

    If you need to resize you should add the following 2nd line (again I strongly recommend you resize 1080p sources to AVCHD down to 720p).

    the following is to resize a 1920x1080 video down to 720p for your 2nd line of code.

    Code:
    Lanczos4Resize(1280,720)
    If the source is cropped and you just want to restore the borders to make it compliant then use the following code as your 2nd line. Note: The border numbers were calculated using step 2 fomula.


    Code:
    addborders(0,96,0,96)
    If the source is cropped and you want to resize it down to 720p from lets say 1080p then you would use the following for line 2. Note: that the 528 was the original size determined by looking at the mkv with mediainfo in step 2. and the borders were calculated using step 2 fomula.

    Code:
    Lanczos4Resize(1280,528).addborders(0,96,0,96)
    Save your file with a .avs extension.

    5. Encode file with MEGUI

    Note: Before you open MEGUI make sure to get XolocoTuxmaster's bluray profiles and put them in MEGUI's profiles\video directory first.

    Open megui and next to the avisynth script are click on the ... button and browse for the .avs script you created in step 4 above. there should be a delay and a preview of the video should be displayed on a window. Close the preview window leaving megui still open. note: If you do not see this preview then you have done something wrong with the .avs file or there is something not right with your source.

    Choose RAWAVC in the file format dropdown on the main MEGUI window.

    Choose SA-Bluray profile from the video profile dropdown on the main MEGUI window (if you do not see it then look at note above to put the profile in the correct area).

    Now we need to determine what bitrate we are going to need to fit the video on either a dvd-5 or dvd-9 (if you are just going to stream this file or copy it to the ps3 then you can skip this step).
    I use Bincsofts Bitrate calculator to determine what maximum bitrate I can use to fit on a dvd-5 or dvd-9. open the calculator and change the output size to either dvd-5 or dvd-9 then enter in the length of the movie that you determined in step 2 using mediainfo. Add at least 6 minutes to the length of the movie to account for the slightly bigger m2ts output (add additional 1 minute if also having subtitles). ie movie length is 1:30:00 so enter 1:37:00 minutes for a movie with subtitles. Now determine the sound quality by using custom and enter in the bitrate (use 630 kbits per sec. for AC3, or 1536 kbits per sec. for DTS for example). the resulting encode at XXXX (Kilobits per sec.) bitrate displayed is what you need from this take note of that number.
    Now in MEGUI click the config button next to the bluray video profile and look at the bitrate entry field on the first tab. Enter the number that bincsoft calculated (most likely it will be lower than the default 8000 if using a dvd-5 or could be higher if using a dvd-9). Click ok to close the config. If it asks for you to update you can if you want.

    Then click the enqueue button next to the video profile. This will add the job to the second tab of the main MEGUI window.

    Now click on the Queue tab on the main MEGUI window and click start to start the encode. This may take a while depending the speed of your computer and how much you are compressing (generally for a 2 hour movie it takes my 3ghz. core2 duo about 3 hours).

    6. BD compliant video stream
    You now have a bluray compliant video stream and can use TSmuxer (with audio stream and optionally a sup file) to either create a .ts/.m2ts file that plays on the ps3 (have to rename the .m2ts to .mpg or somthing that the ps3 likes though) or most importantly you can use TSmuxer to create a BD structure.

    IF YOU HAVE ANY OTHER TIPS - POST THEM IN THIS THREAD
    Last edited by Raptor; 14th December 2008 at 12:14 AM.

  2. #2
    DF Member wR_sixtee6's Avatar
    Join Date
    Dec 2007
    Location
    Great Britain
    Posts
    41
    Thanks
    0
    Thanked:        0
    Karma Level
    114

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant..

    Wow.Very nice.
    Thanks.

  3. #3
    DF Wh0re stargate's Avatar
    Join Date
    Nov 2000
    Location
    UK
    Posts
    129
    Thanks
    11
    Thanked:        0
    Karma Level
    212

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant..

    Yeh, excellent info. I had a few mkv's a while back that were non standard and ended up with the green bars. I just stopped getting them as I couldn't figure out at the time how to sort out the resolution correctly.

    So this tutorial looks to solve that problem. Now I just have to find the time to actually get round to it. Thanks

  4. #4
    DF Founder Raptor's Avatar
    Join Date
    Oct 2000
    Location
    USA
    Posts
    92,243
    Thanks
    434
    Thanked:        1,771
    Karma Level
    5456

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    FYI im told that PS3 will have native mkv support when they update to Divx7

    That will be ahead of the Xbox which is a really huge step

  5. #5
    DF Super Moderator
    blaggard's Avatar
    Join Date
    Jan 2001
    Location
    South London
    Posts
    15,749
    Thanks
    1,517
    Thanked:        1,901
    Karma Level
    1490

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    Quote Originally Posted by Raptor View Post
    FYI im told that PS3 will have native mkv support when they update to Divx7

    That will be ahead of the Xbox which is a really huge step
    Roll on!
    If at first you don't succeed.....redefine success. . . .

    [Only registered and activated users can see links. ]

  6. #6
    DF Moderator EvilBoB's Avatar
    Join Date
    Jan 2001
    Location
    Bedfordshire
    Posts
    6,211
    Thanks
    518
    Thanked:        543
    Karma Level
    541

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    Gonna give this new method a bash tonight. I've been manually doing it for some time now and it works okay but I hate it when a vid is too big to burn to DVD9 by only a few megs and I need to reencode :-\
    DF Moderator
    XBox One | Panasonic 4k | MS Surface Pro 3 | 3DSXL | WiiU | RPi3
    XBL : TheSumOfAllEvil

  7. #7
    DF Rookie Malax's Avatar
    Join Date
    Dec 2008
    Location
    USA
    Posts
    3
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    Editing this post because I'm slow. It seems like this method actually worked for me except for some reason I did the math wrong calculating the new resolution? Oh well, thanks a lot Raptor. I'll try to re-encode tonight and let you know how it goes.

    I just wish there was a faster way to resize...
    Last edited by Malax; 19th December 2008 at 02:14 AM.

  8. #8
    DF Moderator EvilBoB's Avatar
    Join Date
    Jan 2001
    Location
    Bedfordshire
    Posts
    6,211
    Thanks
    518
    Thanked:        543
    Karma Level
    541

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    Used the new method and it works a treat. One click conversion and it plays on my PS3, select 360 instead and it plays on my XBox. Haven't compiled to BDROM yet though but it should be fine. I didn't have to mess with any resolutions tho...
    DF Moderator
    XBox One | Panasonic 4k | MS Surface Pro 3 | 3DSXL | WiiU | RPi3
    XBL : TheSumOfAllEvil

  9. #9
    DF PlaYa m3yer's Avatar
    Join Date
    Nov 2000
    Location
    UK
    Posts
    575
    Thanks
    2
    Thanked:        0
    Karma Level
    230

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    How fast is this compared to say tsmuxer/mkv2vob?

  10. #10
    DF Moderator EvilBoB's Avatar
    Join Date
    Jan 2001
    Location
    Bedfordshire
    Posts
    6,211
    Thanks
    518
    Thanked:        543
    Karma Level
    541

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    I found it MUCH faster to be honest. and easier to use.
    DF Moderator
    XBox One | Panasonic 4k | MS Surface Pro 3 | 3DSXL | WiiU | RPi3
    XBL : TheSumOfAllEvil

  11. #11
    DF PlaYa m3yer's Avatar
    Join Date
    Nov 2000
    Location
    UK
    Posts
    575
    Thanks
    2
    Thanked:        0
    Karma Level
    230

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    ok, gonna give it a nother go then. mkv2vob took a lot less, well less than say 3 minutes compared to gotsent which was taking over 10 minutes to do a 1gb mkv file.
    Am I doing something wrong? Or do I need to be less impatient and stick to gotsent?

    WWhat options should I tick, for example in the following, changing a 1gb mkv file to play on the ps3

  12. #12
    DF Rookie 1ellis2345's Avatar
    Join Date
    Dec 2008
    Location
    UK
    Posts
    5
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    Cant seem to get this one to work! it creates 3 files instead of 1, i selected the option "to fit 9gb" but i still get 3 files and an error message at the end of converting cannot create an mpeg file. I must be doing something wrong lol.

  13. #13
    DF Rookie Malax's Avatar
    Join Date
    Dec 2008
    Location
    USA
    Posts
    3
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    I cannot get this to work on my Panasonic BD-30. No matter what I try, the player sticks on "Now reading." I don't even get the green bars if I try a non-standard or standard resolution.

    I have a few different mkv files that I tried, and nothing works. My last one I resized to 1280x720, and now the profile reads 3.1 instead of 4.1. Is that ok?

    I've tried DVD-R and +RW.

    Any help on this would be great. Thanks.

  14. #14
    DF Rookie 1ellis2345's Avatar
    Join Date
    Dec 2008
    Location
    UK
    Posts
    5
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Whine Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    ok starting to think this program doesn't do what it says on the tin!

    No matter which way i try i cannot get this program to create a single vob file that is playable in the PS3!!! Everytime i use it, it creates 3 4gb (or smaller) files. It will NOT create a vob file that will fit on a dvd 9.

    I use mkv2vob and that works everytime except it creates a file that is slightly too big for a dvd 9 and i thought this prog would be the answer.

    Could someone please help or point me in the right direction to where i can get some advise on how to use this prog?

    THANKS

  15. #15
    DF Moderator EvilBoB's Avatar
    Join Date
    Jan 2001
    Location
    Bedfordshire
    Posts
    6,211
    Thanks
    518
    Thanked:        543
    Karma Level
    541

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    It works fine for me. The only things I do is on the left hand dropdown choose PS3 and on the right hand side I chose to MUX to PS3. Pretty much everything else is unchecked if I remember correctly. Takes about 30 minutes for a 1080p movie on my Pentium D with 2gb of RAM and dumps a .MPG out at the end. Done about 6 over the last few days and all is good.

    Post a screenshot of the application so I can see your settings.
    DF Moderator
    XBox One | Panasonic 4k | MS Surface Pro 3 | 3DSXL | WiiU | RPi3
    XBL : TheSumOfAllEvil

  16. #16
    DF Rookie 1ellis2345's Avatar
    Join Date
    Dec 2008
    Location
    UK
    Posts
    5
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    Hi evilbob,

    Thanks for your reply.

    I don't know how to take or post a screen shot but i have tried all sorts of combinations! The way you sugest is the only way i can actually get it to create a .mpg file but the file is too big for a dvd9 the same result as i get with mkv2vob.

    What i want to do is create a file that plays in the ps3 and will fit on a dvd9. The movie fit before but after its slightly too big!

    If i tick the box " to fit dvd9" it then creates a 4gb file and another smaller file (split the film).

    I appreciate any help thanks.

  17. #17
    Banned spiderbites's Avatar
    Join Date
    Oct 2004
    Location
    uk
    Posts
    597
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    Ive been using ripbot to do mine, takes hours, taking me around 10 hours on a quadcore PC, but flawless results everytime

  18. #18
    DF Moderator EvilBoB's Avatar
    Join Date
    Jan 2001
    Location
    Bedfordshire
    Posts
    6,211
    Thanks
    518
    Thanked:        543
    Karma Level
    541

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    OK - Use the printscreen button to take a screen grab and then paste it into MS Paint or other graphics program. This will give you the screenshot which you should be able to attach here.

    To get the movie to fit to a DVD9 you will need to reencode it. This was in the FAQ for the software
    Keep in mind that GOTSent by default does not re-encode video when muxing to mp4 or vob, it just changes 1 Byte (max) of the h264 stream.
    So if that's what you are doing that is why so you might have to fiddle with the settings to get it to reencode. When you do a reencode it will take a lot longer to sort out than what I am doing as I just stream off my Linux box using uShare rather than encode to fit on a DVD.
    DF Moderator
    XBox One | Panasonic 4k | MS Surface Pro 3 | 3DSXL | WiiU | RPi3
    XBL : TheSumOfAllEvil

  19. #19
    DF Rookie 1ellis2345's Avatar
    Join Date
    Dec 2008
    Location
    UK
    Posts
    5
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    Hi,
    Thanks for your help. I have used the re-encode option as i thought it would need to re-encode it to fit on a dvd9 but i get the same result (except it takes longer) 3 files and a error message saying that a .mpeg file was not created!

    I just thought this prog might be quicker way of creating a vob file than using megui to create a blu ray but seems to me megui takes about the same time and you end up with a blu ray compliant file that will work in stand alone bd players as well as ps3.

    P S thanks for telling me how to do a screenshot never done one b4 lol.

  20. #20
    DF PwNagE casio's Avatar
    Join Date
    Jul 2001
    Location
    sat on my arse
    Posts
    7,375
    Thanks
    318
    Thanked:        247
    Karma Level
    874

    Default Re: How to Get 1080 or 720p MKV files Bluray compliant (UPDATED NOV 2008)

    Quote Originally Posted by Raptor View Post
    FYI im told that PS3 will have native mkv support when they update to Divx7

    That will be ahead of the Xbox which is a really huge step

    any idea when the update is due?

Page 1 of 3 123 LastLast

Similar Threads

  1. UK Speed Camera Files [UPDATED 08-06-11]
    By Russ in forum GPS / SatNav
    Replies: 1
    Last Post: 19th July 2011, 08:08 PM

Social Networking Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •