Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd March 2007, 10:17   #761  |  Link
Deckard2019
Registered User
 
Join Date: Jan 2005
Posts: 110
Quote:
Madshi, did you try Wavewizard ?
It works great. Thx. No need to convert to 16bit anymore.
All 6 wav files sounds ok. But Surcode produces weird result.
Do you know something else than Surcode to create DTS file ?

Also, in File Writer properties, there is a check box named "Truncate ?".
Do you know what is it for ?
Deckard2019 is offline   Reply With Quote
Old 2nd March 2007, 10:25   #762  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Thank you guys for your suggestions. BeLight/BeSweet doesn't work, it complains about unknown input file format. WaveWizard seems to do the trick...

And yes, my file was > 2GB. I guess that was the problem with Tranzcode. I've only done the first EVO, not both, but still the file was > 2GB, so I guess Tranzcode won't do for some HD DVDs.
madshi is offline   Reply With Quote
Old 2nd March 2007, 10:39   #763  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by juhu View Post
let's take a concrete example : Casablanca
in xpl file, we have the correct timing : titleTimeEnd="01:42:28:18"

now, with evodemux, number of calculated frames is 147562 which seems correct.

so after video encoding @ 23.976 fps, I end up with a file ending @ 1h42:34.xxx, which is 6 seconds longer than the timing indicated in xpl file, and also 6 seconds later than the (sd) dvd !

now if these 147562 frames were running @ 24 fps, I would have a file with the correct original timing (1h42m28s)
Am I right or Did I miss something somewhere?
Could you copy the EVOdemux's status window after read this evo (check 'Detailed info')?
Pelican9 is offline   Reply With Quote
Old 2nd March 2007, 10:51   #764  |  Link
MichalHabart
Registered User
 
Join Date: Mar 2006
Posts: 135
Quote:
Originally Posted by Deckard2019 View Post
It works great. Thx. No need to convert to 16bit anymore.
All 6 wav files sounds ok. But Surcode produces weird result.
Do you know something else than Surcode to create DTS file ?

Also, in File Writer properties, there is a check box named "Truncate ?".
Do you know what is it for ?
After registering orbitlee filter, i was able to demux dd+ files but DTS tracks aren't playable anymore. I had to uninstall it to restore. It might be your problem. Also surcode has known issue, it produce longer DTS track. Try to fix it with delaycut (just open and proceed, don't change anything) and besliced 0.3 can do it also.
MichalHabart is offline   Reply With Quote
Old 2nd March 2007, 10:53   #765  |  Link
Darth Pinous
Registered User
 
Darth Pinous's Avatar
 
Join Date: Feb 2007
Location: In a galaxy far, far away
Posts: 51
Quote:
Originally Posted by Deckard2019 View Post
It works great. Thx. No need to convert to 16bit anymore.
All 6 wav files sounds ok. But Surcode produces weird result.
Do you know something else than Surcode to create DTS file ?

Also, in File Writer properties, there is a check box named "Truncate ?".
Do you know what is it for ?
Have you tried the 16bits/44Khz conversion in WaveWizard (the "convert samplingrate" option and the "convert sample type") ?
16 bits conversion is mandatory, but 44 KHz conversion may be necessary too.

For alternative DTS encoders, you have Nuendo DTS encoder (a plugin in Nuendo) which seems to be better than Surcode, and of course the DTS encoders from DTS Corp, the "old" DTS Pro Series Encoder and the new DTS Surround Audio Suite and DTS-HD Master Audio Suite encoders.

Take a look here for a review on these 5 encoders.
Darth Pinous is offline   Reply With Quote
Old 2nd March 2007, 10:56   #766  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Quote:
Originally Posted by juhu View Post
now if these 147562 frames were running @ 24 fps, I would have a file with the correct original timing (1h42m28s)
Yes, that's very strange ... Some people had done various encoding with lots of sources (eg. some has AC3 audio) and they only get the untouched audio synced, if they use 23.976 fps.

So the question is what the player is doing with this xpl file during playback, and what is the tickBase , timeBase , tickBaseDivisor parameters.

