AfterDawn Forums

tsmuxer non-standard resolution mkv to blu-ray conversion

This discussion thread has 52 messages.

#26
Odin24,

My 300MB MKV segment worked fine, but when I try to encode the full 8GB file the video completes fine but the audio stops encoding at 46.4% complete. I split the file into two 4GB files, video completes but audio stops encoding at 95.4% complete with 30 sec. left. I stripped the AC-3 stream from the 4GB file and tried encoding it by itself, same result, stops encoding at 95.4% complete with 30 sec.

Is there a bug with MeGUI?
AfterDawn Advertisement
#27
Originally posted by scienc30:
Odin24,

My 300MB MKV segment worked fine, but when I try to encode the full 8GB file the video completes fine but the audio stops encoding at 46.4% complete. I split the file into two 4GB files, video completes but audio stops encoding at 95.4% complete with 30 sec. left. I stripped the AC-3 stream from the 4GB file and tried encoding it by itself, same result, stops encoding at 95.4% complete with 30 sec.

Is there a bug with MeGUI?
Not sure, I've never encoded audio with MeGUI.
#28
Can you recommend an alternate to MeGUI that will process AviSynth scripts, MKV and AC-3?
#29
Originally posted by scienc30:
Can you recommend an alternate to MeGUI that will process AviSynth scripts, MKV and AC-3?
Not really, I am fairly new at this too and my experience is limited to basically all that we have discussed. But I do know there are several other apps that do handle .avs scripts.

If you go here and ask the same question the person who started the thread, Ryu77, a very experienced and knowledgable person when it comes to video processing may be able to help. So far what I have learned I have learned from him.

http://forums.afterdawn.com/thread_view.cfm/639346

One thing though, he does live on the other side of the world (GMT+10) so communication might be kinda slow... the information gained will be well worth it though.

GL, O!

PS, I frequent that thread too. Here's another thread that might be helpful.

http://forums.afterdawn.com/thread_view.cfm/621809
This message has been edited since its posting. Latest edit was made on 06 Jun 2008 @ 23:05
#30
Odin24,

I took one of the 8G files and split it in two, so it would fit on 4.7G DVDs. I followed the procedure above and was able to burn both DVDs as AVCHD. They played in the PS3 and audio stays in sync. So I thought I would try it with the full 8G file. No go. I get as far as muxing with TsMuxer and it halts with a "streams out of sync error" at about halfway complete.

I also dicovered that there seems to be inconsistencies in the AC-3 track on 3 of the 6 MKV files I am woking with. TsMuxer won't even recognize some of the AC-3 streams, although they all play fine on my PC.

So while I gave it one heck of a try, basically I quit on these 6 files. Thanks again for all your help.
#31
Originally posted by scienc30:
Odin24,

I took one of the 8G files and split it in two, so it would fit on 4.7G DVDs. I followed the procedure above and was able to burn both DVDs as AVCHD. They played in the PS3 and audio stays in sync. So I thought I would try it with the full 8G file. No go. I get as far as muxing with TsMuxer and it halts with a "streams out of sync error" at about halfway complete.

I also dicovered that there seems to be inconsistencies in the AC-3 track on 3 of the 6 MKV files I am woking with. TsMuxer won't even recognize some of the AC-3 streams, although they all play fine on my PC.

So while I gave it one heck of a try, basically I quit on these 6 files. Thanks again for all your help.
I have all six working @ 25fps all with AC3 5.1 surround. I agree that 3 of the DL tracks sucked, they were 2.0... episodes 2,3,6. If you have the original DVDs you can rip the AC3 from them, do a PAL speed-up and align them. They all work great, and @ 25 fps you barely notice the difference.

I didn't even try this but you might even be able to line up the DVD AC3 without a speed-up after you do a AssumeFPS on the video.

DUDE, this set does not warrant giving up on. Even at 25 fps is better than nothing. If you need help ripping a DVD AC3 track then converting it let me know, I'll help.
#32
Ripping the AC3 track from the DVD is a great idea. I'll have to see if I can get a hold of those.

I am assuming you burned these to MT2S and did not have to change the borders?
#33
If you are just going for the m2ts (Not Blu-Ray) then you do not need to add the borders, your PS3/TV will do that automatically. If you desire a AVCHD DVD (Blu-Ray format) then you will need to add borders. Since there are no other tracks like subs or DTS then I see not point. However if you have friends with plain-old stand-alone BD players and you'd like to lend them a copy then I suggest you AddBorders and make a Blu-Ray DVD.

