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 > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th December 2007, 12:36   #21  |  Link
Jjeje007
Registered User
 
Join Date: Mar 2006
Posts: 28
Hi,

Here is the updated patch for the TrueHD/mlp decoder for mplayer svn :

http://www.db-instable.org/misc/truehd-decoder.patch

It compil fine this the latest mplayer svn but how to enable it (in codecs.conf ?) ?

Jjeje007
Jjeje007 is offline   Reply With Quote
Old 19th December 2007, 16:14   #22  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
Where can I get the latest ffmpeg that includes the latest patches?
rack04 is offline   Reply With Quote
Old 6th January 2008, 17:46   #23  |  Link
KpeX
Registered User
 
KpeX's Avatar
 
Join Date: Jun 2003
Location: Great Lakes, USA
Posts: 1,433
Quote:
Originally Posted by Jjeje007 View Post
It compil fine this the latest mplayer svn but how to enable it (in codecs.conf ?)
Something like this is working here:

Code:
audiocodec ffmlp
  info "MLP"
  status buggy
  format 0x0
  driver ffmpeg
  dll "mlp"
Then playback with mplayer -demuxer lavf -ac ffmlp gives output similar to the following:

Code:
==========================================================================
Forced audio codec: ffmlp
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[mlp @ 0xd4b940]Extracting 2 channel downmix from substream 0. Further substreams will be skipped.
AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)
Selected audio codec: [ffmlp] afm: ffmpeg (MLP)
==========================================================================
__________________
KpeX
Audio FAQs: General | BeSweet | SVCD/MP2 | MP3 | Vorbis | AC3 | DTS | AAC
Linux Audio/Video FAQ
KpeX is offline   Reply With Quote
Old 24th January 2008, 10:08   #24  |  Link
qubic
Registered User
 
Join Date: Sep 2006
Posts: 49
hi

any video samples, with TrueHD, somewhere?

and what is the command line for mplayer?

regards qub
qubic is offline   Reply With Quote
Old 27th January 2008, 08:57   #25  |  Link
frenchglen
Registered User
 
Join Date: Apr 2007
Posts: 60
I can't wait for this to be finished! I am going to convert all my DVD-Audio discs to MLP and have a HD music library! No need for FLAC!
frenchglen is offline   Reply With Quote
Old 27th January 2008, 10:25   #26  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by frenchglen View Post
I can't wait for this to be finished! I am going to convert all my DVD-Audio discs to MLP and have a HD music library! No need for FLAC!
What advantage does MLP have over FLAC for your needs?
madshi is offline   Reply With Quote
Old 27th January 2008, 12:19   #27  |  Link
frenchglen
Registered User
 