A sample:
Code:
...
<TitleSet tickBase="60fps" timeBase="60fps" defaultLanguage="en">
...
<Title id="feature" displayName="Feature Presentation" titleNumber="3" titleDuration="01:42:54:16" tickBaseDivisor="4" onEnd="black">
Another sample, notice that isn't any tickBaseDivisor parameters:
Code:
...
<TitleSet tickBase="24fps" timeBase="60fps" defaultLanguage="en">
...
<Title titleNumber="2" alternativeSDDisplayMode="letterbox" titleDuration="01:58:54:22" id="MainMovie" displayName="MainMovie" onEnd="returnToMM">
chros is offline   Reply With Quote
Old 2nd March 2007, 10:59   #767  |  Link
MichalHabart
Registered User
 
Join Date: Mar 2006
Posts: 135
Quote:
Originally Posted by Darth Pinous View Post
Have you tried the 16bits/44Khz conversion in WaveWizard (the "convert samplingrate" option and the "convert sample type") ?
16 bits conversion is mandatory, but 44 KHz conversion may be necessary too.

For alternative DTS encoders, you have Nuendo DTS encoder (a plugin in Nuendo) which seems to be better than Surcode, and of course the DTS encoders from DTS Corp, the "old" DTS Pro Series Encoder and the new DTS Surround Audio Suite and DTS-HD Master Audio Suite encoders.

Take a look here for a review on these 5 encoders.
I am little bit confused from that article. Does it mean that surcode is best or worst?
MichalHabart is offline   Reply With Quote
Old 2nd March 2007, 11:02   #768  |  Link
Darth Pinous
Registered User
 
Darth Pinous's Avatar
 
Join Date: Feb 2007
Location: In a galaxy far, far away
Posts: 51
Quote:
Originally Posted by MichalHabart View Post
I am little bit confused from that article. Does it mean that surcode is best or worst?
worst.

according to this neil wilkes, quality is as follow :
DTS-HD MAS > DTS-HD SAS > DTS PSE >> Nuendo > Surcode
Darth Pinous is offline   Reply With Quote
Old 2nd March 2007, 11:09   #769  |  Link
MichalHabart
Registered User
 
Join Date: Mar 2006
Posts: 135
Quote:
Originally Posted by Darth Pinous View Post
worst.

according to this neil wilkes, quality is as follow :
DTS-HD MAS > DTS-HD SAS > DTS PSE >> Nuendo > Surcode
Hmm, anyone knows how to find those best encoders (i mean, if there is any version of them available on the net)

I have surcode and nuendo but they seems to be the worst

Last edited by MichalHabart; 2nd March 2007 at 11:13.
MichalHabart is offline   Reply With Quote
Old 2nd March 2007, 11:37   #770  |  Link
Deckard2019
Registered User
 
Join Date: Jan 2005
Posts: 110
To get rid off file size limit of WAV files, try :
1/ Open Graphedit, DTS/AC3/DD+ Source => Sonic Cinemaster Audio Decoder 4.2,
2/ Create AVS script with just :
Code:
DirectShowSource("audio.grf", video=false)
GetChannel(X)
where X=1 to 6 (see : GetChannel.htm in your AVISynth install dir).
Channel mapping is 1=FL, 2=FR, 3=C, 4=LFE, 5=SL, 6=SR,
3/ Use BeHappy to generate each channel as WAV file directly from AVS script.

16bits/44Khz conversion can be done in AVS script (ConvertAudioTo16bit() and ResampleAudio()).
This process skips the big WAV file creation step. No more Tranzcode

Still looking for a reliable DTS encoder ...
Deckard2019 is offline   Reply With Quote
Old 2nd March 2007, 11:59   #771  |  Link
MichalHabart
Registered User
 
Join Date: Mar 2006
Posts: 135
Quote:
Originally Posted by Deckard2019 View Post
To get rid off file size limit of WAV files, try :
1/ Open Graphedit, DTS/AC3/DD+ Source => Sonic Cinemaster Audio Decoder 4.2,
2/ Create AVS script with just :
Code:
DirectShowSource("audio.grf", video=false)
GetChannel(X)
where X=1 to 6 (see : GetChannel.htm in your AVISynth install dir).
Channel mapping is 1=FL, 2=FR, 3=C, 4=LFE, 5=SL, 6=SR,
3/ Use BeHappy to generate each channel as WAV file directly from AVS script.

16bits/44Khz conversion can be done in AVS script (ConvertAudioTo16bit() and ResampleAudio()).
This process skips the big WAV file creation step. No more Tranzcode

Still looking for a reliable DTS encoder ...
Then once you will find him, can you please make some sort of guide for this? So, we can try your steps and help you with testing
MichalHabart is offline   Reply With Quote
Old 2nd March 2007, 12:14   #772  |  Link
orbitlee
Registered User
 