When you finally get a hold of the DVDs let me know and I'll help.
#34
I'm stuck again, I've got an H264 mkv 23.976 video stream and an AC3 stream to match. I used mkvmerge to create the 8GB mkv file. I can watch the entire file. When I use tsMuxer to create blu-ray from this file it stops at 54.2% complete with Return code -2. The error states: "Reading buffer overflow. Possible container streams are not synchronized. Please, verify stream fps."

When I watch this it is in sync.
#35
Originally posted by scienc30:
I'm stuck again, I've got an H264 mkv 23.976 video stream and an AC3 stream to match. I used mkvmerge to create the 8GB mkv file. I can watch the entire file. When I use tsMuxer to create blu-ray from this file it stops at 54.2% complete with Return code -2. The error states: "Reading buffer overflow. Possible container streams are not synchronized. Please, verify stream fps."

When I watch this it is in sync.
Never came across that one before. Are you taking two streams (vid & aud), running through mkvmerge, then running through tsMuxeR? If so you can omit the mkvmerge process. You can load the two raw media files directly into tsMuxeR.
#36
Hey Odin24,

I did what you suggested, I obtained the 6CH AC3 audio streams from the NTSC source. I used MeGUI to convert the MKV H264 video stream to 23.976. I had to put a small amount of negative delay on the audio stream to get it in sync. The amount of delay is different for each movie, I just had to do a trial-and error until I got it right. So I converted the result to AVCHD Blu-ray using tsMuxer and burned the folders to a DVD9 using ImgBurn. It worked. I did have to compress the video stream to 7GB so it would fit on the DVD9 after conversion to the AVCHD Blu-ray format. I guess I may be able to tell a little bit of difference in resolution from the original stream, but it looks really good and is much better than the standard DVD. Thanks again for all your help.
#37
Good to hear.
#38
Interesting thread thanks. Is it possible to add borders to a non-standard resolution file without having to re-encode? I remember using an app to patch svcd files, make a dvd menu in tmpgenc, output the necessary files and then patch back before burning.

I appreciate blu is more complex but is there not a way of modifying the properties to fool the player? Re-encoding defeats the point for me, i just want to quckly and simply make the files compliant if possible (panasonic bd30).
#39
Originally posted by mudstuff:
Interesting thread thanks. Is it possible to add borders to a non-standard resolution file without having to re-encode? I remember using an app to patch svcd files, make a dvd menu in tmpgenc, output the necessary files and then patch back before burning.

I appreciate blu is more complex but is there not a way of modifying the properties to fool the player? Re-encoding defeats the point for me, i just want to quckly and simply make the files compliant if possible (panasonic bd30).
Not that I am aware of. It's not necessarily just adding borders, resizing is involved too.
#40
I might be in the wrong discussion but after reading many threads, this one seems to be the most suited to my situation. I have backed up about 10 of my Blurays to a reduced 1280x720 (2gb size) for playing on my laptop. They all look great but on two of them, Ratatouille and U Don't Mess with the Zohan, the audio progressively gets out of sync. I would say first 1/4 to half is right on or hardly noticeable at half. After this it gets apparent. Not sure why these two movies are doing this. Here are the steps I take.

After ripping to HD..
1. Load movie file into TSMuxer. I remove all unwanted audio and leave movie and desired audio stream, which I choose AC3 5.1. If Tru HD or HD DTS is the only option I choose downconvert to AC3 5.1. I then choose m2ts muxer run it. The resulting m2ts plays fine and audio is in sync throughout. I create this file for streaming playback to my PS3.

2. I also demux the audio stream alone for later use in the smaller movie that I play on laptop. I have tried demuxing this from the original and the mux m2ts I created in the first step.

3. Now to size down for laptop, I create avsynth script after starting meGUI. I select the muxed m2ts file from step one. I choose resize to 1280 (it automitcally sets other dim to 720). I set type to FILM. I save and it opens back up in meGUI.

4. Under encoded settings I select X264:Unrestricted 2 Pass Fast and set container to mkv.

