Log in

View Full Version : MTS to uncompressed avi


juGGaKNot
28th August 2009, 19:56
I just got 40 clips from a lan party ( cs ) to make a movie about it and i want to convert the files to something more usefull like uncompressed

Format : BDAV
Format/Info : BluRay Video
File size : 36.6 MiB
Duration : 41s 544ms
Overall bit rate : 7 383 Kbps
Maximum Overall bit rate : 18.0 Mbps

Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Duration : 41s 500ms
Bit rate : 6 825 Kbps
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 29.970 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.146

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Duration : 41s 544ms
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Video delay : -67ms

So i want to demux the audio ( and convert it to wav ) and the video.

What should i use to deinterlace ? the fps is 29.970 fps, is this normal ? when i deinterlace it will stay the same ? i also want to resize to 1024.576 ...

any links/app recomandations are welcomed.

cheers.

Blue_MiSfit
28th August 2009, 21:32
This looks like AVCHD from a camcorder. Am I right?

If so, you can easily index the MTS with DGAVCIndex (or the NV version, if you have a license for it), load the .dga file into AviSynth with AVCSource, and then work from there. No reason to decode to uncompressed first. This will also demux the audio to an AC3, which you can then transcode if you want to AAC or whatever.

Here's how I'd suggest scripting if you want 1024x576p60 output:


AVCSource("Movie.dga")

edi=nnedi(field=-2)
yadifmod(mode=1, edeint=edi)
#Bobbed to 60p

Spline36Resize(1024,576)


Encode that to x264 ;)

~MiSfit

creamyhorror
28th August 2009, 22:06
If you don't need to edit in an NLE, you can do what Misfit says and combine all the clips in Avisynth. If you do need to edit, then it makes sense to process the clips using Avisynth and export to a lossless or high-bitrate lossy codec. You can then import the intermediate format clips into your editor to arrange you as like.

juGGaKNot
28th August 2009, 22:14
well i opened it in vegas and saved audio as wav and video as uncompressed 1024x576 ( progresive, interleave every frame ) and the result is good.

i will try to edit it a big and render to see if any problems

if quality is not k i should deinterlace and convert to lossless ( and resize at the same time ) right ?

i have only the mts, no other files, it will be part of a composition so direct render is not possible.