PS3 compatible video creation thread (tsMuxeR etc.).

Discussion in 'PS3 - Modding & Hacking' started by Ryu77, Jan 30, 2008.

  1. ahmadka

    ahmadka Regular member

    Joined:
    Apr 17, 2005
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    26
    *quadruple post, mega sorry, ;p*
     
    Last edited: Nov 30, 2008
  2. odin24

    odin24 Regular member

    Joined:
    May 4, 2007
    Messages:
    1,287
    Likes Received:
    0
    Trophy Points:
    46
    Last edited: Nov 30, 2008
  3. ahmadka

    ahmadka Regular member

    Joined:
    Apr 17, 2005
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    26
    Thanx odin, I found that great guide a little while ago ..

    right now I am re-encoding a small test mkv file ... Trying to resize the resolution from 1280x688 t0 1280x720 ..

    I have a question regarding the script file. Can you tell me if this script is OK?:

    DirectShowSource("C:\HDtest\testfile.mkv",fps=23.9759856527702,audio=false)
    AddBorders(0,16,0,16)
    #deinterlace
    #crop
    #resize
    #denoise

    Secondly, should I use the resize command ? I mean, from what I understand, I don't think I need to use it, since adding the border makes the resulting resolution into 1280x720 .. So should I still use the resize command ?
     
  4. Ryu77

    Ryu77 Regular member

    Joined:
    Jan 15, 2005
    Messages:
    957
    Likes Received:
    0
    Trophy Points:
    26
    You are most welcome. That is what it is here for, to help others. :)

    No, this can not be done. The only way to add borders is to re-encode the video with the borders added.

    As above.

    I can see that you have the right script now, so you are right here.

    As long as it is within Blu-ray specifications. The most common format of audio that isn't compatible would be AAC (Advanced Audio Codec). If you come accross this format, you could wither remux into MP4 format (which is also compatible with the PS3) or you could re-encode the audio.

    EAC3to is the better way to process the audio. Although, the Aften encoder in MeGUI is quite good too. You will need to use AVIsynth to serve the audio into MeGUI. Also, there are less encoding options available in MeGUI compared to EAC3to.

    Don't worry about those. For our purposes, we wont be using those features.

    Once again, no problem. Welcome to the thread. If I could ask one favour though. Could you please go back and edit 2 of your previous posts so that only one of these repeated posts remains. I know AfterDawn can sometimes repeat posts, but if you could fix it that would be appreciated. :)
     
  5. Ryu77

    Ryu77 Regular member

    Joined:
    Jan 15, 2005
    Messages:
    957
    Likes Received:
    0
    Trophy Points:
    26
    There's a nice (kind of new) little application that is developing quite nicely. It is a GUI for EAC3to that allows us to identify which playlist points to the correct M2TS files. This is quite useful for those that have trouble with multiple M2TS files that need to be appended.

    This application can also create a text file with the chapter information and allow you to demux the desired tracks you wish to keep with ease.

    HdBrStreamExtractor Download Link

    [​IMG]

    PS: You will need to make sure that this application is executed directly from the EAC3to folder. I have also modified the cover page to "The complete HD (Blu-ray/HD-DVD) back-up thread.", to add this application. EAC3to and More GUI has also been added and definitions have been modified slightly.
     
    Last edited: Nov 30, 2008
  6. ahmadka

    ahmadka Regular member

    Joined:
    Apr 17, 2005
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    26
    Thanx for the help both odin and ryu :) ..

    OK I'm repeating my last question here again :p

    I'm re-encoding this MKV file through MeGui to change the resolution from 1280x688 t0 1280x720 ..

    For this, I have come up with this script:

    DirectShowSource("C:\HDtest\testfile.mkv",fps=23.9759856527702,audio=false)
    AddBorders(0,16,0,16)
    #deinterlace
    #crop
    #resize
    #denoise

    Is the above script OK ?

    Also, should I add the LanzcosResize( .. ) command to it ? From what I can understand, I don't think thats needed ... what do you say ?
     
  7. Ryu77

    Ryu77 Regular member

    Joined:
    Jan 15, 2005
    Messages:
    957
    Likes Received:
    0
    Trophy Points:
    26
    Yes, the above script is fine. You do not need to add a resize filter unless you have a resolution not conforming to Blu-ray specifications.
     
  8. lamenting

    lamenting Member

    Joined:
    May 27, 2008
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    16
    I'm going to be so happy if Sony starts supporting MKV.

    With the upcoming release of DivX 7, this may be a reality.
     
  9. ahmadka

    ahmadka Regular member

    Joined:
    Apr 17, 2005
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    26
    OK, I have another question ...

    When you convert an MKV file into an AVCHD Bluray, the size increases slightly... For example, a 4.37 GB MKV file can transform into like a 4.55 GB AVCHD Bluray Disc, which obviously doesn't fit on a single layered DVD..

    So since I'm re-encoding my MKV in MeGui anyway, I had the idea that I should probably decrease the size of the projected output, so that when it gets converted into an AVCHD Bluray disc, it comes to 4.37 GB ..

    The problem is that I dont know exactly how much the size increases, so I can offset that amount down in MeGui ...

    Anyone know how this increase in size can be calculated (its different for every conversion I think) ... ??
     
  10. odin24

    odin24 Regular member

    Joined:
    May 4, 2007
    Messages:
    1,287
    Likes Received:
    0
    Trophy Points:
    46
    Does this still apply even though the source was 1280x688? I know adding the black lines brings it up to 720, isn't the resize neccesary?
     
  11. 1800hindu

    1800hindu Member

    Joined:
    Nov 25, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    11
    hey guys, i used tsmuxer to change a .ts file into m2ts so i could play it on my ps3, it worked fine using the guide to tsmuxer that was provided. i attempted to do the same process with another .ts file, but this time i had to set tsmuxer to split the file into 4gb segments. my problem is that my ps3 only reads the smaller split file that is produced. what am i doing wrong? any help would be greatly appreciated.
     
  12. Ryu77

    Ryu77 Regular member

    Joined:
    Jan 15, 2005
    Messages:
    957
    Likes Received:
    0
    Trophy Points:
    26
    I'm sure that I mentioned this previously when you had instructed someone to resize...

    http://forums.afterdawn.com/thread_jump.cfm/621809/4383379

    I am 100% sure that a resize filter is not needed if the original resolution + borders equals a Blu-ray compliant resolution. There is no reason to resample an image that doesn't need resampling. This adds an extra process and could (although very minimally) impact video quality.

    I missed your reply earlier but I will take opportunity now to reply...

    He did show an AddBorders(0,140,0,140) command, and had an original resolution of 1920 x 800. So, 800 + 140 + 140 = 1080. Clearly that is a Blu-ray compliant resolution. There was no reason to suggest a resize filter. The only time you will need to resize is if you need to add an uneven number of borders. For example an original resolution of 1920 x 798. Using AddBorders(0,141,0,141) could be used but it's usually recommended to use even numbers, so I would use the AddBorders(0,140,0,140) command and LanczosResize(1920,1080) command in this situation.
     
    Last edited: Dec 1, 2008
  13. ahmadka

    ahmadka Regular member

    Joined:
    Apr 17, 2005
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    26
    OK Thanx for all your help Ryu and Odin..

    So here's another question:

    I ran the full re-encoding process last night, because the test MKV re-encoding worked OK ...

    But after about one hour into the first job in MeGui (there were two jobs in the queue in total), the process stops, I get the following error:

    [Information] Log
    -[Information] Versions
    --[NoImage] MeGUI Version : 0.3.0.3009
    --[NoImage] OS : Microsoft Windows XP Professional SP3 (5.1.196608.2600)
    --[NoImage] Framework used : 2.0 (2.0.50727.42)
    -[Information] Hardware
    --[NoImage] CPU : Intel(R) Pentium(R) 4 CPU 3.60GHz
    -[Information] Log for job1 (video, Match.Point.2005.720p.BluRay.x264-SiNNERS.avs -> )
    --[Information] [12/1/2008 2:30:49 AM] Started handling job
    --[Information] [12/1/2008 2:30:49 AM] Preprocessing
    --[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 4403 --stats "C:\Documents and Settings\Abbu\Desktop\Package for Laptop\log.txt" --keyint 24 --min-keyint 2 --bframes 3 --b-pyramid --weightb --direct auto --subme 2 --partitions none --qpmin 8 --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 30000 --vbv-maxrate 38000 --qcomp 0.5 --me dia --threads auto --thread-input --sar 1:1 --progress --no-dct-decimate --no-psnr --no-ssim --output NUL "C:\ReEncode\Match.Point.2005.720p.BluRay.x264-SiNNERS.avs" --mvrange 511 --aud --nal-hrd --sar 1:1
    --[Information] [12/1/2008 2:30:49 AM] Encoding started
    --[NoImage] Standard output stream
    --[NoImage] Standard error stream
    ---[NoImage] avis [info]: 1280x720 @ 23.98 fps (178333 frames)
    ---[NoImage] x264 [info]: using SAR=1/1
    ---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2 SSE3 Cache64
    ---[NoImage] x264 [info]: profile Main, level 4.1
    --[Information] [12/1/2008 3:51:17 AM] Job completed

    Can you please tell me whats going wrong here ?

    In case you need the details on the original MKV I am trying to re-encode, here they are (exported from MediaInfo):

    General
    Complete name : C:\Downloads\HD Movies\Match.Point.2005.LiMiTED.720p.BluRay.x264-SiNNERS_tehPARADOX.COM\Match.Point.2005.720p.BluRay.x264-SiNNERS.mkv
    Format : Matroska
    File size : 4.37 GiB
    Duration : 2h 3mn
    Overall bit rate : 5 049 Kbps
    Encoded date : UTC 2008-11-27 12:30:21
    Writing application : mkvmerge v2.4.0 ('Fumbling Towards Ecstasy') built on Oct 11 2008 20:13:15
    Writing library : libebml v0.7.7 + libmatroska v0.8.1

    Video
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 5 frames
    Muxing mode : Container profile=Unknown@4.1
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 2h 3mn
    Bit rate : 4 201 Kbps
    Nominal bit rate : 4 407 Kbps
    Width : 1 280 pixels
    Height : 688 pixels
    Display aspect ratio : 1.860
    Frame rate : 23.976 fps
    Resolution : 24 bits
    Colorimetry : 4:2:0
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.209
    Title : Video
    Writing library : x264 core 65 r1029M cb3c213
    Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x2 / me=hex / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=4407 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00

    Audio
    Format : AC-3
    Format/Info : Audio Coding 3
    Codec ID : A_AC3
    Duration : 2h 3mn
    Bit rate mode : Constant
    Bit rate : 640 Kbps
    Channel(s) : 2 channels
    Channel positions : L R
    Sampling rate : 48.0 KHz
    Language : English
     
  14. Gardus

    Gardus Member

    Joined:
    Sep 27, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    11
    Is there any way to stream a h264+AC3 file to the PS3 with subtitle (I use tversity)?
    I know that tsmuxer use them only if you use the AVCHD structure on a disc or usb devide...

    What kind of A/V compression do .vob files support?

    I like to watch HD anime with eng subs on the big screen...
     
  15. traycer

    traycer Member

    Joined:
    Dec 1, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Hi, all! Thanks to all the great info here (especially in this thread), I am much closer now to being able to distribute 1080p content to clients using standard DVDs. However, there is one last hurdle that I have not figured out, and I don't see it addressed here.

    Short version: My 1920x1080 AVCHD's only play in 480-line standard def on my PS3.


    Long version...

    I use ProShow Gold to produce photography slideshows with accompanying music soundtracks. The latest version of PSG will create BD ISO images. The BDMV directory structure is all there, and the slideshow itself is rendered as a 1920x1080x60i (or 24p) .m2ts file. If I simply burn that to a regular DVD-R (instead of a BD-R) and pop it into the PS3, it shows up as a "data disc". Manually navigating into the BDMV/STREAMS/ directory and playing the 00000.m2ts file works (1920x1080 resolution, looks great).

    I would like the PS3 to recognize the disc as video content and automatically begin playback (like a "real" DVD or BD would). So I've been playing with TSRemux, copying the MovieObject.bdmv and index.bdmv files from Nero and the AVC-HD calibration disc, etc. Now the PS3 does automatically start playback of the disc... one step closer!

    However, the problem now is that the video stream is downscaled to 480 lines, which my projector then naturally tries to upscale back to 1080 lines. The result is pretty bad, as one would imagine. I checked the m2ts file on my computer, and VLC is able to play it back at the full 1920x1080 native resolution... so I know the video stream was not somehow dumbed down to 480 lines.

    My question is, why is this happening? I can take the exact same ISO image and only replace the two .bdmv files, and it will cause this downscaling to happen on the PS3. I've looked into BDedit, but there is nothing obvious in there that says "play this M2TS file at 1080p". I'm thinking perhaps this is a Sony DRM thing? Somehow the content is flagged in a way that the PS3 believes it is not "allowed" to play it in HD, so it falls back to SD? Anyone know anything about that?

    Some relevant details: the M2TS file created by ProShow Gold is a 25 Mbps MPEG-2 stream, with 1.5 Mbps LPCM audio. I can switch the bitrate to 20, 15 and 10 Mbps, if anyone thinks that will help. My PS3 is connected to the projector via HDMI, and it has no difficulty playing commercial BD movies, nor downloaded trailers and PS3 games at 1080p resolution.

    I don't need subtitles or 5.1 surround sound or multiple chapters or anything like that. These slideshows are literally only 5 to 10 minutes long, that's all. It would be great to distribute these on inexpensive DVD media than on BD-R's.

    Any help or pointers to existing threads would be appreciated. Thanks!
     
  16. evo007

    evo007 Member

    Joined:
    Dec 2, 2008
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    11
    Gday all, just after some advice please.

    I have a movie in MKV format and i convert it to mp4 or m2ts with MKV2VOB, however when i play back the converted MKV file in mp4 or m2ts file on my PC the video resolution is warped. ie. it appears to be squashed up a bit compared to the original resolution of the MKV playback. stats on the resolution of the MKV file are listed here - [Resolution] ......... [ 960x544@A.R.2.35][Anamorphic?] ........ [ (YES) 1280x544 ]

    let me know if i should provide anymore info, advice is greatly appreciated.

    thanks
     
  17. odin24

    odin24 Regular member

    Joined:
    May 4, 2007
    Messages:
    1,287
    Likes Received:
    0
    Trophy Points:
    46
    Are you burning both BDMV and Certificate folders, and to the UDF 2.5 file system?

    The only other thing I can think of is maybe it's a 1920x1080i60 issue, maybe only 1920x1080i30 or 24p is supported... I cannot say for sure though.
     
  18. odin24

    odin24 Regular member

    Joined:
    May 4, 2007
    Messages:
    1,287
    Likes Received:
    0
    Trophy Points:
    46
    It's the resolution of the video that's the issue. Your PS3 is trying to play the 960x544 video as 1280x544, thus the stretching. Not sure how to fix it, sorry.
     
  19. ahmadka

    ahmadka Regular member

    Joined:
    Apr 17, 2005
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    26
    OK Ryu and Odin, I need help with another problem :) ..

    I have this MKV file, which plays absolutely fine as itself ... But when I make it into a Bluray AVCHD Disc using tsMuxer (setting the Level to 4.1 as well) ... I get this strange problem ..

    When I play the resulting Disc in PowerDVD 8, it plays, but the playback is very distorted ...

    At one moment, the picture is absolutely fine, and then within a second or two, it gets distorted into chucky blocks ... then it becomes OK again, and then goes chunky ... and so on ..

    The audio and subtitles are fine, its just the video thats causing this problem ...

    What's the solution to this guys ?
     
  20. evo007

    evo007 Member

    Joined:
    Dec 2, 2008
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    11
    Thanks for the reply, however the squashed resolution results before i even transfer it to the PS3. perhaps i should use a different program?
     

Share This Page