PS3 compatible video creation thread (tsMuxeR etc.).

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

  1. evo007

    evo007 Member

    Joined:
    Dec 2, 2008
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    11
    greetings all. its been a long time since ive needed to make a post, ive mainly just read the updates each time someone adds something new, just to stay in the loop.

    Now i have another question:

    I have an MKV file with FLAC audio as follows:

    Format : Matroska
    File size : 5.71 GiB
    Duration : 1h 53mn
    Overall bit rate : 7 169 Kbps
    Encoded date : UTC 2007-06-04 15:08:02
    Writing application : mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 2007 23:40:55
    Writing library : libebml v0.7.7 + libmatroska v0.8.1

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L5.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 8 frames
    Muxing mode : Container profile=Unknown@5.1
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 1h 53mn
    Width : 1 280 pixels
    Height : 544 pixels
    Display aspect ratio : 2.35:1
    Frame rate : 23.976 fps
    Resolution : 8 bits
    Colorimetry : 4:2:0
    Scan type : Progressive
    Writing library : x264 core 54 svn-635M
    Encoding settings : cabac=1 / ref=5 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=umh / subme=7 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=2 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=cqp / qp=20 / ip_ratio=1.40 / pb_ratio=1.30
    Language : English

    Audio
    ID : 2
    Format : FLAC
    Format/Info : Free Lossless Audio Codec
    Codec ID : A_FLAC
    Duration : 1h 53mn
    Bit rate mode : Variable
    Channel(s) : 6 channels
    Sampling rate : 48.0 KHz
    Resolution : 16 bits
    Title : Mandarin PCM 5.1
    Writing library : libFLAC 1.1.4 (UTC 2007-02-13)

    Text #1
    ID : 3
    Format : UTF-8
    Codec ID : S_TEXT/UTF8
    Codec ID/Info : UTF-8 Plain Text
    Language : English

    Text #2
    ID : 4
    Format : UTF-8
    Codec ID : S_TEXT/UTF8
    Codec ID/Info : UTF-8 Plain Text
    Language : French

    MKV2VOB says that the audio codec is unsupported, so it cannot convert. I eventually copied/transcoded it across to the PS3 HDD with ps3mediaserver which worked fine, yet the 6gig MKV has now become a 20gig MPG.

    any recommendations to convert it again, but with a similar 6gig file size? should i unmux the MKV and extract the separate video and audio streams and somehow convert the FLAC to AC3, etc?

    appreciate all your advice. thanks
     
  2. odin24

    odin24 Regular member

    Joined:
    May 4, 2007
    Messages:
    1,287
    Likes Received:
    0
    Trophy Points:
    46
    FLAC is a lossless compression, similar to DTSHD-MA and TrueHD. You can convert to LPCM and retain the exact audio quality, but with twice the size. Or, you can convert to AC3 and shrink it by probably two thirds the original audio file size.

    You do not need to demux to convert. Use eac3to and convert the audio stream to your desired codec.
     
  3. linkish

    linkish Member

    Joined:
    Feb 21, 2010
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    11
    Greetings to all you kind, helpful, most revered forum elders. I'm coming here today with hat in hand, sleep-deprived and frustrated beyond rationality. If one of you could lend me a bit of assistance, I'd sing your praises from a modestly tall mountaintop.

    Here's what I'm trying to accomplish: Using MeGUI to hard-sub some fancy formatted .ass subs into an AVC video stream, into an MP4 container. Then dumping the audio track back in, eventually to view the result in splendour on my PS3.

    The original file is AVC 4.1 in an MKV container, and by all appearances, it shouldn't really require a lot of tweaking to make everything work out. Here's what MediaInfo has to say about it.
    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 4 frames
    Muxing mode : Container profile=Unknown@4.1
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 24mn 30s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate : 24.000 fps
    Original frame rate : 29.970 fps
    Resolution : 8 bits
    Colorimetry : 4:2:0
    Scan type : Progressive
    Writing library : x264 core 67 r1173 f6d3166
    Encoding settings : cabac=1 / ref=4 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=umh / me-prepass=0 / subme=9 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / thread_queue=6 / nr=0 / decimate=0 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=240 / keyint_min=1 / scenecut=70 / rc=crf / crf=23.0 / qcomp=0.70 / qpmin=10 / qpmax=30 / qpstep=12 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:-0.25:10.00 / aq2=1:1.50:20.00


    Using the "x264: Playstation 3 - Standard" setting in MeGUI, this is what I get after the subs have been burned in. (I did edit the profile to set the profile level back down to 4.1, but this was the only way I altered it.)

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 3 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 24mn 30s
    Bit rate mode : Variable
    Bit rate : 1 486 Kbps
    Maximum bit rate : 10.4 Mbps
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 24.000 fps
    Resolution : 8 bits
    Colorimetry : 4:2:0
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.030
    Stream size : 261 MiB (100%)
    Writing library : x264 core 80 r1376M 3feaec2
    Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / wpredp=2 / keyint=250 / keyint_min=25 / scenecut=40 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=31250 / vbv_bufsize=31250 / ip_ratio=1.40 / aq=1:1.00
    Encoded date : UTC 2010-02-20 05:59:53
    Tagged date : UTC 2010-02-20 07:35:14


    Now, obviously some of the options are different, but I haven't been able to find any indication of why the output would be unrecognisable on the PS3.

    To further add insult to my dilemma here, have a look at this: it's a totally different file, but it plays perfectly (and beautifully) on my PS3. I encoded this with a different program (RipBot, I think), but everything looks pretty similar, at least to the point that I can't figure out why the broken file is dissimilar enough indeed be broken.

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 3 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 2h 6mn
    Bit rate mode : Variable
    Bit rate : 8 086 Kbps
    Maximum bit rate : 34.2 Mbps
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 23.976 fps
    Resolution : 8 bits
    Colorimetry : 4:2:0
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.163
    Stream size : 7.14 GiB (96%)
    Title : Final Fantasy VII Advent Children Complete
    Writing library : x264 core 80 r1376kGIT 3feaec2
    Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / wpredp=2 / keyint=240 / keyint_min=24 / scenecut=40 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=25000 / vbv_bufsize=25000 / ip_ratio=1.40 / aq=1:1.00
    Encoded date : UTC 2010-01-28 17:19:26
    Tagged date : UTC 2010-01-28 17:45:49


    Anyhow. Infinite gratitude in advance of whatever help you can provide or light you can shed. Sorry for turning this post into a leviathan; it's just kinda the way I am. I've been trying to get this sorted for a week now, and I've been pouring over AfterDawn, Doom9, and every other place in creation to figure it out, but I'm at the end of my (admittedly short) rope.
     
    Last edited: Feb 21, 2010
  4. odin24

    odin24 Regular member

    Joined:
    May 4, 2007
    Messages:
    1,287
    Likes Received:
    0
    Trophy Points:
    46
    Linkish... before you try to hardcode your subs, why not convert the .ass subs to Blu-ray compatible, then mux to AVCHD, instead of MP4. This would require no video encoding and a lot less time.

    Try this out, http://forum.doom9.org/showthread.php?t=149160

    The author is really friendly and will help out if you get stuck... he's really crafty when it comes to these video processing tools (check out multiAVCHD... and you'll see what I mean).

    Good luck.
     
  5. linkish

    linkish Member

    Joined:
    Feb 21, 2010
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    11

    Firstly, thanks for the prompt reply.

    Second, I'll look into multiAVCHD and report my results later on today. Thanks again!
     
  6. odin24

    odin24 Regular member

    Joined:
    May 4, 2007
    Messages:
    1,287
    Likes Received:
    0
    Trophy Points:
    46
    First try what I linked you to... then multiAVCHD, thet are two totally different apps. I think his subtitle processing application is also part of multiAVCHD too though :)
     
  7. linkish

    linkish Member

    Joined:
    Feb 21, 2010
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    11
    Back again, seeking help of a different kind, yet related to the same project I was working on previously.

    After having taken odin24's advice, futzing around with easySUP and multiAVCHD, I managed to find a program that worked even better than easySUP (at least in this instance; easySUP gave me a litany of errors during the conversion) called PunkGraphicStream. I also came to the conclusion that an AVCHD folder or like that would be a bit... inelegant for my needs, as the ultimate purpose is to store the final product on my NAS or the PS3's HDD itself. So, I figured tossing everything into a single .m2ts container with tsMuxeR the best way to go. Everything should be hunky-dory, right? Wrong.

    The original video file, in the Matroska container, has a variable frame rate (which may be the most evil concept I've come across thus far). Thus, I can't simply drop it into tsMuxeR without the sync being lost between the video and audio. Or can I? That's the question now: is there any method by which I can mux this together into an .m2ts? I believe .mp4 containers support VFR streams and timecode, but that would take me right back to my initial dilemma. Is it possible to mux into any other format which supports BD .sup files, or am I going to have to spend the time recoding into a different frame rate?

    Once again, any and all assistance is deeply and profoundly appreciated, I assure you.
     
  8. KajNrig

    KajNrig Regular member

    Joined:
    Oct 28, 2005
    Messages:
    1,457
    Likes Received:
    0
    Trophy Points:
    46
    Not sure about .mp4, but when I had a VFR .mkv I had to re-encode the entire thing to a CFR 23.976 .m2ts. I haven't tried remuxing it to .mp4, but I assume that the PS3 would take issue with it as well.

    But that's been my experience. If you can work something out without having to re-encode, let me know.
     
  9. linkish

    linkish Member

    Joined:
    Feb 21, 2010
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    11
    Yeah, I'm not getting a real good feeling about the odds. In fact, without even looking, I'm developing this impression that the PS3 doesn't support VFR video of any kind.

    Which would be because they're dicks.
     
  10. markb455

    markb455 Member

    Joined:
    Mar 30, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    11
  11. vicx2ww

    vicx2ww Member

    Joined:
    Apr 3, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11
    hi all! i have a problem like this!
    i have a lot of movies in 720p or 1080p mkv format with 2 audio streams at least one of them are in dts format(i dont have have dts decoder so i would prefer ac3) and subtitles!
    movies have size between 4.37 - 13 gbs! i would like to play them from my ps3 from dvd5! but in the same time to have all audio tracks and subtitles on that dvd5! i would like to split the movies not to shrink them(without re-encode)! if u have any solution please let me know or even better if u can make a video tutorial that everyone can see and understand it!
    ps: i tried a several softwares but with no resultats
    please help!
     
    Last edited: Apr 3, 2010
  12. vicx2ww

    vicx2ww Member

    Joined:
    Apr 3, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11
    are anybody watching this thread?
     
  13. linkish

    linkish Member

    Joined:
    Feb 21, 2010
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    11
    I still am, apparently.

    A question or two: which software have you tried? Are you married to the idea of splitting a single movie across multiple DVD5's? It doesn't seem like the most convenient method exactly, and I could perhaps suggest alternatives if I knew what sort of means you have available.
     
  14. vicx2ww

    vicx2ww Member

    Joined:
    Apr 3, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11
    i've tried tsmuxer(downconvert for audio streamd desnt work or the subtitles doesnt work) multiavchd, avchdcoder (this 2 tried to reencode this take a lot of time! or dont allow me to put 2 or 3 audio streams and burn the subtitles on muvie i cant make them to disapear)

    if u have ahother opition tell me! i prefer dvd5 because they are cheaper!
     
    Last edited: Apr 4, 2010
  15. linkish

    linkish Member

    Joined:
    Feb 21, 2010
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    11
    Any info you can give me about the file in question, preferably from MediaInfo?


    You could author the AVCHD to a flash drive/memory stick/sd card. It'd save you the expense of DVD's, at least, and you wouldn't have to switch discs. That said, use whatever suits you best.
     
  16. vicx2ww

    vicx2ww Member

    Joined:
    Apr 3, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11
    here is an example!i would add subtitles to it!
    General
    Complete name : D:\Hitman.Unrated.2007.Bluray.mkv
    Format : Matroska
    File size : 13.9 GiB
    Duration : 1h 34mn
    Overall bit rate : 21.1 Mbps
    Encoded date : UTC 2008-03-28 17:34:13
    Writing application : mkvmerge v2.2.0 ('Turn It On Again') built on Mar 10 2008 10:55:12
    Writing library : libebml v0.7.7 + libmatroska v0.8.1

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 2 frames
    Muxing mode : Container profile=Unknown@0.0
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 1h 34mn
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate : 23.976 fps
    Resolution : 8 bits
    Colorimetry : 4:2:0
    Scan type : Progressive
    Language : English

    Audio #1
    ID : 2
    Format : DTS
    Format/Info : Digital Theater Systems
    Codec ID : A_DTS
    Duration : 1h 34mn
    Bit rate mode : Constant
    Bit rate : 755 Kbps
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Resolution : 24 bits
    Stream size : 509 MiB (4%)
    Title : DTS 5.1 @ 768kbps
    Language : Russian

    Audio #2
    ID : 3
    Format : DTS
    Format/Info : Digital Theater Systems
    Format profile : MA
    Codec ID : A_DTS
    Duration : 1h 34mn
    Bit rate mode : Variable
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Resolution : 24 bits
    Title : DTS MA
    Language : English


    i have a lot of movies so how many memory stick sould i have :p
    why not to split the movie in 2 or 3!?
     
  17. vicx2ww

    vicx2ww Member

    Joined:
    Apr 3, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11
    hi all! i have a problem like this!
    i have a lot of movies in 720p or 1080p mkv format with 2 audio streams at least one of them are in dts format(i dont have have dts decoder so i would prefer ac3) and subtitles!
    movies have size between 4.37 - 13 gbs! i would like to play them from my ps3 from dvd5! but in the same time to have all audio tracks and subtitles on that dvd5! i would like to split the movies not to shrink them(without re-encode)! if u have any solution please let me know or even better if u can make a video tutorial that everyone can see and understand it!
    ps: i tried a several softwares but with no resultats
    please help!
    i've tried tsmuxer(downconvert for audio streamd desnt work or the subtitles doesnt work) multiavchd, avchdcoder (this 2 tried to reencode this take a lot of time! or dont allow me to put 2 or 3 audio streams and burn the subtitles on muvie i cant make them to disapear)

    here is an example!i would add subtitles to it!
    General
    Complete name : D:\Hitman.Unrated.2007.Bluray.mkv
    Format : Matroska
    File size : 13.9 GiB
    Duration : 1h 34mn
    Overall bit rate : 21.1 Mbps
    Encoded date : UTC 2008-03-28 17:34:13
    Writing application : mkvmerge v2.2.0 ('Turn It On Again') built on Mar 10 2008 10:55:12
    Writing library : libebml v0.7.7 + libmatroska v0.8.1

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 2 frames
    Muxing mode : Container profile=Unknown@0.0
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 1h 34mn
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate : 23.976 fps
    Resolution : 8 bits
    Colorimetry : 4:2:0
    Scan type : Progressive
    Language : English

    Audio #1
    ID : 2
    Format : DTS
    Format/Info : Digital Theater Systems
    Codec ID : A_DTS
    Duration : 1h 34mn
    Bit rate mode : Constant
    Bit rate : 755 Kbps
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Resolution : 24 bits
    Stream size : 509 MiB (4%)
    Title : DTS 5.1 @ 768kbps
    Language : Russian

    Audio #2
    ID : 3
    Format : DTS
    Format/Info : Digital Theater Systems
    Format profile : MA
    Codec ID : A_DTS
    Duration : 1h 34mn
    Bit rate mode : Variable
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Resolution : 24 bits
    Title : DTS MA
    Language : English

    why not to split the movie in 2 or 3!?
     
  18. evo007

    evo007 Member

    Joined:
    Dec 2, 2008
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    11
    Freedom of speech is a good thing - also, do what you wish, but splitting a 13gig movie down into 3 x 4.7gig discs seems like a massive job and will probably take you half a day or more just to do that one movie.

    What size HDD does your PS3 have? I changed mine over to 640gig and use ps3mediaserver to copy files straight over to it. you can also just stream them from your pc, instead of copying them. is that an option for you?

    a pack of 25 dual layer DVDs costs around $18 in Australia, surely they couldnt be much more anywhere else? I know single layer discs are super cheap, but i cant imagine them being the norm for much longer.

    This is great forum for getting help to transform your movie files into the format you need, but i would try to sway you away from splitting your files, it would be a massive job.

    MKV2VOB software will do it for you if you want to do it. good luck
     
  19. vicx2ww

    vicx2ww Member

    Joined:
    Apr 3, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11

    the problem with the mkv2vob its that it doesnt put 2 audio tracks! tsmuxer splits the mkv file very fast 10-20 min max the problem is that it doesnt downconvert the dts ! and i dont lnow how to write on dvd5 because tsmuxer meke one avchd folder with 2 3 video file it not make the 3 avchd folders!
     
  20. evo007

    evo007 Member

    Joined:
    Dec 2, 2008
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    11
    mkv2vob can do subtitles and so can ps3mediaserver.
     

Share This Page