View Full Version : .mts In After Effects
uneo
5th November 2008, 15:43
hi guys i bought Panasonic HDC-SD9 it records in Full HD in .mts Format which not works in After Effects, so i tried many converters which i find on google but i lose Quality of video with them, is there any script for megui or any converter which can convert mts to mov or avi & still contain HQ.
poisondeathray
5th November 2008, 15:51
Can After Effects accept uncompressed RGB .avi as input? Why not convert it to that and you will have no quality loss upon import, but the filesize will be huge. You could do this with DGAVCdec and vdub
benwaggoner
5th November 2008, 19:17
For this scenario, I've used Rhozet's Carbon Coder to convert from MPEG-2 to Lagarith (4:2:2 if interlaced, 4:2:0 if progressive). That's vastly more efficient than uncompressed RGB, and avoids a color space conversion.
uneo
5th November 2008, 22:43
well i tried to converte to lagraight with this script in Virtualdubmod but it lags like if its playing 5fps.
DirectShowSource("C:\Documents and Settings\Uzair\Skrivbord\00002.MTS",fps=25,audio=false)
trim(405,442)
Blue_MiSfit
6th November 2008, 00:44
What happens if you do the following:
1) Extract the elementary h.264 and audio streams from the MTS using DGAVCIndex
2) Remux to a very standard container like MP4
3) Open this in After Effects
~MiSfit
uneo
6th November 2008, 04:55
^^ DGAVCIndex gives Error
uneo
6th November 2008, 05:13
but now i tried to converte to Xvid with script in earlier post but then i wonder if i lose Quality, Can anyone suggest Xvid settings for extrem HQ. :rolleyes:
Blue_MiSfit
6th November 2008, 05:23
What error does DGAVCIndex give you?
Your camera makes AVCHD files, which means it's H.264 video and AC3 or PCM audio muxed in an MPEG Transport Stream (with an MTS extension, in your case).
This *should* be readable by DGAVCIndex - I think.
Also, what does TSMuxer say when you drag the file into it?
Don't convert your file, especially not to Xvid :) You don't need to loose quality.
Worst case, you can encode to a lossless format for After Effects, but it should be able to handle H.264 video natively.
~MiSfit
uneo
6th November 2008, 12:23
^^ when i drag it into TSMuxer it say "Cannot detect stream type" & when i try with DGAVCIndex then application gives error and ask to send rapport or not send.
Can i post the link to the video here?
Blue_MiSfit
6th November 2008, 19:30
Please :)
~MiSfit
uneo
6th November 2008, 20:18
Link to the .mts file
http://www.sendspace.com/file/gdtck3
poisondeathray
6th November 2008, 20:56
DGAVCIndex won't accept your .mts as is for some reason.
You can use TsMuxeR to put the .mts into a new .m2ts container, and it will work with DGAVCIndex.
From there, you can use AVCSource() and convert to lagarith or some other lossless intermediate; or you can try Blue_MiSfit's idea of demuxing the raw video and remuxing into .mp4. I don't have After Effects so I can't test it out
EDIT: I noticed you said you got errors earlier with TsMuxer, I'm using TsMuxer 1.8.8b and it worked on my system with your sample clip, both repackaging a new .m2ts and demuxing raw streams
Blue_MiSfit
6th November 2008, 21:03
I tried that as well... TSMuxeR wouldn't accept the file. I tried several permutations of renaming it, and got no luck. Trying MKVToolNix was able to get the video stream, but no audio stream.
You should post this as a sample file in the DGAVCIndex thread so neuron2 can take a look at it. It's some wonky variation on an MPEG Transport Stream that apparently nobody's figured out yet ;)
DirectShowSource works fine for me, so as a last resort you could transcode to Lagarith or HuffYUV from here.
~MiSfit
poisondeathray
6th November 2008, 21:14
I renamed the file from "00000.mts" to something else (I had another "00000.mts" file in that directory at the time, not sure if renaming had anything to do with it), and TsMuxeR accepted it fine. Again I'm using 1.8.8b, and on XP 32-bit. DGAVCIndex worked fine on the .m2ts file, but not the original .mts file.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.