5. Under tools I choose the bitrate calculator. I select the audio file I demuxed in step 2. I set the desired filesize to 2.3 gb. Save and choose include bitrate settings.

6. I add to cue and let it run.

7. Once complete I use mkvmerge to merge the resulting mkv file and the demuxed audio file.

This has worked great for me on all my movies except these two. Again the muxed m2ts file has perfectly synced video/audio so I have to think the problem is coming in during the encoding but do not understand why it has not done this to my other vids.

Hope I included the pertinent info. Im not asking for someone to just solve this for me. I have tried different variations and get the same results. Since the audio is in sync at the beginning of the video Im not thinking that a frame rate adjustment would fix it. I am open to any suggestions.
#41
Originally posted by socal500:
7. Once complete I use mkvmerge to merge the resulting mkv file and the demuxed audio file.
This might be a stretch, but when you mux with mkvmerge are you specifying fps? I am pretty sure unless specified mkvmerge assumes the source film is 25fps. Maybe try setting the FPS to 24000/1001.


#42
Thanks for that suggestion. That is actually the last thing I tried before posting here and it did not fix the problem.
#43
Originally posted by odin24:
Originally posted by socal500:
7. Once complete I use mkvmerge to merge the resulting mkv file and the demuxed audio file.
This might be a stretch, but when you mux with mkvmerge are you specifying fps? I am pretty sure unless specified mkvmerge assumes the source film is 25fps. Maybe try setting the FPS to 24000/1001.
Disregard my previous statment about having tried this. I tried this someplace else but not in mkmerge. I see the space for FPS but it is grayed out so not sure how I would make that change.
#44
rick5446 Suspended due non-functional email address
My problem is converting from 1280x688 to a 1280x720 or 1920x1080 that my Philips Player will recognize
#45
Originally posted by rick5446:
My problem is converting from 1280x688 to a 1280x720 or 1920x1080 that my Philips Player will recognize
Wow, this is an old thread!

Look at post #4 in this thread. You can use Avisynth to resize the video. Read up on Avisynth at: http://avisynth.org/mediawiki/Main_Page
#46
Very old indeed. I never resolved my problem either, don't know if anything exists now?

As scienc30 says to rick5446, you can convert but I had been hoping for an easier way to patch the file so the player believed it was the correct resolution.

I just played the files on my laptop instead and plan to get a htpc at some point. I now have a Denon bluray player though I suspect it will be the same and want exactly 1280x720 or 1920x1080.

I used to use SVCD patch to change the header of an mpeg2 file to DVD resolution, make a menu and author the VOB files. Then I'd patch them back to their original resolution and burn the disc.

Such a shame nothing appears to exist for HD or people don't rip including the bars to maintain resolution.


Originally posted by scienc30:
Originally posted by rick5446:
My problem is converting from 1280x688 to a 1280x720 or 1920x1080 that my Philips Player will recognize
Wow, this is an old thread!

Look at post #4 in this thread. You can use Avisynth to resize the video. Read up on Avisynth at: http://avisynth.org/mediawiki/Main_Page
#47
rick5446 Suspended due non-functional email address
Read post #4 :If you're using a PS3 you'll be OK without resizing, if you want to use a stand alone player then yes, you'll need to resize.

I can't find a thing at http://avisynth.org/mediawiki/Main_Page
about resizing
#48
Originally posted by rick5446:
Read post #4 :If you're using a PS3 you'll be OK without resizing, if you want to use a stand alone player then yes, you'll need to resize.

I can't find a thing at http://avisynth.org/mediawiki/Main_Page
about resizing
http://avisynth.org/mediawiki/Resize
http://avisynth.org/mediawiki/AddBorders
#49
rick5446 Suspended due non-functional email address
scienc30 : Don't understand or just can't comprehend all that.
isn't their a simpler way of telling or showing me hoe to create a 1280x720. I'm not stupid, just not tech savie
I don't understand a thing on those pages
#50
I am still not sure how to resize MKV video to correct resolution so it can play on PS3.

On my PS3, once muxed through TSMUXER, I still get green bar at the bottom and video is compressed to top.

PLS HELP!
This discussion thread has been automatically closed, as it hasn't received any new posts during the last 180 days. This means that you can't post replies or new questions to this discussion thread.

If you have something to add to this topic, use this page to post your question or comments to a new discussion thread.