Join Date: Apr 2006
Posts: 78
Quote:
Originally Posted by MichalHabart View Post
After registering orbitlee filter, i was able to demux dd+ files but DTS tracks aren't playable anymore. I had to uninstall it to restore.
Could you provide more informations? DTS(from DVD) or DTS-HD(from HD DVD/Blu-ray)? bitrate? Which dts decoder you are using?
The behavior of Sonic audio decoder is very strange, I have to feed it multiple frames(in source filter) each time to make it playback DD+ audio. This may fail other audio decoder.
orbitlee is offline   Reply With Quote
Old 2nd March 2007, 12:25   #773  |  Link
MichalHabart
Registered User
 
Join Date: Mar 2006
Posts: 135
Quote:
Originally Posted by orbitlee View Post
Could you provide more informations? DTS(from DVD) or DTS-HD(from HD DVD/Blu-ray)? bitrate? Which dts decoder you are using?
The behavior of Sonic audio decoder is very strange, I have to feed it multiple frames(in source filter) each time to make it playback DD+ audio. This may fail other audio decoder.
I tried DTS from DVD (terminator 3) and it had length of aprox. 4 hours and play was very fast I used both AC3Filter and sonic audio decoder, both had same behaviour.
MichalHabart is offline   Reply With Quote
Old 2nd March 2007, 16:10   #774  |  Link
juhu
Registered User
 
Join Date: Aug 2003
Posts: 37
Quote:
Originally Posted by Pelican9 View Post
Could you copy the EVOdemux's status window after read this evo (check 'Detailed info')?
sure. Here goes :
evodemux video stats :
---------------------

Opening file Feature_1.EVO
File size: 6886 Mbytes.
VOB number 4 contains 1 video , 5 audio and 4 subpicture streams.
PTM of first video frame = 00000D91
PTM of last video frame = 105CFFB1
Duration = 0:50:50.297
VC-1 video stream 0 found!
First PTS = 00000D91
Substream id = 55
Sequence Header found
0 frames before first I-frame
Advanced Profile
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Display Horizontal size = 1920
Display Vertical size = 1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 23,976 (24000/1001)

(subs / audio info removed)

Continue on Feature_2.EVO
VOB number 5 contains 1 video , 5 audio and 4 subpicture streams.
PTM of first video frame = 105CFFB1
PTM of last video frame = 21040FDA
Duration = 1:42:34.565
VC-1 video stream 0 found!
First PTS = 105D1D05
Substream id = 55
Sequence Header found
0 frames before first I-frame
Advanced Profile
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Display Horizontal size = 1920
Display Vertical size = 1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 23,976 (24000/1001)

147590 counted frames (1:42:35.733) in video stream 0.
147562 calculated frames.

-----------------

Quote:
Originally Posted by drmpeg View Post
Very interesting. I would try to determine the running time of the audio to see which timeline (23.976 or 24) it matches. Since the DD+ tracks are fixed bitrate, you should be able to calculate the running time based on the size of the demuxed audio file divided by the bitrate of the DD+ track.

Ron


audio stats :
Dolby Digital Plus audio stream 0 found!
First PTS = 00000A67
Substream id = C0
Stream 0 is Dolby Digital Plus
frame size = 256 bytes, number of blocks per frame = 6
Sampling frequency = 48 kHz
Transmission bitrate = 64 kbit/s
Channel arrangement = mono, bsid = 16
LFE channel = not present

demuxed audio filesize : 48083 ko (wow, tiny !)
...which is seen as a 1h42mn34sec file by media player classic
if someone wants to do maths with it, well please do, coz' I give up this nonsense (48083/ 8ko (64kb) = 6010.xx sec, ie 1h40m10s ?!?)


