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 > Video Encoding > New and alternative video codecs
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th October 2008, 14:24   #4461  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by nautilus7 View Post
Wrong channel order with DTS? What samples do you need?
Well, according to :

Quote:
Originally Posted by K1ngp1ng View Post
when using libav for dtswav the channels are wrong: SL=L, L=C, C=SL
DTS wav would have wrong channel order (I was not aware of that), so if someone has a sample saying "Left", "Right", "Rear Left"... in order to test and fix this problem correctly....
albain is offline   Reply With Quote
Old 12th October 2008, 15:02   #4462  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Here you are. Exactly what you asked.

I have a question though... How do i play dts wavs with ffdshow? If i load the file in mpc, i get just noise, which means the dts is not recognized. The check for dts in wav option in ffdshow is enabled of course.
nautilus7 is offline   Reply With Quote
Old 12th October 2008, 15:29   #4463  |  Link
tal.aloni
Registered User
 
Join Date: Sep 2008
Posts: 496
I just made the test myself, (using my own sample)
there is a mapping problem with dts wav using libavcodec.

I'm Having this Mapping (revision 2203):

1. Left Front Channel > 2. Right Front Speaker
2. Right Front Channel > 5. Left Surround Speaker
3. Center Channel > 1. Left Front Speaker
4. LFE Channel > 4. LFE Speaker
5. Left Surroud Channel > 6. Right Surround Speaker
6. Right Surround Channel > 3. Center Speaker

Tal Aloni
tal.aloni is offline   Reply With Quote
Old 12th October 2008, 15:35   #4464  |  Link
tal.aloni
Registered User
 
Join Date: Sep 2008
Posts: 496
Quote:
Originally Posted by nautilus7 View Post
If i load the file in mpc, i get just noise, which means the dts is not recognized. The check for dts in wav option in ffdshow is enabled of course.
Do you have normalization, down-sampling, or any other audio processing involved using MPC?
also, check to see which filters are used before ffdshow, probably something tamper with the wav before it arrives to ffdshow.
tal.aloni is offline   Reply With Quote
Old 12th October 2008, 17:06   #4465  |  Link
K1ngp1ng
Registered User
 
Join Date: Jun 2008
Posts: 29
Quote:
Originally Posted by nautilus7 View Post
Here you are. Exactly what you asked.
apparently ffdshow doesn't detect 48 khz dtswav. what's the point of dtswav if it's not cd-player compatible anyway?

Last edited by K1ngp1ng; 12th October 2008 at 17:08.
K1ngp1ng is offline   Reply With Quote
Old 12th October 2008, 17:10   #4466  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Ah, you might be right about 48KHz dts wav and ffdshow.

But this file was made with official DTS pro encoder, so if that encoder allows such output, i believe it is legitimate.

I am creating a dts wav @ 44,1KHz this time with same content (channel positions).

EDIT: Actually, i created dts wavs of all possible combinations (16 & 24 bits, 44,1 & 48 KHz and 768, 1411 & 1536 kbps bitrate). Don't know what a standalone player is supposed to play, but all these kinds are detected correctly from eac3to. Uploading...

Last edited by nautilus7; 12th October 2008 at 17:53.
nautilus7 is offline   Reply With Quote
Old 12th October 2008, 17:33   #4467  |  Link
Px
>>^^__^^<<
 
Px's Avatar
 
Join Date: Jun 2005
Posts: 222
Quote:
Originally Posted by phunqe View Post
Did I miss something?
x64 splitter?
Px is offline   Reply With Quote
Old 12th October 2008, 17:58   #4468  |  Link
saint-francis
too much lurking
 
saint-francis's Avatar
 
Join Date: Sep 2006
Location: Valhalla
Posts: 668
Quote:
Originally Posted by Px View Post
x64 splitter?
I"m assuming that the divx file can be split by wmp but the h.264 file probably needs either haali x64 (nonexistent) or the file will need to be played with mpc. Can wmp split .avi? If so there is another problem.
saint-francis is offline   Reply With Quote
Old 12th October 2008, 18:03   #4469  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
DTS WAV samples (the previous one is included but with different name).

Legitimate or not, i think it's not hard to support all.
nautilus7 is offline   Reply With Quote
Old 12th October 2008, 18:21   #4470  |  Link
phunqe
Registered User
 
Join Date: May 2007
Posts: 6
Oh... Yea I was using the regular ones from Haali's homepage, I'll try the x64 one. Although a regular DivX didn't play either.
Registering the .ax file manually didn't produce any errors...
phunqe is offline   Reply With Quote
Old 12th October 2008, 18:36   #4471  |  Link
_xxl
ffdshow user
 
