PDA

View Full Version : Problem with MKVToolnix and merging MKV (h264/avc) and FLAC


Bozster
26th August 2009, 14:04
Hi guys.. I'm at the end of my nerves.. I don't get this at all and what might be a problem.

Here's the situation.

1. I rip the BD movie
2. use eac3to to generate mkv and generate lossless FLAC
3. Run MKV Merge and add mkv and flac to it. I set for H264/AVC stream the proper FPS. Not a lot of settings anyways.
4. When the muxing is done I have no errors
5. I use PS3 Media Server to stream to PS3.

The problem is that when the movie starts every second or two I get garbage video white/color lines etc, then I can catch a glimpse of proper video. The sound works great. I get lossless HD audio fine.

I would've thought that it is PS3 Media Server but the problems is that H264/AVC mkv alone works just fine through PS3 Media Server. So it's something that MKV Merge does to the stream to make it look crappy.

What's even more interesting is that when I rip BD with VC1. I go through same procedure. I eac3to to video.vc1 and audio.flac and MKV Merge to one mkv. That streams just fine to PS3 and I get great picture and HD lossless.


Can someone point me in the right direction? I'm losing my mind. I just don't get it what's going on with MKVToolnix that h264/AVC with FLAC has these problems.

I have also installed:

AVSynth, Hali Media Splitter, ArcSoft Total Media Theater 3, ffdshow

Is there any other MKV+FLAC merging solution?

I know Madshii is a big proponent of MKV+FLAC and I see why it's great but I just can't make this work and it doesn't make sense.

Thank you VERY MUCH for any help!

TinTime
26th August 2009, 14:47
3. Run MKV Merge and add mkv and flac to it. I set for H264/AVC stream the proper FPS. Not a lot of settings anyways.

As the video is already muxed to mkv by eac3to you don't need to set the FPS value in mkvmerge. That's just for a raw stream. Not sure if that will cause your problems though.

Does your final mkv play back ok on your PC?

neuron2
26th August 2009, 15:19
[bump after thread split]

Bozster
26th August 2009, 23:18
As the video is already muxed to mkv by eac3to you don't need to set the FPS value in mkvmerge. That's just for a raw stream. Not sure if that will cause your problems though.

Does your final mkv play back ok on your PC?
I tried without setting FPS first.. that's why I started putting the FPS in .. same results with or without. I thought the tearing was happening because the FPS was different so the gap was 1-2 seconds or something..

The MKV with FLAC plays fine on PC but it's not really the same cause I have every single codec and app working. It plays through Arcsoft Total Media Theater but the weird thing is when I move the player to another screen with 7800GTX card (i have triple screen setup) and replay the movie I do get some stutter and weird stuff. Not like when I watch it on PS3, but it does look weird sometimes. On my primary screen with GTX275 works fine.

Is it possible that my filters are screwed up? Should I just uninstall everything and just clean up all filters and install those I just need.

Or it might be the PS3MS issue.

What's wierd is that regular MKVs work fine with PS3MS and even VC1/FLAC through MKVMerge works fine.. Not sure why H264/FLAC causes issues :(

TinTime
27th August 2009, 01:27
I'm not sure what's involved with streaming video to another device so I'm kind of out of my depth now - my thought about FPS was pretty much all I had :)

That said, one last idea. Does it work if you demux the stream to video.h264 with eac3to and the mux the raw stream with mkvmerge?

BetaBoy
29th August 2009, 02:07
I have asked Mosu to comment.

Mosu
29th August 2009, 13:19
1. Which mkvtoolnix version are you using?

2. How does creating a video-only h264 file look on the PS3?

As the h264/FLAC case works fine on your PC I'm not really sure what I can say about it.