AVCHD

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
blaku92
Joined: Mon Feb 07, 2005 11:27 pm
Location: Los Angeles, CA
Org Profile

Re: AVCHD

Post by blaku92 » Sat Apr 24, 2010 2:03 pm

ffms2 is known to create decoding artifacts on h264 from transport streams, and that's exactly what it's doing. I've never used JMDec or yuv4mpeg -- couldn't find them easily, can you point me in the right direction? I'll keep doing more tests.
Image

"I've dated uglier girls than you for breakfast."

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: AVCHD

Post by mirkosp » Sat Apr 24, 2010 2:15 pm

blaku92 wrote:ffms2 is known to create decoding artifacts on h264 from transport streams, and that's exactly what it's doing.
You have to demux the transport stream and remux the video into mkv. You can demux the video with tsmuxer and remux it into mkv with mkvtoolnix... it's just one of the possible options to go about it, but as pointed out early, it's one of the easiest ways, if not THE easiest.
Image

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: AVCHD

Post by Mister Hatt » Sat Apr 24, 2010 3:21 pm

eac3to can also do the demuxing. FFMS2 is not at all known for having decoding artifacts, if you read the manual you would know that. libavcodec is known for not being able to decode properly when it cannot read IDR frames due to bad demuxing on the part of libavformat, which on windows at least FFMS2 can be instructed not to use in favour of Haali's splitter. Alternatively you can remux as has already been said, seeing as following instructions is a good idea. JM Decoder is around in all sorts of builds, I cannot tell you where to find it specifically as they're all over the place. I'll hunt around for my build if I can remember who I got it from. yuv4mpeg is a media format for raw YUV data with some resolution and framerate headers. Your lossless y4m file would be 1.5*height*width*framescount bytes. Pretty big.

User avatar
blaku92
Joined: Mon Feb 07, 2005 11:27 pm
Location: Los Angeles, CA
Org Profile

Re: AVCHD

Post by blaku92 » Sat Apr 24, 2010 5:56 pm

I've already demuxed/muxed into an MKV. What I'm say is, after that, ffms2 still has decoding artifacts. Any ideas? I didn't use tsmuxer to demux -- I'll try using it and get back to everyone on the results.
Image

"I've dated uglier girls than you for breakfast."

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: AVCHD

Post by Mister Hatt » Sun Apr 25, 2010 1:25 am

If FFMS2 has decoding artifacts from your MKV, your version is too old. It was fixed months ago. Grab the latest SVN build of FFMS2 you can find and you should be set. I would still suggest eac3to for demuxing, it's more reliable.

Locked

Return to “AviSynth Help”