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

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st November 2009, 11:43   #9001  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
Quote:
Originally Posted by Mr VacBob View Post
My dual-core system is in repair for a week; I'll check it, but might not be able to until then.
would be great, thanks!
Thunderbolt8 is offline   Reply With Quote
Old 3rd November 2009, 03:39   #9002  |  Link
jruggle
Registered User
 
Join Date: Jul 2006
Posts: 276
Quote:
Originally Posted by Keiyakusha View Post
it looks like this is ffmpeg problem.
I can normally decode audio using ffmpeg SVN 19894, but with svn 20421 I have a bunch of errors like:
[ac3 @ 0x2268070]error decoding the audio block
[ac3 @ 0x2268070]exponent out-of-range
and audio distorted in the same way...

EDIT:
ffmpeg-r20024 -> fine
ffmpeg-r20060 -> distorted
Thank you for reporting this and giving a sample. I did a lot of changes between 20036 and 20055. I will track down the problem and fix it as soon as possible.

edit: now fixed in r20437. sorry for the regression...

Last edited by jruggle; 3rd November 2009 at 04:00.
jruggle is offline   Reply With Quote
Old 3rd November 2009, 15:05   #9003  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
Thanks!
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 3rd November 2009, 21:42   #9004  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
Quote:
Originally Posted by jruggle View Post
Thank you for reporting this and giving a sample. I did a lot of changes between 20036 and 20055. I will track down the problem and fix it as soon as possible.

edit: now fixed in r20437. sorry for the regression...
oh, a ffmpeg developer

any chance you could make ffmpeg decode AC3 and DTS in 32float instead of 16 integer please? all the other AC3/DTS decoders in ffdshow output 32 float, this allows less rounding errors...especially when post-processing audio.

leeperry is offline   Reply With Quote
Old 4th November 2009, 13:50   #9005  |  Link
mark0077
Registered User
 
Join Date: Apr 2008
Posts: 1,106
Quote:
Originally Posted by leeperry View Post
oh, a ffmpeg developer

any chance you could make ffmpeg decode AC3 and DTS in 32float instead of 16 integer please? all the other AC3/DTS decoders in ffdshow output 32 float, this allows less rounding errors...especially when post-processing audio.

Gets my vote also
mark0077 is offline   Reply With Quote
Old 4th November 2009, 18:45   #9006  |  Link
jruggle
Registered User
 
Join Date: Jul 2006
Posts: 276
Quote:
Originally Posted by leeperry View Post
oh, a ffmpeg developer

any chance you could make ffmpeg decode AC3 and DTS in 32float instead of 16 integer please? all the other AC3/DTS decoders in ffdshow output 32 float, this allows less rounding errors...especially when post-processing audio.

I'm not DTS maintainer, but for AC3 I have a patch mostly ready. It is a bit slower than the 16-bit decoding, so I will need to make it configurable to decode to either float32 or int16.
jruggle is offline   Reply With Quote
Old 4th November 2009, 20:29   #9007  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
oh cool, you're the man! actually liba52 sounds fine already(and is 32float), but it's still very nice to have an alternative

OTOH, libdts sounds pretty bad(32 float too)...so 32float DTS in ffmpeg would be really fantastic. thanks for your prompt reply btw, much appreciated

Last edited by leeperry; 4th November 2009 at 20:42.
leeperry is offline   Reply With Quote
Old 5th November 2009, 11:25   #9008  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Hi all,

here I am again with a new beta build for HD bitstream

Here is the link

In this build I have fixed TrueHD and DTS HD bistream from the logs you posted.

@tetsuo55
However DTS HD does not work because the HD blocks are stripped off by MPC splitter. I don't understand why, do you know something about it ?

@testers
I have posted an updated build of the hook tool on the same link I have PM. Please use this new build for the new tests, I have added traces on the media types used between the player and the audio card (the official MS media types are not accepted for all formats), and also on the wasapi implementation.
I need you redo the tests with the new hook tool
albain is offline   Reply With Quote
Old 5th November 2009, 11:43   #9009  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by albain View Post
Hi all,

...
@tetsuo55
However DTS HD does not work because the HD blocks are stripped off by MPC splitter. I don't understand why, do you know something about it ?

...
This apply to both MPC-HC's MPEG PS/TS/PVA and Matroska splitters ?
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline   Reply With Quote
Old 5th November 2009, 11:45   #9010  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
It works for MKV (I receive the full DTS HD blocks), but not with M2TS files

