How do I use compliant mpeg2 videos with wav audio?

Post Reply
jgrin

How do I use compliant mpeg2 videos with wav audio?

Post by jgrin »

I have DVD MovieFactory 3.

My mpeg2 videos have separate wav files for audio, since I have read elsewhere that mpeg audio is not compatible with some players.
I am adding the wav file on the "audio" tab of the "enhance video" screen. The problem is that this causes the software to re-encode my VIDEO! Is there any way around this, or do I have to just compress the audio into the mpeg2 file and then use the "treat mpeg audio as non-DVD compliant" option?

(I am using an external mpeg2 encoder because the MovieFactory's encoding process does not play back correctly on half of the DVD players I have tested -- the video appears to be missing every-other frame on some DVD players)
Any help would be GREATLY appreciated!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
htchien
Advisor
Posts: 2013
Joined: Sat Dec 11, 2004 12:10 pm
operating_system: Mac
System_Drive: C
32bit or 64bit: 64 Bit
Location: Taipei, Taiwan
Contact:

Post by htchien »

Ted (H.T.)

[color=red]The message is provided AS IS with no warranties and confers no rights. For official tech support please contact Corel Tech Support.[/color]

[url=http://www.youtube.com/htchien]My YouTube channel[/url]
jgrin

Post by jgrin »

Unfortunately I've tried that already.
It doesn't try to re-encode the video until I actually add the wav file on the "enhance video" screen.
Oh well, I guess I'll have to add my audio to the mpeg file and have DVDMF extract it back out. I really wanted to avoid compressing and un-compressing the audio but this will have to do.
jgrin

Post by jgrin »

Ooo.....I think I'm really in trouble now. The instruction manual states that "treat mpeg audio as non-DVD compliant" will NOT RENDER that audio at all. This leaves me very puzzled as to how anyone is supposed to even use a pre-encoded mpeg video and not get bitten by mpeg audio issues.
plasma_video
Posts: 48
Joined: Sun Jan 23, 2005 5:03 am

Post by plasma_video »

I had the same problem, and the only workaround I've found is to let the original encoder make the highest quality mpg 2 audio it can. Then in MF, check both of the boxes, the one for "treat mpg audio as non-compliatnt" and the one that will use your original mpg file and not re-encode (not sure of the exact name, I'm not at that computer now). MF, will then happily upconvert your audio to LPCM, and re-mux the LCPM audio with your mpg video without re-encoding the video. Shame it has to work that way, but as long as the original audio is encoded at a high data rate you should experience no perceptible quality loss.

The best solution would be to use MF4 with AC3 encoding. I need to upgrade to get that feature.

The problem with the "missing every other frame" issue might be related to the way MF3 treats upper/lower field order. Any time I use the encoder in MF3, it appears to flip my DV video from lower field first to upper field first, and that video does not play back properly on my Panasonic in the den. I use Procoder Express to encode my files before bringing them into MF3. You will note that the encoder in MF3 does not give you a field order option. However, if you go into the advance video editing module, Video Studio, it will give you the option to encode with either upper field or lower field dominant. Wierd that it's set up that way, as that field issue can cause many problems. I think that issue needs to be addressed for those of us in NTSC/DV/Lower field dominant land. I have a thread somewhere on this board related to that:

http://phpbb.ulead.com.tw/EN/viewtopic.php?t=2233

I also have a thread about how to work with elementary streams (seperate A/V files) as well.

Also, you might use Video Studio to add your wav file and encode there. That would give you what you are looking for and would also solve the video "missing" frame/field issue you describe. I haven't tried that yet, as all of my files are encoded by Procoder right from the Canopus Edius timeline, but I might try it tonight and let you know what happens.

Good luck! Let me know if you need any clarification.

Tom
jgrin

Post by jgrin »

Thanks. I saw the thread about the upper/lower field issue after I had posted here. I'll look for your thread about how to work with elementary streams as soon as I get a chance (I am using TMPGEnc to create my elementary streams).
After burning 20 or so coasters, I was afraid to actually try using the "treat mpeg audio as non-DVD compliant" option, since the printed user guide states that it will NOT render the mpeg audio to LPCM -- apparently a misprint. I'll give it a try right now and see what happens.
jgrin

Post by jgrin »

While I'm waiting for my mpeg's to finish, I have a really crazy question about the field ordering problem.

Is it always just limited to displaying upper first when lower should be first, or can it get worse, such as actually swapping field position (i.e. odd lines 1,3,5,... get physically swapped so that they display in positions 2,4,6...)? Just curious.
plasma_video
Posts: 48
Joined: Sun Jan 23, 2005 5:03 am

Post by plasma_video »

Both good questions. As to the misprint, I don't know - I just tried it when the other method wouldn't work for me, and the resultant vob files showed up as having LPCM audio and not mpg. Maybe what they meant in the documentation was that you can't undo compression artifacts and remake a compressed file into perfect uncompressed audio, or something like that.

As to the field order, I'm also just guessing at what that might be. It looks to me exactly like what I've seen at work troubleshooting field order related motion problems in editing and compositing systems. I assume that what happens is that they do actually get swapped when a file is encoded.

Perhaps someone with more knowledge about Movie Factory can weigh in on this, I've only been playing with it for about 2 weeks in my spare time. I also have the limited SE version that came with my Pioneer DVD burner - maybe the full version does things differently.

T
jgrin

Post by jgrin »

Woohoo!!! "Treat mpeg audio as non-DVD compliant" worked.

Even though my Sony DVD player didn't have playback problems that were as noticeable as on my friends' players, I did notice that when using the DVD-MF3 encoder there was visible flicker and severe sawtooth when pausing on the Sony -- now that I have burned a disc with pre-encoded mpeg video, those problems are gone, so I can only assume that the problem will not occur on my friends' players. The audio did indeed extract out to LPCM, so it's all looking good...... I will test on a different player tonight.
Post Reply