1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Conversion of MP4 to M2TS

Discussion in 'Blu-ray players' started by ckwan, Jan 25, 2010.

  1. ckwan

    ckwan Member

    Joined:
    Apr 28, 2005
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    16
    Need help to convert some MP4 video files into the M2TS or AVCHD format. Can any one suggest a method?
     
  2. grkblood

    grkblood Regular member

    Joined:
    May 29, 2007
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    26
    all of these type of questions should have some info along with it, like what OS you are using.
     
  3. cyprusrom

    cyprusrom Active member

    Joined:
    Jan 5, 2006
    Messages:
    5,439
    Likes Received:
    1
    Trophy Points:
    96
    RipBot264 or MeGui will probably do it.
     
  4. Ryu77

    Ryu77 Regular member

    Joined:
    Jan 15, 2005
    Messages:
    941
    Likes Received:
    0
    Trophy Points:
    26
  5. ckwan

    ckwan Member

    Joined:
    Apr 28, 2005
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    16
    "all of these type of questions should have some info along with it, like what OS you are using."

    First, let me thank you for your response. I am currently using Windows XP and Windows Vista.

    I have conducted a forum search on AfterDawn and found a lot of discussions about how to convert other formats into MP4 but what I need to do is the other way around. That is, converting an MP4 into M2TS or AVCHD. I've tried the GOTSENT which can convert the MKV format into M2TS format but would not accept MP4 as input format.
     
  6. ckwan

    ckwan Member

    Joined:
    Apr 28, 2005
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    16
    I just checked out the download page of this software and here is the comment that I saw on this page:

    "RipBot264 v1.15.0
    RipBot264 is a simple and easy to use GUI for encoding video to iPod, PSP, Consoles and Blu-Ray. This small app is specially for people looking for something simple without exotic filters and unnecessary settings.

    RipBot264 requires the following applications to be installed:AviSynth, FFDSHOW, Haali Media Splitter, Microsoft .NET Framework Redistributable Package "

    It's not clear from this comment whether the software might take MP4 as input. Do you know if it would? Nonetheless, I might give it a try.
     
  7. Ryu77

    Ryu77 Regular member

    Joined:
    Jan 15, 2005
    Messages:
    941
    Likes Received:
    0
    Trophy Points:
    26
    So.... tsMuxeR is not worth a look in... Ok.

    You do know this is the only M2TS/AVCHD/Blu-ray muxer available completely free, right?

    To clarify, a muxer simply takes the elementary streams from one format and places them inside another container format. There is no conversion or re-encoding taking place at all. However, if either of your video or audio streams are not compliant to the desired output, then your only option is to re-encode.

    As Cyprusrom suggested, those two applications are good to use. Along with BD Rebuilder (if you have Blu-ray as your source). RipBot is an easier to use application, which could be good for non advanced users. I prefer MeGUI as I have more control over the quality and filters etc. But... It is important to recognise when it is necessary to re-encode and when it is not. This is why I suggested using tsMuxeR, so you can start to have an understanding of what you are working with on an elementary stream level. MediaInfo is another great little application that can help you understand what your file contains.
     
    Last edited: Jan 27, 2010
  8. ckwan

    ckwan Member

    Joined:
    Apr 28, 2005
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    16
     
  9. Ryu77

    Ryu77 Regular member

    Joined:
    Jan 15, 2005
    Messages:
    941
    Likes Received:
    0
    Trophy Points:
    26
    You don't need to read the 39 page guide to use tsMuxeR... And it will accept MP4 as input format.
     
  10. ckwan

    ckwan Member

    Joined:
    Apr 28, 2005
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    16
    I just started to read the guide last night but couldn't finish it because I have to come back to work today. Even so, I found the process of setting up the whole thing as suggested by the guide is overwhelming. First, there is a large number of softwares to install. Secondly, I probably have to spend some time to learn how to operate each of them. Now, if I don't read the entire guide, should I just install the tsMuxeR ignoring the other softwares mentioned in the guide and read only the portion related to tsMuxeR? I currently have 5 video files recorded in MP4 and approximately another 30 video files in MKV format. Each of these files has a size of approximately 1 GB. My overall objective is to convert these files into AVCHD probably 3 at a time so that I can burn them on single-layer DVD's without losing the Hi-Def quality. The original quality of these videos is 720P. I would appreciate it if you can suggest a short cut of doing this using the tsMuxeR.
     
  11. cyprusrom

    cyprusrom Active member

    Joined:
    Jan 5, 2006
    Messages:
    5,439
    Likes Received:
    1
    Trophy Points:
    96
    @ckwan

    You are probably in the best hands with Ryu, he would be one knowledgeable that would help you the most when it comes to HD stuff/Blu Ray. If you want to give him a helping hand, download MediaInfo (anyone dealing with any kind of video conversion and such should have it, or something similar...). Post a shot of the file opened with MediaInfo to provide the info about the way the video is encoded, it helps those trying to help you.
     
  12. ckwan

    ckwan Member

    Joined:
    Apr 28, 2005
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for the suggestion. I'll have to do it when I get home tonight. I don't have these files with me at work.
     
  13. ckwan

    ckwan Member

    Joined:
    Apr 28, 2005
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    16
    Just ran the MediaInfo. The file information is pasted below:

    MP4

    General
    Complete name : I:\Beyond The Realm Of Conscience\01.mp4
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom
    File size : 990 MiB
    Duration : 44mn 11s
    Overall bit rate : 3 132 Kbps
    Encoded date : UTC 2009-10-18 13:59:09
    Tagged date : UTC 2009-10-18 13:59:09

    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 : 44mn 11s
    Bit rate mode : Variable
    Bit rate : 3 000 Kbps
    Maximum bit rate : 8 773 Kbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 25.000 fps
    Resolution : 8 bits
    Colorimetry : 4:2:0
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.130
    Stream size : 948 MiB (96%)
    Writing library : x264 core 76 r1271 496d79d
    Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=5 / psy=1 / psy_rd=0.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=3000 / ratetol=4.0 / qcomp=0.40 / qpmin=12 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=24000 / vbv_bufsize=9000 / ip_ratio=1.40 / aq=1:1.00
    Encoded date : UTC 2009-10-18 13:18:55
    Tagged date : UTC 2009-10-18 14:00:24

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format version : Version 4
    Format profile : LC
    Format settings, SBR : No
    Codec ID : 40
    Duration : 44mn 11s
    Bit rate mode : Variable
    Bit rate : 129 Kbps
    Maximum bit rate : 139 Kbps
    Channel(s) : 2 channels
    Channel positions : L R
    Sampling rate : 48.0 KHz
    Stream size : 40.6 MiB (4%)
    Encoded date : UTC 2009-10-18 13:19:20
    Tagged date : UTC 2009-10-18 14:00:24

    MKV

    General
    Complete name : I:\Beyond The Realm Of Conscience\06.mkv
    Format : Matroska
    File size : 1.04 GiB
    Duration : 43mn 53s
    Overall bit rate : 3 395 Kbps
    Encoded date : UTC 2009-10-26 16:24:38
    Writing application : mkvmerge v2.9.8 ('C'est le bon') built on Aug 13 2009 12:49:06
    Writing library : libebml v0.7.7 + libmatroska v0.8.1

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : Main@L3.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 2 frames
    Muxing mode : Container profile=Unknown@3.1
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 43mn 53s
    Bit rate : 2 943 Kbps
    Nominal bit rate : 3 000 Kbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate : 25.000 fps
    Resolution : 8 bits
    Colorimetry : 4:2:0
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.128
    Stream size : 924 MiB (87%)
    Writing library : x264 core 68 r1183M f21daff
    Encoding settings : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=4 / psy_rd=0.0:0.0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=abr / bitrate=3000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00

    Audio
    ID : 2
    Format : AC-3
    Format/Info : Audio Coding 3
    Codec ID : A_AC3
    Duration : 43mn 53s
    Bit rate mode : Constant
    Bit rate : 384 Kbps
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Surround: L R, LFE
    Sampling rate : 48.0 KHz
    Stream size : 121 MiB (11%)
     
  14. grkblood

    grkblood Regular member

    Joined:
    May 29, 2007
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    26
    if you have transcoded to mkv and your codecs are avc and ac3 tsmuxer will remux that to m2ts with no problem.
     
  15. Ryu77

    Ryu77 Regular member

    Joined:
    Jan 15, 2005
    Messages:
    941
    Likes Received:
    0
    Trophy Points:
    26
    ckwan, your first file (MP4) has a compliant video stream. However, you will need to recode the audio stream from AAC (Advanced Audio Codec/MPEG4 Part 3) to Dolby Digital (AC3) if you wish to remux to a M2TS stream. Alternatively, you can use Dolby Digital or DTS for Blu-ray/AVCHD output.

    EAC3to can perform this task.

    The second file (MKV) is completely M2TS, Blu-ray/AVCHD compliant. Use tsMuxeR to output M2TS or Blu-ray/AVCHD.

    Some things to look out for...

    Your B-frames and reference frames are within the boundaries for the decoded picture buffer, and your resolution is Blu-ray compliant (720p).
     
    Last edited: Jan 29, 2010
  16. ckwan

    ckwan Member

    Joined:
    Apr 28, 2005
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    16
    Could this be done with tsMuxeR? If not, what program should I use?
     
  17. ckwan

    ckwan Member

    Joined:
    Apr 28, 2005
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    16
    Should I put the entire MP4 through this program? If not, how can I separate the audio stream from the video stream?
     
  18. bpgveg14

    bpgveg14 Member

    Joined:
    Feb 23, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    11
    Great information, thanks!
     
  19. cyprusrom

    cyprusrom Active member

    Joined:
    Jan 5, 2006
    Messages:
    5,439
    Likes Received:
    1
    Trophy Points:
    96
    You can demux the audio/video streams from the mp4 using Yamb .
     
  20. grkblood

    grkblood Regular member

    Joined:
    May 29, 2007
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    26
    just use ffmpeg and set the proper params
     
    Last edited: Jan 30, 2010

Share This Page