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 29th December 2009, 21:27   #9981  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by MatMaul View Post
Yes, and I think the main reason is that DXVA2 seems to support the retrieving of picture from GPU memory to the main memory (so no need for a specific renderer) which is needed to work with VLC because it doesn't support any standard directshow renderer.
Are you sure about that ?

Because I read DXVA 2 docs a while ago and they didn't mention this possibility. Also the DXVA (1 or 2) APIs take an encoded picture and returns nothing

If it was possible to grab a decoded picture back from the GPU memory (which I doubt), then ffdshow internal filters could work

EDIT : the patch you mentioned is from VLC team, not ffmpeg. The benefit I see is that APIs are finally all included into ffmpeg but there are still some stuff that have to remain into directshow layer (so ffdhow code) such as the DXVA allocator...
But afterwards it is not very different from MPC patch, maybe cleaner, I don't know yet

Last edited by albain; 29th December 2009 at 21:34.
albain is offline   Reply With Quote
Old 29th December 2009, 21:50   #9982  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Quote:
Originally Posted by albain View Post
Are you sure about that ?

Because I read DXVA 2 docs a while ago and they didn't mention this possibility. Also the DXVA (1 or 2) APIs take an encoded picture and returns nothing

If it was possible to grab a decoded picture back from the GPU memory (which I doubt), then ffdshow internal filters could work

EDIT : the patch you mentioned is from VLC team, not ffmpeg. The benefit I see is that APIs are finally all included into ffmpeg but there are still some stuff that have to remain into directshow layer (so ffdhow code) such as the DXVA allocator...
But afterwards it is not very different from MPC patch, maybe cleaner, I don't know yet
thats the whole idea with dxva2, completely independent, you can renderer it to a dx surface and then take that image into the ffdshow postprocessing chain
__________________
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 29th December 2009, 22:35   #9983  |  Link
MatMaul
Registered User
 
Join Date: Apr 2004
Posts: 402
Quote:
Originally Posted by albain View Post
EDIT : the patch you mentioned is from VLC team, not ffmpeg. The benefit I see is that APIs are finally all included into ffmpeg but there are still some stuff that have to remain into directshow layer (so ffdhow code) such as the DXVA allocator...
But afterwards it is not very different from MPC patch, maybe cleaner, I don't know yet
I think it is still a lot cleaner since you can directly use the public ffmpeg API and not some exported functions.
MatMaul is offline   Reply With Quote
Old 29th December 2009, 23:27   #9984  |  Link
NiFa
Audio & video enthusiast
 
Join Date: Nov 2009
Location: Finland
Posts: 74
Is there any plans to add DTS encoding support to ffdshow?
Sorry if this was asked earlier.
NiFa is offline   Reply With Quote
Old 30th December 2009, 07:15   #9985  |  Link
73ChargerFan
Registered User
 
73ChargerFan's Avatar
 
Join Date: Dec 2006
Posts: 523
No freeware dts encoder has been written, they are all commercial.
73ChargerFan is offline   Reply With Quote
Old 30th December 2009, 18:12   #9986  |  Link
NiFa
Audio & video enthusiast
 
Join Date: Nov 2009
Location: Finland
Posts: 74
How come, that no one have written freeware or open source dts encoder? I so hope that someone would do it, but I can't do anything 'bout it if no one is willing to do it.
NiFa is offline   Reply With Quote
Old 30th December 2009, 18:15   #9987  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
The specs aren't available afaik.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 30th December 2009, 18:17   #9988  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Quote:
Originally Posted by NiFa View Post
How come, that no one have written freeware or open source dts encoder? I so hope that someone would do it, but I can't do anything 'bout it if no one is willing to do it.
the company that owns DTS is very willing and able to sue anyone who dares to try. But the main reason is that they keep all their technoligy secret, reverse engineering from nothing is very difficult.
__________________
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 30th December 2009, 18:18   #9989  |  Link
NiFa
Audio & video enthusiast
 
Join Date: Nov 2009
Location: Finland
Posts: 74
Ok, now I understand, thanks to making this clear.
NiFa is offline   Reply With Quote
Old 30th December 2009, 19:07   #9990  |  Link
markanini
Registered User
 
Join Date: Apr 2006
Posts: 299
I agree Support for <Vista is more important than WinXP. It's an outdated OS with some issues in media support compared to later Windows versions. Maybe detecting Windows version and applying DXVA1/2 accordingly would be feasable?
markanini is offline   Reply With Quote
Old 30th December 2009, 20:19   #9991  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
Isn't AC3 with the same bitrate as DTS gives twice better quality?
Keiyakusha is offline   Reply With Quote
Old 30th December 2009, 20:21   #9992  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
AC3 is limited to 640kbps. DTS can do up to 1.5mbps.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 30th December 2009, 20:29   #9993  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
Quote:
Originally Posted by SamuriHL View Post
AC3 is limited to 640kbps. DTS can do up to 1.5mbps.
Yes, but AC3 640 kbps gives the same quality as DTS 1.5mbps.
Can anyone confirm or deny?
Keiyakusha is offline   Reply With Quote
Old 30th December 2009, 20:31   #9994  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Quote:
Originally Posted by Keiyakusha View Post
Yes, but AC3 640 kbps gives the same quality as DTS 1.5mbps.
Can anyone confirm or deny?
That's not my feeling on it, no. Back when I was doing DVD regularly, DTS always sounded much better for a variety of reasons. One of which is the higher bitrate, but, there are others, too.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 30th December 2009, 20:32   #9995  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
But higher bitrate doesn't mean higher quality if we talking about different formats
Keiyakusha is offline   Reply With Quote
Old 30th December 2009, 20:47   #9996  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
http://www.audioholics.com/education...of-the-formats

I don't want to take this thread further off topic, but, that should help.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 30th December 2009, 21:06   #9997  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
The tooltip for Auto under Input Levels in ffdshow's video config is a bit misleading. It doesn't say whether ffdshow will disregard the flag or not.
Snowknight26 is offline   Reply With Quote
Old 30th December 2009, 21:12   #9998  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
DTS is should be better, but i doubt it really matters for realtime encoding
__________________
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 30th December 2009, 21:32   #9999  |  Link
_xxl
ffdshow user
 
_xxl's Avatar
 
Join Date: Oct 2005
Location: Romania
Posts: 818
There is a soc project for dca encoding here:
svn://svn.mplayerhq.hu/soc/dcaenc
This source is based on code from here:
http://roundup.ffmpeg.org/roundup/ff...0080207.tar.gz
_xxl is offline   Reply With Quote
Old 30th December 2009, 21:33   #10000  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Quote:
Originally Posted by tetsuo55 View Post
DTS is should be better, but i doubt it really matters for realtime encoding
I would completely agree with that.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
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 14:29.


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