Last edited by albain; 5th November 2009 at 11:53.
albain is offline   Reply With Quote
Old 5th November 2009, 12:20   #9011  |  Link
THX-UltraII
Registered User
 
Join Date: Aug 2008
Location: the Netherlands
Posts: 851
Albain,

is this a version where DTS-master and TrueHD should work also for 4xxx users?
THX-UltraII is offline   Reply With Quote
Old 5th November 2009, 12:23   #9012  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
I have browsed through the source, but i do not see any stripping code.

Source is here: http://sourceforge.net/apps/trac/mpc...r/mpegsplitter
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline   Reply With Quote
Old 5th November 2009, 12:53   #9013  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by THX-UltraII View Post
Albain,

is this a version where DTS-master and TrueHD should work also for 4xxx users?
Not for now : technically nothing prevents HD bitstream to work on those series. Only the PAP is missing.
The work to do on those is to trick the audio driver by providing LPCM format whereas it is compressed. This needs to be done after DTSHD/TrueHD/EAC3 bitstream completely work (from ffdshow to MPC wasapi audio renderer).

Otherwise, there is a problem with DTS HD : the HD blocks are not stripped off correctly by ffdshow, this needs to be fixed.
albain is offline   Reply With Quote
Old 5th November 2009, 13:01   #9014  |  Link
liquidskin76
Registered User
 
liquidskin76's Avatar
 
Join Date: Dec 2008
Posts: 233
@Albain

I'll try and give the beta build a test on my geforce 9300 at lunch time today. I'll be running the audio from an MKV container.

Will report back this afternoon if i can.

Cheers for all your hard work!
liquidskin76 is offline   Reply With Quote
Old 5th November 2009, 14:27   #9015  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Let me finish breakfast and I'll give it a try. I have been ridiculously busy with work the last week and that will continue til the end of the week unfortunately. However, I'll give it a shot and see what I can do.
SamuriHL is offline   Reply With Quote
Old 5th November 2009, 14:55   #9016  |  Link
liquidskin76
Registered User
 
liquidskin76's Avatar
 
Join Date: Dec 2008
Posts: 233
@Albain,

Here's my logs from beta26, using GeForce 9300 HDMI Audio, MKV container, and MatroskaSplitter (not Haali).

TrueHD passthrough enabled, get LPCM audio... (http://pastebin.com/pastebin.php?dl=m464914fc)

DTSHD passthrough enabled, get no audio... (http://pastebin.com/pastebin.php?dl=m3be23c4b)

AC3 and DTS appear to bitstream ok. With DTSHD disabled i get the DTS core bitstreamed ok.

Cheers
liquidskin76 is offline   Reply With Quote
Old 5th November 2009, 15:12   #9017  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
@albain

http://pastebin.com/pastebin.php?dl=d2f084a8e

No joy on TrueHD. Light doesn't come on for it and I get no sound at all. I'll try to do the hook tests later if I can get to it.
SamuriHL is offline   Reply With Quote
Old 5th November 2009, 15:30   #9018  |  Link
THX-UltraII
Registered User
 
Join Date: Aug 2008
Location: the Netherlands
Posts: 851
CyberlinkUSA (Tom) just announced that PDVD9 will be updated later this month by a patch that give bitstream support for the 5xxx-cards.

So I was thinking: ''If Cyberlink can do it, why would others can't?''. Or is it a matter of a 'secret' that ATI only provided to Cyberlink?
THX-UltraII is offline   Reply With Quote
Old 5th November 2009, 16:02   #9019  |  Link
Skinleech
A.K.A Mangoat
 
Join Date: Nov 2002
Posts: 203
Thanks albain.

I'll try the new hook tool when I have time - hopefully later on today and see how I get on. Though I expect I will still encounter issues unprotecting audiodg. Worth a try however.

@ SamuriHL, are you using your Xonar for these tests at all, or is it just your ATI card?
Skinleech is offline   Reply With Quote
Old 5th November 2009, 16:09   #9020  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
This won't work on the Xonar. The hook tool is made for that, but, the tryouts are made for the ATI card. I'll get to the hook tool later. I just have a lot of work to get through today. (and have been for the past 2 weeks, unfortunately)
SamuriHL is offline   Reply With Quote
Reply

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

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


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