now xpl extract :
<TitleSet tickBase="60fps" timeBase="60fps" defaultLanguage="en">
<FirstPlayTitle titleDuration="00:00:22:00">
<PrimaryAudioVideoClip titleTimeBegin="00:00:00:00" titleTimeEnd="00:00:22:00"
src="file:///dvddisc/HVDVD_TS/FBILogo.MAP" dataSource="Disc"
description="FBI Warning WB Logo">
<Video track="1"/>
<Audio track="1"/>
</PrimaryAudioVideoClip>
</FirstPlayTitle>
<Title titleNumber="1" id="intro" titleDuration="00:02:00:00" description="Intro to HD DVD" tickBaseDivisor="4" onEnd="feature">
<PrimaryAudioVideoClip titleTimeBegin="00:00:00:00" titleTimeEnd="00:02:00:00"
src="file:///dvddisc/HVDVD_TS/IntroHD.MAP" dataSource="Disc"
description="Intro to HD DVD">
<Video track="1"/>
<Audio track="1"/>
</PrimaryAudioVideoClip>
</Title>
<Title titleNumber="2" id="feature" displayName="Feature Presentation" titleDuration="01:42:51:18" tickBaseDivisor="4" onEnd="black">
<PrimaryAudioVideoClip id="layer0" titleTimeBegin="00:00:00:00" titleTimeEnd="00:50:47:08" dataSource="Disc" src="file:///dvddisc/HVDVD_TS/Feature_1.MAP">
<Video mediaAttr="2" track="1" angleNumber="1"/>
<Audio mediaAttr="1" track="1" streamNumber="1"/>
<Audio mediaAttr="1" track="2" streamNumber="2"/>
<Audio mediaAttr="1" track="3" streamNumber="3"/>
<Audio mediaAttr="1" track="4" streamNumber="4"/>
<Audio mediaAttr="1" track="5" streamNumber="5"/>
<Subtitle mediaAttr="1" track="1" streamNumber="1"/>
<Subtitle mediaAttr="1" track="2" streamNumber="2"/>
<Subtitle mediaAttr="1" track="3" streamNumber="3"/>
<Subtitle mediaAttr="1" track="4" streamNumber="4"/>
</PrimaryAudioVideoClip>
<PrimaryAudioVideoClip id="layer1" titleTimeBegin="00:50:47:08" titleTimeEnd="01:42:28:18" dataSource="Disc" src="file:///dvddisc/HVDVD_TS/Feature_2.MAP" seamless="true">
<Video mediaAttr="2" track="1" angleNumber="1"/>
<Audio mediaAttr="1" track="1" streamNumber="1"/>
<Audio mediaAttr="1" track="2" streamNumber="2"/>
<Audio mediaAttr="1" track="3" streamNumber="3"/>
<Audio mediaAttr="1" track="4" streamNumber="4"/>
<Audio mediaAttr="1" track="5" streamNumber="5"/>
<Subtitle mediaAttr="1" track="1" streamNumber="1"/>
<Subtitle mediaAttr="1" track="2" streamNumber="2"/>
<Subtitle mediaAttr="1" track="3" streamNumber="3"/>
<Subtitle mediaAttr="1" track="4" streamNumber="4"/>
</PrimaryAudioVideoClip>
<PrimaryAudioVideoClip titleTimeBegin="01:42:28:18" titleTimeEnd="01:42:51:18"
src="file:///dvddisc/HVDVD_TS/Interpol.MAP" dataSource="Disc"
description="Motion Picture Association of America">
<Video track="1"/>
</PrimaryAudioVideoClip>

Last edited by juhu; 2nd March 2007 at 16:19.
juhu is offline   Reply With Quote
Old 2nd March 2007, 16:43   #775  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by juhu View Post
Opening file Feature_1.EVO
PTM of first video frame = 00000D91
PTM of last video frame = 105CFFB1
Duration = 0:50:50.297
Continue on Feature_2.EVO
PTM of first video frame = 105CFFB1
PTM of last video frame = 21040FDA
Duration = 1:42:34.565

147562 calculated frames.
Dolby Digital Plus audio stream 0 found!
frame size = 256 bytes, number of blocks per frame = 6
Sampling frequency = 48 kHz
Transmission bitrate = 64 kbit/s
Channel arrangement = mono, bsid = 16
LFE channel = not present

demuxed audio filesize : 48083 ko (wow, tiny !)
...which is seen as a 1h42mn34sec file by media player classic
<PrimaryAudioVideoClip id="layer1" [b]titleTimeBegin="00:50:47:08" titleTimeEnd="01:42:28:18" dataSource="Disc" src="file:///dvddisc/HVDVD_TS/Feature_2.MAP" seamless="true">
I think the XPL's info is irrelevant.
The duration info comes from the DSI packet(s) of the EVOB (difference of the PTMs). I think this is the real value. The length of the demuxed audio is the same.

