VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    I'm attempting to convert some anime episodes I've got in the .MKV format to a format that is playable on my PS3. The files each have H264 video and 6 channel AAC audio. I've done some research and came across a few different guides on how to do this and have ran into the same issue with all of them. I've tried converting them to .MP4 by extracting the video and audio out of the .MKV and putting them into an .MP4 container with Yamb. I've also tried using txMuxer to create a .M2TS version. With both of these methods I end up with a file that had audio that is out of sync with the video. I have made sure to set the proper video framerate and still the audio is out of sync. I have included the output of both MKVinfo and Media Info in hopes that someone can tell me what I'm doing wrong. Any help with my problem would be great. Thanks

    MKVinfo:
    (MKVInfo) + EBML head at 0
    (MKVInfo) |+ Doc type: matroska at 5
    (MKVInfo) |+ Doc type version: 1 at 16
    (MKVInfo) |+ Doc type read version: 1 at 20
    (MKVInfo) + Segment, size 309106186 at 24
    (MKVInfo) |+ Seek head at 36
    (MKVInfo) | + Seek entry at 41
    (MKVInfo) | + Seek ID: 0x15 0x49 0xa9 0x66 (KaxInfo) at 44
    (MKVInfo) | + Seek position: 4099 at 51
    (MKVInfo) | + Seek entry at 56
    (MKVInfo) | + Seek ID: 0x16 0x54 0xae 0x6b (KaxTracks) at 59
    (MKVInfo) | + Seek position: 4263 at 66
    (MKVInfo) | + Seek entry at 71
    (MKVInfo) | + Seek ID: 0x11 0x4d 0x9b 0x74 (KaxSeekHead) at 74
    (MKVInfo) | + Seek position: 309092816 at 81
    (MKVInfo) | + Seek entry at 88
    (MKVInfo) | + Seek ID: 0x1c 0x53 0xbb 0x6b (KaxCues) at 91
    (MKVInfo) | + Seek position: 309086518 at 98
    (MKVInfo) | + Seek entry at 105
    (MKVInfo) | + Seek ID: 0x19 0x41 0xa4 0x69 (KaxAttachments) at 108
    (MKVInfo) | + Seek position: 7246 at 115
    (MKVInfo) |+ EbmlVoid (size: 4012) at 120
    (MKVInfo) |+ Segment information at 4135
    (MKVInfo) | + Timecode scale: 1000000 at 4141
    (MKVInfo) | + Muxing application: libebml v0.7.7 + libmatroska v0.8.0 at 4148
    (MKVInfo) | + Writing application: mkvmerge v1.7.0 ('What Do You Take Me For') built on Apr 28 2006 17:20:19 at 4186
    (MKVInfo) | + Duration: 1573.390s (00:26:13.390000000) at 4262
    (MKVInfo) | + Date: Wed May 03 00:15:20 2006 UTC at 4269
    (MKVInfo) | + Segment UID: 0x8d 0x0e 0x04 0x9f 0x8b 0xf7 0xf9 0xec 0xae 0xfc 0x48 0x8d 0xd3 0xc3 0x96 0xc3 at 4280
    (MKVInfo) |+ Segment tracks at 4299
    (MKVInfo) | + A track at 4305
    (MKVInfo) | + Track number: 1 at 4308
    (MKVInfo) | + Track UID: 2432630442 at 4311
    (MKVInfo) | + Track type: video at 4318
    (MKVInfo) | + Enabled: 1 at 4321
    (MKVInfo) | + Default flag: 1 at 4324
    (MKVInfo) | + Forced flag: 0 at 4327
    (MKVInfo) | + Lacing flag: 0 at 4331
    (MKVInfo) | + MinCache: 1 at 4334
    (MKVInfo) | + Timecode scale: 1.000000 at 4338
    (MKVInfo) | + Max BlockAddition ID: 0 at 4346
    (MKVInfo) | + Codec ID: V_MPEG4/ISO/AVC at 4350
    (MKVInfo) | + Codec decode all: 1 at 4367
    (MKVInfo) | + CodecPrivate, length 41 at 4370
    (MKVInfo) | + Default duration: 41.708ms (23.976 fps for a video track) at 4414
    (MKVInfo) | + Language: und at 4422
    (MKVInfo) | + Name: Ghost in the Shell - Stand Alone Complex - 01 - Section 9 at 4429
    (MKVInfo) | + Video track at 4489
    (MKVInfo) | + Pixel width: 768 at 4491
    (MKVInfo) | + Pixel height: 432 at 4495
    (MKVInfo) | + Interlaced: 0 at 4499
    (MKVInfo) | + Display width: 768 at 4502
    (MKVInfo) | + Display height: 432 at 4507
    (MKVInfo) | + A track at 4512
    (MKVInfo) | + Track number: 2 at 4515
    (MKVInfo) | + Track UID: 2914304396 at 4518
    (MKVInfo) | + Track type: audio at 4525
    (MKVInfo) | + Enabled: 1 at 4528
    (MKVInfo) | + Default flag: 1 at 4531
    (MKVInfo) | + Forced flag: 0 at 4534
    (MKVInfo) | + Lacing flag: 1 at 4538
    (MKVInfo) | + MinCache: 0 at 4541
    (MKVInfo) | + Timecode scale: 1.000000 at 4545
    (MKVInfo) | + Max BlockAddition ID: 0 at 4553
    (MKVInfo) | + Codec ID: A_AAC/MPEG2/LC/SBR at 4557
    (MKVInfo) | + Codec decode all: 1 at 4577
    (MKVInfo) | + Default duration: 46.440ms (21.533 fps for a video track) at 4580
    (MKVInfo) | + Language: jpn at 4588
    (MKVInfo) | + Name: Original Japanese Audio (HE-AAC 5.1) at 4595
    (MKVInfo) | + Audio track at 4634
    (MKVInfo) | + Sampling frequency: 22050.000000 at 4636
    (MKVInfo) | + Channels: 6 at 4642
    (MKVInfo) | + Output sampling frequency: 44100.000000 at 4645
    (MKVInfo) | + A track at 4652
    (MKVInfo) | + Track number: 3 at 4655
    (MKVInfo) | + Track UID: 2190696065 at 4658
    (MKVInfo) | + Track type: audio at 4665
    (MKVInfo) | + Enabled: 1 at 4668
    (MKVInfo) | + Default flag: 0 at 4671
    (MKVInfo) | + Forced flag: 0 at 4674
    (MKVInfo) | + Lacing flag: 1 at 4678
    (MKVInfo) | + MinCache: 0 at 4681
    (MKVInfo) | + Timecode scale: 1.000000 at 4685
    (MKVInfo) | + Max BlockAddition ID: 0 at 4693
    (MKVInfo) | + Codec ID: A_AAC/MPEG2/LC/SBR at 4697
    (MKVInfo) | + Codec decode all: 1 at 4717
    (MKVInfo) | + Default duration: 46.440ms (21.533 fps for a video track) at 4720
    (MKVInfo) | + Language: eng at 4728
    (MKVInfo) | + Name: Dubbed English Audio (HE-AAC 5.1) at 4735
    (MKVInfo) | + Audio track at 4771
    (MKVInfo) | + Sampling frequency: 22050.000000 at 4773
    (MKVInfo) | + Channels: 6 at 4779
    (MKVInfo) | + Output sampling frequency: 44100.000000 at 4782
    (MKVInfo) | + A track at 4789
    (MKVInfo) | + Track number: 4 at 4792
    (MKVInfo) | + Track UID: 2747758521 at 4795
    (MKVInfo) | + Track type: subtitles at 4802
    (MKVInfo) | + Enabled: 1 at 4805
    (MKVInfo) | + Default flag: 1 at 4808
    (MKVInfo) | + Forced flag: 0 at 4811
    (MKVInfo) | + Lacing flag: 0 at 4815
    (MKVInfo) | + MinCache: 0 at 4818
    (MKVInfo) | + Timecode scale: 1.000000 at 4822
    (MKVInfo) | + Max BlockAddition ID: 0 at 4830
    (MKVInfo) | + Codec ID: S_TEXT/ASS at 4834
    (MKVInfo) | + Codec decode all: 1 at 4846
    (MKVInfo) | + CodecPrivate, length 1375 at 4849
    (MKVInfo) | + Language: eng at 6228
    (MKVInfo) | + Name: English Subtitles at 6235
    (MKVInfo) |+ EbmlVoid (size: 1024) at 6255
    (MKVInfo) |+ Attachments at 7282
    (MKVInfo) | + Attached at 7289
    (MKVInfo) | + File name: GalliardStd-Ultra.ttf at 7294
    (MKVInfo) | + Mime type: application/x-truetype-font at 7318
    (MKVInfo) | + File data, size: 45800 at 7348
    (MKVInfo) | + File UID: 1474771124 at 53153
    (MKVInfo) |+ Cluster at 53160


    Media Info:

    General
    CompleteName : H:\My Downloads\[AHQ] Ghost in the Shell S.A.C. 1st GIG\[AHQ] Ghost in the Shell S.A.C. 1st GIG - 01 - Section 9.mkv
    Format : Matroska
    FileSize/String : 295 MiB
    Duration/String : 26mn 13s
    OverallBitRate/String : 1 572 Kbps
    Encoded_Date : UTC 2006-05-03 00:15:20
    Encoded_Application : mkvmerge v1.7.0 ('What Do You Take Me For') built on Apr 28 2006 17:20:19
    Encoded_Library/String : libebml v0.7.7 + libmatroska v0.8.0
    Cover : Yes

    Video
    Format : AVC
    Format/Info : Advanced Video Codec
    Format_Profile : High@L5.1
    Format_Settings_CABAC/String : Yes
    Format_Settings_RefFrames/String : 13 frames
    CodecID : V_MPEG4/ISO/AVC
    Duration/String : 26mn 11s
    Width/String : 768 pixels
    Height/String : 432 pixels
    DisplayAspectRatio/String : 16/9
    FrameRate/String : 23.976 fps
    Resolution/String : 24 bits
    Colorimetry : 4:2:0
    ScanType/String : Progressive
    Title : Ghost in the Shell - Stand Alone Complex - 01 - Section 9
    Encoded_Library/String : x264 core 46 svn-503M
    Encoded_Library_Settings : cabac=1 / ref=10 / deblock=1:2:1 / analyse=0x3:0x133 / me=esa / subme=7 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / chroma_qp_offset=0 / slices=2 / nr=0 / decimate=1 / bframes=2 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=cqp / qp=16 / ip_ratio=1.40 / pb_ratio=1.30

    Audio #1
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format_Version : Version 2
    Format_Profile : LC
    Format_Settings_SBR/String : Yes
    CodecID : A_AAC/MPEG2/LC/SBR
    Duration/String : 26mn 13s
    Channel(s)/String : 6 channels
    SamplingRate/String : 44.1 KHz
    Title : Original Japanese Audio (HE-AAC 5.1)
    Language/String : Japanese

    Audio #2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format_Version : Version 2
    Format_Profile : LC
    Format_Settings_SBR/String : Yes
    CodecID : A_AAC/MPEG2/LC/SBR
    Duration/String : 26mn 13s
    Channel(s)/String : 6 channels
    SamplingRate/String : 44.1 KHz
    Title : Dubbed English Audio (HE-AAC 5.1)
    Language/String : English

    Text
    Format : ASS
    CodecID : S_TEXT/ASS
    CodecID/Info : Advanced Sub Station Alpha
    Title : English Subtitles
    Language/String : English
    Quote Quote  
  2. jeremy try gotsent just load the mkv file in and click run. then burn the file to a dvd
    Quote Quote  
  3. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    Have you actually tried to re-encode or are you simply trying to demux and mux back into another format i.e., from MKV to MP4 or M2TS etc.?

    Based on the specs the video will definitely have to be re-encoded because as it is now it is not compatible with the PS3 and simply trying to force a header change from Level 5.1 to Level 4.1 will not work. There are simply too many reference frames. As for the audio it may or may not be OK as it is now. I would argue that AAC LC is a better more safe choice than AAC HE but when I first started doing MP4 conversions I did one with AAC HE that was 5.1 and it worked *shrugs* although I've always read that AAC LC should be used. So the audio may be A-OK and I would try to re-encode the video and mux it with the original audio. If that doesn't work you can always demux and re-do the audio then mux the new audio with the video.

    Have you actually experienced the sync issue on the PS3 or only on your computer?

    - John "FulciLives" Coleman

    P.S.
    I just realized that the audio says it is LC and HE which of course is impossible but I am thinking that it is LC if I am reading the MediaInfo output "correctly". So the audio should be A-OK without the need to re-encode it. The video you WILL need to re-encode. I use XVID4PSP myself for such things. Another option would be MeGui.
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  4. Member
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    I was actually just trying to mux the video into MP4 or M2TS without re-encoding but if it is needed that's fine. I've actually not even tried the videos on my PS3. I've been playing them on my PC with VLC and that's where I'm seeing the sync issue. I'll try it on the PS3 and see if I get different results. I'll also try re-encoding it and Gotsend and see if I can get it to work that way. Thank you both for helping me with this!
    Quote Quote  
  5. Member
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    I went back and tried the videos on my PS3. The .m2ts file wouldn't play at all. PS3 said it was an unsupported format but the MP4 did play. The video looked to be fine and you could hear audio but it was like the audio had been slowed way down. It actually sounded pretty funny. I guess I do need to re-encode at least the audio but i'm not sure what would be the best program to do so.
    Quote Quote  
  6. Member
    Join Date
    Dec 2006
    Location
    Here,where do you think?
    Search Comp PM
    As Fulcilives stated,
    "Based on the specs the video will definitely have to be re-encoded because as it is now it is not compatible with the PS3 and simply trying to force a header change from Level 5.1 to Level 4.1 will not work."

    When using tsmuxer,did you change level to 4.1 ? sometimes it works...
    Also in order for the PS3 to accept a .m2ts file,you'll have to change the extension to .mpg or .vob....
    " Who needs Google, my wife knows everything"
    Quote Quote  
  7. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    I'm surprised the video played at all on the PS3 because based on the specs it really shouldn't. So the video playing fine but the audio NOT playing fine is a bit odd to say the least.

    As for the audio ... since it is 5.1 AAC I would convert it to 5.1 AC-3 and then mux into an M2TS with tsMuxeR which will allow you to change the header from Level 5.1 to Level 4.1 and with AC-3 audio that should work.

    The PS3 will play a file with M2TS as the file extension if you are playing it directly (from a data CD or data DVD or USB thumb drive etc.) but if you are streaming it then SOME streaming software requires you to change the file extension to something else like t0nee1 said. This isn't the fault of the PS3 but of the streaming software. I use MediaTomb for Linux as my streaming software and have no such issues.

    As for 5.1 AAC to 5.1 AC-3 ... I'm not sure how to do that exactly. I did once make a MP4 with 5.1 AAC but I don't have it anymore nor do I have any files right now with 5.1 AAC but I seem to recall that I had to do that type of conversion once and I want to say (my memory is foggy here) that XVID4PSP couldn't handle it. I think I had to use GraphEdit to do it and it was a royal PITA process.

    I guess I would put XVID4PSP into "AUDIO ONLY" mode then try to load the 5.1 AAC and see if it recognizes it as 5.1 by going into that AUDIO ---> EDITING OPTIONS screen.

    - John "FulciLives" Coleman

    P.S.
    The M2TS file format must have AC-3 audio. I think DTS may also be supported (not 100% on that) but I know it doesn't support like MP3 or AAC etc.
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!