Using HDV in DVDA5 - a possible solution

owlsroost wrote on 8/4/2008, 2:59 PM
I'll preface this by saying that I don't have a Blu-ray player to test that the process below actually creates a fully compatible disc, but here goes...

Having followed the 'HD-Mpeg2 M2V Being Re-encoded' thread - [url=http://www.sonycreativesoftware.com/forums/ShowMessage.asp?MessageID=605509] - I had a play around to try and work out exactly what it was that DVDA5 didn't like about HDV-compliant MPEG2 video.

It appears to be the MPEG 'Level' - HDV is 'High 1440' level, and the VP8 Blu-ray MPEG2 encoding templates are all set up for plain 'High' level. The 'level' information is carried as meta-data the MPEG headers.

Since 'High 1440' level appears to be a resolution-and-bitrate restricted subset of the full 'High' level spec, I wondered if there was a utilty to patch the 'level' data in a file.....

Donald Graft (of VirtualDub/Avisynth plug-in fame) has very recently written just the right thing - see 'Level Patcher' in the 'Tools and Utilities' section here - [url=http://neuron2.net/mine.html]

So after (smart-)rendering out an HDV elementary stream (just modify a copy of one of the VP8 HDV templates to do this) or de-muxing an existing HDV .m2t file, fire up 'Level Patcher' and patch the .m2v file to 'High' level. It should then be accepted by DVDA5 without re-encoding.

Tony



Comments

MozartMan wrote on 8/4/2008, 8:02 PM
Tony,

I tested this. DVDA5 didn't re-encode patched m2v file. Then I prepared .iso image on hard drive and then burned to BD-RE with ImgBurn.

I put disk into PS3, and playback was very jerky. I guess this is because PS3 sees that video as "High Level", but the video is actually "High-1440 Level"

Well, back to Ulead DVD MovieFactory 6+ authoring.

I will do more tests later.
owlsroost wrote on 8/5/2008, 4:52 AM
Thanks for trying it out...

The interesting test would be to use the 'patched' file in DVD MovieFactory 6+ and see if the disc has the same jerky playback problem.

Tony
MozartMan wrote on 8/5/2008, 5:50 AM
You don't need to patch HDV .m2t file for DMF6+. It doesn't re-encode it.

1. I demux HDV .m2t file with VideoReDo and get .m2v and .mpa elementary streams.
2. Encode .mpa to .ac3 with Vegas.
3. Mux .m2v and .ac3 into .m2ts file with tsMuxeR
4. Load .m2ts HDV file into DMF6+, author Blu-ray project and burn it to hard drive.
5. Use Nero 8 or ImgBurn to burn BDMV and CERTIFICATES folders to BD-RE.

Plays great on PS3.
owlsroost wrote on 8/5/2008, 7:41 AM
You don't need to patch HDV .m2t file for DMF6+. It doesn't re-encode it.

Yes, I know, but you had expressed the opinion that patching the file to 'High' level was possibly causing the jerky playback, so authoring a disc in DMF6+ using the exact same 'patched' file might be a way of proving this (assuming DMF6+ doesn't do any clever patching of it's own during the processing).

I know the above may just be of academic interest, but it would be interesting to try it...

Tony
MozartMan wrote on 8/5/2008, 8:57 AM
Yes, that was my guess that patching HDV file to "High" level caused jerky playback because actual video was still "High-1440" level and PS3 decoder was tuned to decode just "High" level video stream because of the meta tag.

So, you want me to test the same HDV patched file with DMF6+ to see if it plays jerky form BD-RE disk on PS3 to prove our theory. Correct?

I will try it tonight when I get home.
owlsroost wrote on 8/5/2008, 10:32 AM
So, you want me to test the same HDV patched file with DMF6+ to see if it plays jerky form BD-RE disk on PS3 to prove our theory. Correct?

Yes, correct!

Thanks for the trials :-)

Tony
nolonemo wrote on 8/5/2008, 12:48 PM
The follow up would be a good idea.

Of course, all this shows is how the PS3 handles these discs. A standalone player could react differently. But I suppose if you want to insure the widest possible compatibility at this point, bad PS3 playback (considering that they're probably the largest installed base of players in the US) would kill the deal.

Thanks, all posters!
nolonemo wrote on 8/5/2008, 8:13 PM
Guys, I tried this, but DVDA returned an error before completing the ISO creation:

File name: STREAM/00002.m2ts
Status: TSWrapper.dll::CTSWrapper::ProcThreadMain::Failed to read ES file. - The ES file may be shorter than the size described in the MUI file.

This was about a 6 min piece of video rendered without fx as an elementary stream using the default HD-DVD template.
MozartMan wrote on 8/5/2008, 8:20 PM
Profile - Main
Level - High
nolonemo wrote on 8/5/2008, 8:29 PM
Yeah, that's what I had the settings at.
4eyes wrote on 8/6/2008, 9:08 AM
Mozartman,
You don't need to patch HDV .m2t file for DMF6+. It doesn't re-encode it.
That's alot of work when MF will automatically convert the mpa audio of your native m2t files without re-rendering the video.
All you have to do is make your project settings equal to your source HDV videos by clicking on the GEAR Icon -> Change Mpeg Settings -> Customize. Make all the settings equal to a HDV video file, I notice I always have to double check the fielding, it likes to jump back to LFF. So, make the "Project Settings" equal to a standard HDV video except set the Audio to Dolby 5.1 @ 448kbs.

It's easier to make a custom template under the "Template Manager " and then apply that template under the GEAR Icon. When you click on the Gear Icon -> Change Mpeg Settings your custom template will be listed, then simply select it.

When you burn the folders take notice that MF says converting audio of x number x. Your new ac3 files will be created in a temp sub-directory downstream of your assigned working folder.

In MF with blu-ray projects the HDV video is compliant, it will convert the mpa to Dolby 5.1 @ 448kbs and then multi-plex into the STREAMS folder as a m2ts video file without re-encoding the video section.
Provided your "Project Settings" equal your source video.

Give it a try, unless your producing customized ac3 streams, then that's a different story. You would have to then use your method.

To me, Architect 5 still has great menu features, multiple audio files etc.
Not one program does it all right? But, I'm not so sure about compatibility playback issues on the consumer Blu-Ray Players. Seems like the PS3 plays a lot of variations because it's more like a computer. I notice many of the consumer Blu-Ray players will not playback BD-RE disks.
The Sony consumer Blu-Ray players appear to be the most compatible wil re-writable or BD-R.
MozartMan wrote on 8/6/2008, 9:21 AM
4eyes,

Yes, I know that. But I prefer Vegas to convert .mpa MPEG audio stereo stream to pseudo 5.1 surround .ac3 stream.

And you really don't need to create custom MPEG template because every time you insert video into the project, DMF6+ pops up the message asking if you want to match project properties to the properties of your video, unless you disable that pop-up.
4eyes wrote on 8/6/2008, 9:27 AM
Mozartman,
You know when I use your method the volume level is lower. I've tried different settings. I do like the options in Vegas to customize the ac3 stream.

So if I let MF re-encode the mpa to Dolby it comes out louder than if I re-multiplex an ac3 stream from Vegas.
I've used your method many times, still do, but uses up a lot of harddisk space.
nolonemo wrote on 8/6/2008, 9:51 AM
MozartMan,
I'm considering using MF6+ as an alternative to DVDA5. My invariable practice in DVDA5 when creating menus is to create a jpg/png in photoshop at 1440x1080 1.333 pixel A/R that has the background image and the text for the menu entries on it. I use that for the menu background in DVDA5, insert an empty button, change button attribute image, change highlight style to underline, edit my color set, and drag and resize the button so it underlines the appropriate text on the background graphic. Then I link the button the the video asset (which I just dragged into the DVDA root in the asset pane), and, if necessary, set the navigation for button presses.

Can I do that in MF6+? I don't want to have to use canned menus or canned button icons.

Thanks.
MozartMan wrote on 8/6/2008, 11:57 AM
@4eyes
You know when I use your method the volume level is lower.
=============
I noticed that too. But then I created my own custom AC3 template.

On Audio Service tab I change - Data rate: 448 kbps

On Preprocessing tab I changed -

Line mode profile: None
RF mode profile: None

And now AC3 file that comes out from Vegas has almost the same volume as original .MPA audio stream (at least this is how it sounds to me). There was a thread in Vegas forum some (or long) time ago about AC3 encoding settings in Vegas.

@4eyes
but uses up a lot of harddisk space.
============
What do you mean by that?
MozartMan wrote on 8/6/2008, 12:05 PM
@nolonemo
Can I do that in MF6+? I don't want to have to use canned menus or canned button icons.
=============
Yes, those buttons in DMF6+ kinda suck.

In DMF6+ you can insert your custom image and the text for the menu entries on it to use as background when authoring menu. Then you can hide actual navigation button, but don't hide the highlight object. This way you can achieve the same result as in DVDA5.

I will test it when i get home.
nolonemo wrote on 8/6/2008, 2:11 PM
Thanks MozartMan,

I have to say, having developed a workable workflow in DVDA, I REALLY would like to be able to stay with it, I just don't want to go through the learning curve on a new program (especially to figure out if it will do what I want in the first place).

Nolo
nolonemo wrote on 8/7/2008, 8:11 PM
I just rendered out a section of HD video shot in daylight on a tripod to both HDV 60i (no recompression) and to BD 1440x1080 60i. I compared frame grabs from PowerDVD side by side (free FastStone Viewer is great for this) at 300% and I really couldn't tell any difference. I think I'm just going to render to BD and say the hell with it. The time hit in rendering to BD is a nonissue for me.