Join Date: Apr 2007
Posts: 60
Quote:
Originally Posted by madshi View Post
What advantage does MLP have over FLAC for your needs?
One less step in the ripping process. Saves time, and the (always present if extremely unlikely) possibility of digital error (since I have a fair amount of discs - I'm a DVD-A fan).

+ it will let me easily tell in my media library which files are from dvd-audio and which are all my lower resolution ones. It's an added bonus to set them apart because they're very special anyway.

And essentially, MLP has quite a good compression rate already (since it was made to fit on a disc), so FLAC doesn't really become necessary if all I want to do is play these files back in my media library on a HTPC. An MLP file of 213MB becomes about a 200MB FLAC file with eac3to.
frenchglen is offline   Reply With Quote
Old 27th January 2008, 17:13   #28  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by frenchglen View Post
One less step in the ripping process. Saves time, and the (always present if extremely unlikely) possibility of digital error (since I have a fair amount of discs - I'm a DVD-A fan).

+ it will let me easily tell in my media library which files are from dvd-audio and which are all my lower resolution ones. It's an added bonus to set them apart because they're very special anyway.

And essentially, MLP has quite a good compression rate already (since it was made to fit on a disc), so FLAC doesn't really become necessary if all I want to do is play these files back in my media library on a HTPC. An MLP file of 213MB becomes about a 200MB FLAC file with eac3to.
Ok, makes sense.

But you cannot add meta data to MLP, right? I mean things like artist name, album name, title name etc.
madshi is offline   Reply With Quote
Old 28th January 2008, 23:53   #29  |  Link
frenchglen
Registered User
 
Join Date: Apr 2007
Posts: 60
Quote:
Originally Posted by madshi View Post
Ok, makes sense.

But you cannot add meta data to MLP, right? I mean things like artist name, album name, title name etc.
That's interesting, didn't think of that. That brings back a need for FLAC then. I might convert them one day but I'm liking the prospect of just ripping to MLP for now, as a first step.

--

But what I'm wondering and hoping, is when there will be an open source MLP encoder? It would be integrated into eac3to, but even better, dvda-author, which its coder Dave Chapman started to work on again just a few months ago. Inability to encode MLP (cheaply/freely) has been the one thing to set back DVD-A authoring the way it should be.

If the guys at FFmpeg have reverse-engineer MLP, then surely they can write an encoder for it, right? Wouldn't it be great to finally be able to burn off your own tracks to DVD-A as easily as a CD. Yeah, there's the watermarking detection in standalone players, but I've come to realise that [at least for music, at the moment], physical media is going right out and downloadable files will be the new standard - we just need the flexibility to author our own DVD-As now.
frenchglen is offline   Reply With Quote
Old 29th January 2008, 05:16   #30  |  Link
bertox
Registered User
 
bertox's Avatar
 
Join Date: Jan 2008
Posts: 38
Flac is the most...but an MLP directshow decoder.., i could use it for previewing my ripped DVD-As before encoding to flac and listen with the marvellous foobar2000 KernelStreaming Output.

I wait for it.
bertox is offline   Reply With Quote
Old 29th January 2008, 09:09   #31  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by frenchglen View Post
But what I'm wondering and hoping, is when there will be an open source MLP encoder?
I'm not aware of anyone working on such a thing.

Quote:
Originally Posted by frenchglen View Post
If the guys at FFmpeg have reverse-engineer MLP, then surely they can write an encoder for it, right?
Yeah, maybe. But someone would have to invest a lot of his free time to make this happen.
madshi is offline   Reply With Quote
Old 29th January 2008, 15:09   #32  |  Link
bertox
Registered User
 
bertox's Avatar
 
Join Date: Jan 2008
Posts: 38
free time....jajajaj
bertox is offline   Reply With Quote
Old 21st February 2008, 21:25   #33  |  Link
fenton06
Registered User
 
Join Date: Apr 2007
Posts: 27
has anyone gotten this to work on mplayer? I have the eac3 working w/o issues, now I jstu need to get the TrueHD going and I'll be set

I applied the patch, and added this to codecs.conf.:

audiocodec ffmlp
info "MLP"
status buggy
format 0x0
driver ffmpeg
dll "mlp"

I have a problem though, using:
Code:
mplayer -ac help | grep ffmlp
doesn't work

thanks!
fenton06 is offline   Reply With Quote
Old 5th July 2008, 23:19   #34  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,354
Quote:
well...wait a couple of days. the decoder should be committed in the svn soon.
The decoder is committed!!!
Ramiro will even make an encoder
Wilbert is offline   Reply With Quote
Old 5th July 2008, 23:27   #35  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,426
TrueHD decoder in ffmpeg? <3
Snowknight26 is offline   Reply With Quote
Old 6th July 2008, 15:44   #36  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
Sweeeeeeeeeeeeet!
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld
Inventive Software is offline   Reply With Quote
Old 6th July 2008, 16:58   #37  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,426
Is it a whole new library or is it part of an existing one, say libavcodec?
Snowknight26 is offline   Reply With Quote
Old 6th July 2008, 18:42   #38  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
I think it's part of libavcodec.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld
Inventive Software is offline   Reply With Quote
Old 12th October 2008, 01:59   #39  |  Link
kkloster21
Registered User
 
Join Date: Jun 2008
Posts: 117
has anybody actually been able to use mplayer to decode and play (stream) a trueHD track (while playing a blu-ray disc for example)?

i've tried to use

Code:
$ mplayer -aid 4352 -ac ffmlp -channels 6 -
to play from stdin, but it doesn't work. i get video but it says "NO AUDIO!"
kkloster21 is offline   Reply With Quote
Old 21st October 2008, 20:14   #40  |  Link
Jjeje007
Registered User
 
Join Date: Mar 2006
Posts: 28
Quote:
Originally Posted by kkloster21 View Post
has anybody actually been able to use mplayer to decode and play (stream) a trueHD track (while playing a blu-ray disc for example)?

i've tried to use

Code:
$ mplayer -aid 4352 -ac ffmlp -channels 6 -
to play from stdin, but it doesn't work. i get video but it says "NO AUDIO!"
Should work better like this :

Code:
$ mplayer -demuxer lavf -aid [1-x] -ac ffmlp -channels 6 -
the -aid switch with lavf demuxer start at "1"

EDIT : And yes, i already been able to play TrueHD track

Jjeje007

Last edited by Jjeje007; 21st October 2008 at 20:16.
Jjeje007 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 05:29.


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