_xxl's Avatar
 
Join Date: Oct 2005
Location: Romania
Posts: 818
Latest build is crashing if libavcodec ac3 decoder is used.
http://rapidshare.com/files/15334633..._aac_.mkv.html
and
http://x264.nl/h.264.samples/force.p...05.feb.2008.ts

Last edited by _xxl; 12th October 2008 at 18:50.
_xxl is offline   Reply With Quote
Old 12th October 2008, 18:39   #4472  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
DTS in WAV still NOT working

Quote:
Originally Posted by nautilus7 View Post
Here you are. Exactly what you asked.

I have a question though... How do i play dts wavs with ffdshow? If i load the file in mpc, i get just noise, which means the dts is not recognized. The check for dts in wav option in ffdshow is enabled of course.
DTS in WAV still NOT working for me too !

Tested with WMP & MPC-HC; 32-bit & 64-bit; libdts & libav (libav just 32-bit);

WAV sample with dts inside : http://www.diatonis.com/downloads_dts_ac3.html

P.S. AC3Filter it's working with DTS in WAV
__________________
Intel UHD Graphics 750; Win 10 22H2

Last edited by Mercury_22; 12th October 2008 at 18:44.
Mercury_22 is offline   Reply With Quote
Old 12th October 2008, 19:08   #4473  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
The 44.1KHz DTS in WAV samples work for me, but only when the "Uncompressed" option is set to "All Supported"
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 12th October 2008, 19:12   #4474  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by SeeMoreDigital View Post
The 44.1KHz DTS in WAV samples work for me, but only when the "Uncompressed" option is set to "All Supported"
Yes thanks for the tip but it's working just with MPC with WMP still NOT working !

P.S. Some splitter missing maybe ?
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline   Reply With Quote
Old 12th October 2008, 19:15   #4475  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Yes, works here too, but channel mapping is wrong.

Also WMP crashes, but i don't care much...
nautilus7 is offline   Reply With Quote
Old 12th October 2008, 20:06   #4476  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Here is an updated build :
http://rapidshare.com/files/15336931...eta14.exe.html


New features :
- Bug fixes : all DTS samples should pass. Wrong channel mapping to be checked (I didn't modify anything on this part). All TrueHD samples should pass.
- Codec switching : if input stream is AC3 (according to splitter) and you selected liba52 for AC3, then liba52 is used for decoding. But if on the incoming data the parser detects an EAC3 stream, then FFDShow switches the decoder to the one selected for EAC3 (libavcodec only). Same thing for TrueHD/MLP.
- If SPDIF is selected for AC3 and a TrueHD/AC3 interweaved stream is detected by the internal parser, then AC3 frames are extracted (TrueHD frames are thrown) and sent directly to SPDIF. Otherwise MLP frames are decoded.
albain is offline   Reply With Quote
Old 12th October 2008, 20:09   #4477  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by K1ngp1ng View Post
apparently ffdshow doesn't detect 48 khz dtswav. what's the point of dtswav if it's not cd-player compatible anyway?
This does not surprise me, the existing code parses just the header sync, not the sample rate and so it assumes that DTS in wav is always at 44Khz.
However the internal parser I added parses all the header

So this is easy to fix. Please remind me this if I don't do this soon
albain is offline   Reply With Quote
Old 12th October 2008, 20:16   #4478  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
What happens if the EAC3 decoder is enabled and the AC3 decoder is set to disabled and a regular AC3 stream is detected? Will ffdshow then refuse the graph connection, allowing another filter to decode the audio?
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 12th October 2008, 20:40   #4479  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by clsid View Post
What happens if the EAC3 decoder is enabled and the AC3 decoder is set to disabled and a regular AC3 stream is detected? Will ffdshow then refuse the graph connection, allowing another filter to decode the audio?
Yes, this is the problem but it is just not possible to receive some buffers before saying "I won't decode this"

As long as there won't be any media guid that identifies EAC3 against AC3.

Same problem with MLP/TrueHD

Today everything starts from AC3 format
albain is offline   Reply With Quote
Old 12th October 2008, 20:50   #4480  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by albain View Post
Yes, this is the problem but it is just not possible to receive some buffers before saying "I won't decode this"
Are you sure? I think it must be possible somehow, but I don't know how...
madshi is offline   Reply With Quote
Reply

Tags
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl


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 01:20.


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