|
Authoring multi-channel LPCM on DVD's
|
|
tireland
Newbie
|
28. June 2004 @ 15:43 |
Link to this message
|
Not quite on-topic but the motivation is to create HiRez multi-channel disks...
I have been able to create HiRez (24/48) stereo audio tracks on DVD's using "DVD+Audio Creator" and Discwelder Bronze, but I would like to be able to create 4.1 24/48 LPCM audio-only DVD's for playback on any reasonably up-to-date DVD player. It seems like Wavelab5 and (perhaps) some version of Discwelder might enable this for DVD-Audio enabled players, but I would prefer to use the native DVD capability set. Are there any pieces of authoring software that will allow me to take 5 mono .wav files (or two stereo and one mono) and complie them into a single VOB file?
Thanks,
Tony
|
Advertisement
|
|
|
Senior Member
|
29. June 2004 @ 00:46 |
Link to this message
|
No.
DVD-Video authoring packages will generally not allow multichannel PCM Audio.
Admittedly it is in theory part of the specs, but your problem is the need to include some kind of graphical material in the content, as DVDV is video based.
You need to stick with either WaveLab, or discwelder.
The advantage to discWelder Chrome, despite it's hefty price tag, is the ability to automatically create a DVDV compatible layer for an unlinked hybrid that will play on all players.
The downside with an unlinked hybrid is that it cannot of course be replicated. You can make your own copies though.
For multichannel PCM audio only, VOB files are no use to you at all, as this is DVDV. You need DVDA.
|
olk
Newbie
|
29. June 2004 @ 16:51 |
Link to this message
|
I have authored (containing up to max.8) multichannel
lpcms in 48khz to be playable on el-cheapo dvd-video
devices.
As wilke said, the drawback is that the VOB files have
to contain also at least a video stream of the duration
of the audio lpcm, other wise you wont be able to cue and rewind, especially if the video part is too short
You first have to mplex them into a mpeg, then author
it to obtain the VIDEO_TS folder, containing all the
ifo(s) and vob(s) then you make an isoimage for the
dvd-r an burn it.You can decide between 48 or 96 khz
and 16-20-24 bps and up to 8 channels. Another drawback
is you can even use 44.1 or 32 khz or but the dvd-video
players will play them at default at 48, which sounds
pretty evil, quite pitched, but in your case, you have
your material in 48khz ready, then it will work out of
the box.
Ah, perhaps i should have mentioned that i'm not on
windows, what makes me perhaps an outsider, but hey
it works pretty well, on linux.
My actual problem is to put 44.1khz:2 chan:16 or 24 bit lpcm on dvd-r to be played from a dvd-video, but since those beasts ignore the content of the audio_ts folder,
even being correctly authored as aob files, it seems to be a hopeless case (for me).
Feel free to ask for details if you have access to
linux box and want to get your lpcms onto dvd-r to be
played from a dvd-video(only)
good luck
olk
|
tireland
Newbie
|
29. June 2004 @ 17:00 |
Link to this message
|
olk,
I would very much like to hear the details and would even put a Linux machine together if need be. If you would prefer to have this discussion via email, just let me know.
Thanks,
Tony
|
olk
Newbie
|
29. June 2004 @ 18:07 |
Link to this message
|
I have no problems talking here, well i dont know the
policy if it is okay for everybody to spread oneselves
here going into details or if it is just a question
and answer style forum here, lol. If the others think
that we are offtopic or talking about old stuff (well
there was last year some kind of same discussion about
analysing the structure of a dvd, regarding the
contents of the video and audio_ts folders, what
belongs to where and why and all that). I had to
rewrite, we call it patching, some sourcecode of a
couple of programs to suit my needs.
To help you out, i will list a few programs you need
to obtain a dvd-r or rw which can be played on every
dvd-video machine.
What you need:
sox, mplex, dvdauthor, mkisofs, growifs
Everything starts with an ordinary wav file.
This is in little-endian format and has to be converted
into big-endian, thats why we need sox.
It transformes almost every audio format into
everything. If you already do have lpcm, then you
might skip this.
Then we need a video of the duration of the lpcm,
should not be too hard to create an mpeg containing
only video but no sound.
Next step is to multiplex the sound lpcm and the video
into a big mpeg file. That is what 'mplex' does,
Then you have to use dvdauthor, it creates a structure
on harddisk like this:
An empty audio_ts folder and the video_ts folder
containg one or several vobs, if the length of the big
mpeg was bigger than say 1Gb then vts_01_02.VOB..03.vob
etc are created automagically.
Then you run dvdauthor once again with other params
to finish the structure.
Then you create a iso-image (dvd-image-file) which
will be burned later on dvd-r(w).
The whole process of all that takes a few minutes,
i guess burning is the longest of all processes :-)
Now the syntax of all this, yah this is shell stuff,
no clicky-pointy, sorry folks.
1: Converting wav to lpcm
sox <in.wav> -t raw -x -s -w -c2 -r48000 <out.lpcm>
2: Aultiplexing audio and video into big-mpeg
mplex -f 8 -S 0 -L 48000:2:16 -o <out.mpg> <vid.m2v>
<in.lpcm>
3. Authoring (creating the file structure from mpeg)
dvdauthor -a pcm+16bps+2ch+48khz -c 0 big.mpg -o dest
(dest is the toplevel folder where the audio and
video_ts will be created)
4. A 2nd necessairy Authoring subprocess
dvdauthor -T -o dest
5. Creating the dvd image
mkisofs -dvd-video -udf dest > videodvd.iso
6. Burn that sucker to dvd-r(w)
growisofs -speed=0 -Z /dev/dvd=videodvd.iso
Thats how it works for sure, you may change a few
things for finetuning, like having this or that bits
per sample for each channel separately.
If you dont care too much about getting audible
artefakts, to be honest i didnt notice any,
you may upsample from 44.1 to 48 khz
(what can be done with either sox or resample)
to put some audio cd's onto dvd-video.
Well, the sound gurus might kill us for that
suggestion, but again, the algorithms used are those
from Smith III, Julius O. and Phil Gossett
'A Flexible Sampling-Rate Conversion Method'
which are very well implemeted.
All this sounds much more complicated as it really is,
You just put all commands into one script, adjust the
names and locations and you end up with a dvd-r to be
used in every dvd-player, even from older generations
Enjoy
OLK
|
Senior Member
|
30. June 2004 @ 01:08 |
Link to this message
|
Plus the difficulty of finding a DVDV machine that plays back multichannel PCM with no trouble.
|
tireland
Newbie
|
30. June 2004 @ 07:32 |
Link to this message
|
OLK,
Thanks for the details. I have a couple of questions.
First, an observation - When you said,
"My actual problem is to put 44.1khz:2 chan:16 or 24 bit lpcm on dvd-r to be played from a dvd-video, but since those beasts ignore the content of the audio_ts folder,
even being correctly authored as aob files, it seems to be a hopeless case (for me)."
I assume this is a problem for you because something like "DVD+Audio Creator" is not available in Linux. What you describe above is exactly what this software does for Windoze folks.
Now the questions:
You say you start with an ordinary WAV file. If I want, for example, to have four channel simultaneous playback, does this mean I need to have a four channel WAV file? If so, what software do you use to create multi-channel WAV files? How is the mapping between the four embedded audio stream in the WAV file mapped to audio channels on the DVDV?
If not, i.e. one uses two stereo channels, which piece of software does the multplexing of the two stereo channels to get a single four channel audio stream?
As a BTW, if I can create a legal four channel WAV I will try throwing it at "DVD+Audio Creator" to see if it barfs - which I guess it will.
Thanks,
Tony
|
Senior Member
|
30. June 2004 @ 08:25 |
Link to this message
|
DVD+Audio creator has nothing to do with the Audio_TS folder, wether you are on Linux, Windoze, OSX or the moon.
To correctly author an Audio_TS, and get the files multiplexed correctly requires DVD-A Authoring software. Period. DVD+Audio creator is not DVD-A Authoring software. It creates Video_TS folders, so the audio can be played on a DVD-Video machine.
To play Audio_TS folders requires a DVD-Audio player.
Now to mixing.
Personally, I use a combination of Nuendo & discWelder Chrome. You mix your music in Surround, then export the multichannel WAV files, if in 24./96 5.1 you then have to MLP encode, then Author the DVD-A.
Okay? You need a full surround mixing system, including 5 full range monitors, plus the authoring gear.
This message has been edited since posting. Last time this message was edited on 30. June 2004 @ 08:29
|
olk
Newbie
|
30. June 2004 @ 09:36 |
Link to this message
|
@wilke,
that was the briefest summary one could have made
But i guess tireland wants to do all that above on the
dvd-v side, not on dvd-a.
(video_ts folder vs audio_ts folder) :-)
He can get everything done right on video_ts, which
can be played on a dvd-v player, but i guess there have
to be 6 analog outs, the dvd-v player does a correct
mapping of multichan-lpcm's stored in video_ts,
that is a problem for me, but good for tireland...
But i dunno what will come out over spdif, imho the
dvd-v player might downsample to plain stereo (2 chan)
I'll give it a try an report later on.
Nobody tried to patch the firmware to get rid of the
forced 48khz or 96khz playing of lpcm's stored in
video-ts ?
I also assume that this was the reason to use the
dvd+(plus)a proggie which operates on video_ts
/* Anecdote_Mode +ON
My gf advised me to get a dvd-a player and put
everything into the audio_ts folder and end of
discussion ... gives me more time for her - lol
instead of trying how to fool a crippled dvd-v
player just to play something what it cant do
/* End
later
olk
|
Senior Member
|
30. June 2004 @ 10:59 |
Link to this message
|
Sorry about the excessive bluntness - I was getting ready to do something else & mind was elsewhere.
Trouble with trying to use LPCM multichannel on a DVDV is that most of them just ain't up to it, and as you say are hobbled down to 16/48 IF they will actually do MC PCM, which most simply won't. You certainly will never get 24/96 MC down an SP-DIF, as it isn't designed to take the load, plus you sail over the DVDV audio bitrate limitations of 6.144 MB/sec. DVDA gives you 9.6 MB/sec, plus the option for MLP, decoders for which are built into every DVDA player, to get your 24/96 MC, which without MLP would use 13.something MB/sec. That's your big issue with MC on DVDV, bitrate. It just isn't there. Your GF is right - get a DVDA player, and with software like the new WaveLab, or discWelder, you can be making your own DVDA in no time at all. Stereo DVDA at 24/44.1, or even 24/48 still sounds better than CD-A, and if you get the gear there is always the MC option, but that gets very expensive, plus you will see less of the GF as you will be too busy converting your back catalogue into Surround. Believe me, I know.
And then it really gets expensive.
|
tireland
Newbie
|
30. June 2004 @ 12:25 |
Link to this message
|
OK - I'm satisfied that my initial inquiry has been addressed very well. Let me summarize my conclusions:
1) Creating a DVDV with MC 24/48 audio, where the video has the heck compressed out of it such that the aggregate data rate is below the DVDV max limit (i.e. maybe 4 channels max) is POSSSIBLE, BUT on any given player the LPCM audio playback may be limited to 2 channels and/or 16/46 resolution.
2) Creating a DVDA with MC 24/48 audio is only constrained by the aggregate data rate of the DVDA and, if that rate is not exceeded (e.g. 6ch * 24 bits * 48Khz < 9.6Mb/s), can be created relatively inexpensively(i.e. no MLP required), with something like Wavelab5.
All of that said, with a good range of universal players on the market I am still motivated to create a four channel 24/48 DVDV if nothing else than as a test disk to evaluate new players.
All in all, I've had a blast so far creating stereo 24/48 DVDV's using DVD+Audio Creator and DVDA's using Discwelder Bronze. When I'm ready to move my masters over to 5.1 24/96 DVDA's, I guess I'll seek the help from folks like Opus Productions.
Thanks for all the advice so far
Tony Ireland
|
Senior Member
|
30. June 2004 @ 23:22 |
Link to this message
|
Both assumptions are essentially correct sir, and I l look forward to helping out wherever possible,
DVD-A Authoring does not need to be too expensive as long as you stay at 48KHz, or even 44.1KHz. I have still to be convinced by anyone of the benefit of using high samplerates, other than to impress record companies & clients.
4 channel 24/96 is acually possible without MLP, so you could even find out for yourself, although how to do this without it ending up as a test of the converters you are playing the material through is utterly beyond me.
Hoe to see you in DVD-A labd very soon. For a universal player, I can recommend the Pioneer DV565A, or 563 as it is known in USAland.
There was a little bug between this player & waveLab, but is all fixed now.
|
tireland
Newbie
|
1. July 2004 @ 05:53 |
Link to this message
|
Messers Wilkes et al,
This thread sort of mixed hires and and positional audio in an adhoc manner. Does anyone know of a forum that has the same level of resident expertise in positional sound as this one does in hires?
Thanks,
Tony
|
Senior Member
|
1. July 2004 @ 11:40 |
Link to this message
|
You could always try http://forum.doom9.org/forumdisplay.php?s=&forumid=11
Again, I don't know much about ambisonics. It's a serious gap in the knowledge, and I really must learn it at one point.
The tools for encoding are freely available at www.ambisonic.net
LOL.
Anything about PCM, then I can help. Dolby Digital - not too shabby. DTS - so so.
I just find that multichannel works better when discrete channels are used, and I can also do the LCRS encoding straight from the PCM files too.
Matrixed Surround is better than no surround, but it gets very technical trying to do it the ambisonic way. Very "round the houses".
This message has been edited since posting. Last time this message was edited on 1. July 2004 @ 11:42
|
olk
Newbie
|
1. July 2004 @ 12:06 |
Link to this message
|
Tireland you could try it the way round to find out
where the forums and folks do reside, am sorry that i
dont know any.Here's few examples of sound-modification
and correction:
# Digital crossover filters
# Room equalisation
# Cross-talk cancellation
# Wavefield synthesis
# Auralisation
# Ambiophonics
# Ambisonics
My advice is to look out for (open)source projects
dealing with the above topics and sneek into their
homepages and documentation and i am pretty sure you
will be guided straightforward to forums and mailing
lists. The authors of those kinda software are quite
talkitive and i guess just simply asking them via
mail is the easiest way to go :-)
Try starting by this one
(quite theoretic but comprehensive stuff)
http://www.ludd.luth.se/~torger/brutefir.html
It's like in real life,
you get to know people through people
Good luck out there
olk
|
Staff Member
2 product reviews
|
1. July 2004 @ 15:20 |
Link to this message
|
Quote: You could always try http://forum.doom9.org/forumdisplay.php?s=&forumid=11
Again, I don't know much about ambisonics. It's a serious gap in the knowledge, and I really must learn it at one point.
The tools for encoding are freely available at www.ambisonic.net
I played around with that myself last year, and it's definitely worth trying out if you have the time. Unfortunately it was 1 too many time consuming hobbies for me, but the one disc I made (Supertramp - Breakfast In America) sounded incredible, even on my crappy, old surround system.
|
tireland
Newbie
|
1. July 2004 @ 17:21 |
Link to this message
|
One final report...
All of these are Windows tools...
After much messing around I was able to create 4.0 and 5.1 LPCM audio on a DVDV as follows:
Using Maven3D I created 4 channel and 6 channel wav files. Other programs will surely do this but Maven3D is a really cool program and was fun to use. Just _how_ the channels in the wav file end up being mapped into the LPCM is a bit of a mystery, but as you will see below it doesn't really matter.
I pulled the wav files into separate projects in DVD Lab PRO - the only (Windows) DVD authoring program I could find that wouldn't barf on multi-channel wav files. It also has a nice feature that it allows you to create "audio only", compiled the DVDVs. I tried to burn them with Nero but Nero barfed on the audio so I ended up burning them with DVD Lab Pro, which worked fine.
When I tried to play the disks on my universal Samsung HD841, the disks queued up fine and played but I just got random bleeps and bloops out of the speakers. When I tried to play the disks on my PC using WinDVD6 I got the same bleeps and bloops out of the 4.0 disk and the 5.1 disk would assign the channels differently every time I played back the disk.
So much for multi-channel LPCM....
Tony
|
Senior Member
|
2. July 2004 @ 00:52 |
Link to this message
|
Sir.
At the risk of repeating myself, I have tried to point out on many occasions that multichannel PCM does not happen from DVD-V players through digital outputs. It is that simple. This is due in part to CP measures, and also in great part to bitrate issues, as you have a total of 6.144 MB/sec available for audio in DVDV players.
DVD-V players require multichannel audio to be in Dolby Digital or DTS. MC LPCM is not normally an option with DVDV players. You would need to find one that has 6 analogue outputs for this to stand a prayer of working.
For multichannel PCM playback, you need DVD-Audio, which is a totally different animal altogether. DVD-Audio is designed from the ground up for superior audio performance, and has a maximum bitrate of 9.6MB/sec. Even this is not sufficient for 24/96 playback, or 24/88.2 playback unless the audio is MLP encoded to reduce the bitrate. MLP is lossless, so you lose nothing. You didn't say what bitrate your files were at, but I can assume either 24/48 or 16/48?
Another issue with DVDV players is that most will not play 24 bit audio either, but truncate to 16 bit instead.
DVDA does work, but it is not cheap. It is getting cheaper, with the advent of discWelder Bronze at $99, and WaveLab 5 these days, but you will need a very accurate monitoring environment to get things right.
|
tireland
Newbie
|
2. July 2004 @ 07:05 |
Link to this message
|
Sorry, I should have been more precise - both the Samsung HD841 and (via an 8 channel sound card) the PC have 6 channel _analogue_ outputs. What I wanted to point out was that even devices with 6 channel analogue outputs do not respond predictably to multi-channel LPCM (at 16/48 actually) originating from the VIDEO_TS directory.
In short I am in complete agreement with your observations and that agreement is based on empirical results from fairly time-consuming but interesting set of tests.
I really do hope that DVDA establishes itself as a viable format. I have hundreds of hours of historic recordings that I would like to release in that format but there needs to be a sufficient audience in order to do so. Time will tell.
|
Senior Member
|
2. July 2004 @ 10:15 |
Link to this message
|
Agreed and agreed again.
I think that this is one of the reasons that DVD-A has not - so far - taken off properly. A lot of record companies are holding back somewhat whilst they see which of SACD/DVD-A goes the way of Betamax. I guess nobody wants to be left holding a potentially embarrassing meeting with their boards of directors trying to explain why they just blew n million dollars on an obsolete format.
There are others, unfortunately. There have been some very positive steps lately with the advent of affordable authoring tools which is definitely going to raise awareness of the format. This is probably half the battle. Now that home users, and people like we get on these boards can create their own discs, the demand will rise for "official" material. At least, I hope it does!
The other big stumbling block is ignorance in the actual stores. My local store still does not know what DVD-A is, and the local "currys no worries" store has never heard of it. I was told "but this one does Dolby Digital. That's DVD Audio isn't it?" And that from a so called salesman.
Fortunately though, with more & more universal players coming through, more & more people have the option for DVDA & SACD, even if they don't realise it yet.
Here's hoping, anyway.
|
Prisoner
Suspended due to non-functional email address
|
3. July 2004 @ 10:31 |
Link to this message
|
This type of discsion does bother me. Why in the world do we have so many formats. Yes I know every company needs their peice of the pie. But look at the first the problem with DVD's you have people argueing over DVD- and DVD+. Now we have the same issue with DVD-A and SACD. If one is approvable by the DVD forum (as in DVD-A) why doesn't the forum just charge Sony a royalty for messing things up and releasing a nother format to confuse people. (Sorry I had to get that out)
But seriously if software companies got their act together and release a Home or Family version of authing software for either DVD-A and SACD, then we might have a winner and then our audio will be availble. Classic lost music recordings I would love to see come back (lots of stuff on record still hasn't be release). I think we do need a format.
I am not a number
I am a Free Man
|
Praetor
Moderator
|
3. July 2004 @ 10:54 |
Link to this message
|
olk: you dont have to do the hard-returns when posting :) It's dont automatically :)
Quote: Why in the world do we have so many formats.
Because its in the name of progress and competition (note the sarcasm)
Quote: Now we have the same issue with DVD-A and SACD
I'm a noob when it comes to audio crap but isnt DVDA on a DVD and SACD .... on a CD? That's a world of difference as it is :)
Quote: why doesn't the forum just charge Sony a royalty for messing things up and releasing a nother format to confuse people. (Sorry I had to get that out)
God i hear ya :P
|
Prisoner
Suspended due to non-functional email address
|
3. July 2004 @ 11:11 |
Link to this message
|
As far as I can tell both SACD and DVD-A are on "DVD" type media using very similar lazers to read them. The main difference is the way the data is stored and computed to produce the sound. Please correct me wilkes if that statement is incorrect.
Since so similar, I just feel that what is realy hurting these companies and stoping me from buying either right now is which will be around. I have reading about this since Oct 2003 and still now win in or out. I am still buying Records. Yes I can still find some good ones here in Toronto and don't what to fully convert untill this is sorted out.
I only have a SACD connected to my current Sony DVD player, so I have only heard the SACD format.
I think what you might be think Preator is SACD were the first to include both CD player and SACD player conpatible tracks. DVD-A now offers it, a CD player track and DVD-A tracks.
I am not a number
I am a Free Man
|
Senior Member
|
4. July 2004 @ 04:41 |
Link to this message
|
One of the really weird things in all this is that both Sony & Philips actually own patents relating to DVD-A!
The only real difference between the two formats, IMO, is that SACD uses a format called DSD for storing/recording the audio, and DVD-A uses good old PCM.
There are many, many arguments in favour of PCM over DSD, and if anyone emails me I can provide these with pleasure (I guess it's obvious by now where my prejudices are, so I'll keep this brief).
DSD uses 1 bit technology at an absurdly high sample rate, and an enormous amount of noise shaping to keep the HF Noise inaudible. It is an anomaly, not an advance (again, I stress that this is just my opinion) and it is a fact that SACD actually sounds better when played back through Linear Phase 20KHz LP filters. Which kind of destroys the entire high samplerate argument the format is based on.
DVD-A uses from 16 to 24 bit PCM, at samplerates from both 44.1KHz & 48KHz families, at up to 88.2/96KHz in Surround, and 192KHz in stereo.
You can also add in a Video layer for compatibility with every DVD player out there. Admittedly this will usually be in 16/48 stereo (not really worth using 24/96 stereo audio on the Video layer, as a lot of DVDV players will truncate this straight down to 16 bit & halve the sample rate back down to 48KHz) but can be up to 24/96 stereo.
So at the worst it is still better than CD, at 16/44.1 even in compatibility mode.
SACD currently has the advantage of being playable in a standard CD player, but only in CD resolution so no advantage really.
It is also a common thing for the CD layer to be "butchered" to make the SACD layer sound better. This is not me being paranoid, but a well known little trick that has been admitted to. Can't for the life of me find the link, but will post it as soon as I find it again.
You pays yer money, and take your choice.
Or not - judging by sales at the moment.
One thing is for sure - the so called "format war" is doing nobody any favours, so the sooner Sony lose it the better :)
|
Advertisement
|
|
|
olk
Newbie
|
4. July 2004 @ 09:07 |
Link to this message
|
*OFFTOPIC*
@praetor: i have to key in the hard returns, otherwise the text will look pretty ugly formatted, thats my browsers fault (mozilla for linux, btw), especially cut-pasted text, gets heavyly 'out-of-order'
greets from germany
olk
|
|