How to Convert M2T files to dvd iso

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

How to Convert M2T files to dvd iso

Postby Jimmers » Sat Jan 09, 2010 12:54 pm

Gals and Guys,
Again I come to the Knowledge Base, I have several M2T files on my hard drive, recorded over Christmas, which I have not played yet, my question is how do I convert them to DVD iso,
to burn and watch through my DVD Player, on TV.

I need a foolproof idiots programme and guide.

As always any thoughts, ideas, suggestions are extremely welcome.

Many thanks in advance.


Jimmers
Jimmers
Jimmers
 
Posts: 61
Joined: Sat Jan 24, 2009 9:29 am
Location: Gosport, Hampshire

Postby leke » Sat Jan 16, 2010 7:25 pm

M2T... I think that's like .TS
Well, you could give this a try...
Install ProjectX and demux the M2T. Then install Avidemux and join the demuxed files created from ProjectX in Avidemux. Then output in Avidemux to something playable on your DVD player (like VOB).

I've just done this with a TS file from my recordable digibox. A TS file is a container using the MPEG-2 video stream with 224kbps audio stream (or something). I think M2T is just another name for the container (I could be wrong though). You can play TS and maybe M2T in Xine, but the reason I wanted to convert my files is so I could play them on most media players.

Anyway, fire up ProjectX and find out :)
User avatar
leke
LXF regular
 
Posts: 508
Joined: Mon Oct 22, 2007 5:45 pm
Location: Oulu, Finland

How to convert M2T Files

Postby Jimmers » Sun Jan 17, 2010 11:37 am

Leke,
Many Thanks, will give it a go.
Jimmers
Jimmers
 
Posts: 61
Joined: Sat Jan 24, 2009 9:29 am
Location: Gosport, Hampshire

Postby RedWillow » Sun Jan 17, 2010 12:33 pm

If M2T is the same as TS, then have a look at DeVeDe. You might be able to master a DVD complete with (basic) menus with DeVeDe from your video files all in one go.
RedWillow
LXF regular
 
Posts: 719
Joined: Thu May 29, 2008 1:05 pm

Postby nordle » Sun Jan 17, 2010 3:06 pm

Mencoder+dvdAuthor works ok for this. However, if the TS stream has any breaks, this will cause the audio to go out of sync.

Run the first block of code below, wait 20s and open the resulting output file as its being created, you need to make sure you hear the audio, sometimes you have to crash it and specifiy the -aid stream.

bold items are system specifc.

Convert to proper dvd mpg compatible file.

Remove the \ below, needed to avoid wide post on forums.

mencoder input.m2t -alang en -forceidx -of mpeg -mpegopts format=dvd -srate 48000 -ofps 25 -ovc lavc -oac lavc -lavcopts \
threads=2:vcodec=mpeg2video:vme=4:mbd=2:dia=2:keyint=25\
:trell=1:mv0=1:vrc_buf_size=1835:vrc_maxrate=9530:vbitrate=4800:\
vmax_b_frames=2:aspect=16/9:\
acodec=ac3:abitrate=224 -vf crop=720:576,scale=720:576,pp=lb,harddup=1 \
-o ouput1.mpg

When the above is finished, open the file, check the last minute, is the audio in snyc with the video, if not, dont bother wasting a dvd on it.

Below are multiple output.mpgs files, you may want to stick more than one vid per dvd, space dependent.

Create the dvd filesystem

dvdauthor -o /mnt/myfs/mydvdfolder -t -v pal+16:9+720x576 -f output1.mpg output2.mpg output3.mpg && dvdauthor -o /mnt/myfs/mydvdfolder -T

Burn to dvd

growisofs -Z /dev/sr1 -dvd-video -speed=4 /mnt/myfs/mydvdfolder
I think, therefore I compile
User avatar
nordle
LXF regular
 
Posts: 1500
Joined: Fri Apr 08, 2005 9:56 pm

Postby Woofage » Sun Jan 17, 2010 11:57 pm

leke wrote:M2T... I think that's like .TS
output in Avidemux


I had problems with Avidemux losing sync between audio and video. kdenlive is OK, though.

I use kdenlive to trim videos (eg remove trailers etc) recorded on MythTV in m2t format and save to MPEG or AVI prior to bringing into DeVeDe to create an iso DVD image. If I could get my head around trimming in mencoder I would use that instead.
Woofage
 
Posts: 75
Joined: Wed Jan 16, 2008 1:28 pm
Location: Suffolk, UK

Postby leke » Mon Jan 18, 2010 2:09 pm

Woofage wrote:
leke wrote:M2T... I think that's like .TS
output in Avidemux


I had problems with Avidemux losing sync between audio and video. kdenlive is OK, though.

I use kdenlive to trim videos (eg remove trailers etc) recorded on MythTV in m2t format and save to MPEG or AVI prior to bringing into DeVeDe to create an iso DVD image. If I could get my head around trimming in mencoder I would use that instead.
yeah, trimming in Avidemux can be tricky. I found I had to bring in the audio and video separate and then save them together, then reload the saved file, trim it and save it again :roll:
Luckily, it doesn't lose quality if you use Copy and it's also quick :)
User avatar
leke
LXF regular
 
Posts: 508
Joined: Mon Oct 22, 2007 5:45 pm
Location: Oulu, Finland

How to convert M2T Files

Postby Jimmers » Mon Jan 18, 2010 10:46 pm

Guys,
Thanks for all the advice and suggestions, the problem is now resolved using DeVeDe.

Again Many Thanks[/quote]
Jimmers
Jimmers
 
Posts: 61
Joined: Sat Jan 24, 2009 9:29 am
Location: Gosport, Hampshire


Return to Help!

Who is online

Users browsing this forum: No registered users and 2 guests