Last edited by Pelican9; 2nd March 2007 at 16:46.
Pelican9 is offline   Reply With Quote
Old 2nd March 2007, 16:56   #776  |  Link
JnZ
Registered User
 
JnZ's Avatar
 
Join Date: Jan 2004
Location: Czech
Posts: 181
Update: Go here:http://forum.doom9.org/showthread.ph...093#post966093

Hi folks,
after experimenting few hours, I found this working procedure to convert DD+ to anything else:

So here is updated Guide (old guide can't go over 4G barrier):
1) Create Graph filter: DTS/AC3/DD+ Source -> Sonic Cinemaster Audio Decoder 4.2 -> Dump (for DTS/AC3/DD+ open demuxed DD+ track, for Dump open output RAW (test.raw)). This grab RAW PCM data from Sonic decoder and put into file.
2) Pres play to render RAW PCM data. This rawdata file is depend on Sonic setting, so make sure you set 5.1 output. You've get 5.1ch 16bit (depends maybe on soundcard type), 48khz 6ch RAW data file without header. (it is critical to use Dump filter,coz it can take You over 4G barrier...which file writer evidently not). Wait until filesize of rawfile stop raising, than you can stop graphedit.
3) Use SoX to convert PCM to WAVe: sox -r48000 -t .raw -c 6 -w -s test.raw x:\test.wav (try set output to another physical disk, it speedups the process)
4) If you want 6 separate mono WAVes (for SurCode or other like-this stuff), use Wavewizard. In preferences sets Ignore size in header -> always, Stream manipulation -> Mono streams, Output format -> Wave PCM and finaly output dir. Open test.wav and press "Convert". It creates six WAVes 0-1-2-3-4-5 which match these channel order: FL-FR-C-LFE-SL-SR.
5)Encode final WAVes to anything you want.... for Besweet You need create .mux file for six mono WAVes (for AC3 encodes, etc), it contain lines like this (for AC3 encode):
Code:
x:\test_ch0.wav
x:\test_ch2.wav
x:\test_ch4.wav
x:\test_ch1.wav
x:\test_ch5.wav
x:\test_ch3.wav
Note 1: In my test, SurCode is crappy encoder, it can't handle 48khz WAVes correctly...I recomennded use other DTS encoder.

Note 2: Things You need:
- Graphfilter: http://www.doom9.org/Soft21/Filters/graphedit.rar
- SoX: http://sox.sourceforge.net/
- Dump ds filter (in graphedit package), use "register.bat".
- Wavewizard: http://www.rarewares.org/wavewiz/wavewizardv0.54b.zip

Note 3: First of all, prepare a lot of disk space: 2 hours of 6ch PCM or WAVe takes aprox 4G disk space. So You need double (for PCM and for WAVe).

EDIT: Channel order for BeSweet corrected!
__________________
(Sorry for my bad english, I'm czech, not englishman... :))

Last edited by JnZ; 6th March 2007 at 01:15.
JnZ is offline   Reply With Quote
Old 2nd March 2007, 17:11   #777  |  Link
Deckard2019
Registered User
 
Join Date: Jan 2005
Posts: 110
@JnZ :
Did you test this ? or this ?
It seems easier and lower cost disk space to me ...
Deckard2019 is offline   Reply With Quote
Old 2nd March 2007, 17:17   #778  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Thanks for your efforts, JnZ, that sounds promising!
madshi is offline   Reply With Quote
Old 2nd March 2007, 17:18   #779  |  Link
JnZ
Registered User
 
JnZ's Avatar
 
Join Date: Jan 2004
Location: Czech
Posts: 181
Quote:
Originally Posted by Deckard2019 View Post
@JnZ :
Did you test this ? or this ?
It seems easier and lower cost disk space to me ...
I test AC3 via FFDshow, and it works...but not for long DD+ (only for unilogo.ddp).
Your guide maybe works too (didn't try).

I give people another guide...so they can decide, and find best way for themselves.

Explanation: I like "old-school" "be-sure" methods...
__________________
(Sorry for my bad english, I'm czech, not englishman... :))
JnZ is offline   Reply With Quote
Old 2nd March 2007, 17:23   #780  |  Link
Deckard2019
Registered User
 
Join Date: Jan 2005
Posts: 110
Quote:
I test AC3 via FFDshow, and it works...but not for long DD+ (only for unilogo.ddp).
I've done a 2h20 movie with this method. No trouble. To be continued
Deckard2019 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.