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 3rd January 2012, 08:23   #14501  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
Strangely, code compiled on my home system didn't compile in other systems. A function refused to inline causing a warning that turned into an error.
Fixed at 4222. No ffdshow code change.
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.
egur is offline   Reply With Quote
Old 3rd January 2012, 08:26   #14502  |  Link
betaking
Fantasy Codecs writer
 
betaking's Avatar
 
Join Date: Nov 2007
Location: Yang Zhou,Jiang Su,China
Posts: 392
Quote:
Originally Posted by egur View Post
Strangely, code compiled on my home system didn't compile in other systems. A function refused to inline causing a warning that turned into an error.
Fixed at 4222. No ffdshow code change.
Thanks!
betaking is offline   Reply With Quote
Old 3rd January 2012, 08:29   #14503  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
Quote:
Originally Posted by ryrynz View Post
Has anyone benchmarked Quick Sync vs LAV CUVID?
Yes, look here:
http://forum.doom9.org/showthread.php?t=163110

I also ran the 10 clips on my own PC (i7-2600) with a newer version of ffdhsow-quicksync:
http://forum.doom9.org/showthread.ph...92#post1548192
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.
egur is offline   Reply With Quote
Old 3rd January 2012, 09:17   #14504  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,646
Very nice, thanks!
ryrynz is offline   Reply With Quote
Old 3rd January 2012, 10:01   #14505  |  Link
Dstruct
Registered User
 
Join Date: Jan 2011
Posts: 102
Quote:
Originally Posted by egur View Post
Should be fixed at 4217. Added check for SSE4.1 as well as existance of either driver or Media SDK SW DLL (beta4) for devs.
Confirmed. Thanks!
Dstruct is offline   Reply With Quote
Old 4th January 2012, 11:46   #14506  |  Link
Dstruct
Registered User
 
Join Date: Jan 2011
Posts: 102
Quote:
Originally Posted by egur View Post
Should be fixed at 4217. Added check for SSE4.1 as well as existance of either driver or Media SDK SW DLL (beta4) for devs.
Still a bit weird on AMD CPU (rev.4218):

AMD CPU (without SSE2):
QuickSync DLL: not found (ffdshow -> About page -> Version details)


Intel CPU (without Intel GPU):
QuickSync DLL: Version properly shown (ffdshow -> About page -> Version details)



Why is the DLL not "found" on AMD system? I know it doesn't work on AMD but the DLL itself should be listed under About page -> Version details!

Last edited by Dstruct; 4th January 2012 at 11:48.
Dstruct is offline   Reply With Quote
Old 4th January 2012, 11:48   #14507  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
Maybe the loading of the DLL already fails due to CPU instruction restrictions, so executing the version request function fails too?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 4th January 2012, 22:12   #14508  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
Quote:
Originally Posted by Dstruct View Post
Still a bit weird on AMD CPU (rev.4218):

AMD CPU (without SSE2):
QuickSync DLL: not found (ffdshow -> About page -> Version details)


Intel CPU (without Intel GPU):
QuickSync DLL: Version properly shown (ffdshow -> About page -> Version details)



Why is the DLL not "found" on AMD system? I know it doesn't work on AMD but the DLL itself should be listed under About page -> Version details!
Don't know. I don't have AMD HW to check. Well, it's not relevant anyway.
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.
egur is offline   Reply With Quote
Old 5th January 2012, 03:03   #14509  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Quote:
Originally Posted by Dstruct View Post
Why is the DLL not "found" on AMD system? I know it doesn't work on AMD


but the DLL itself should be listed under About page -> Version details!
I second that. On my very-old Pentium 4, ffdshow r4210 still is "unable to find" xvidcore.dll (even though this seems to be loaded anyway whenever requested)
Midzuki is offline   Reply With Quote
Old 5th January 2012, 15:54   #14510  |  Link
Dstruct
Registered User
 
Join Date: Jan 2011
Posts: 102
Quote:
Originally Posted by egur View Post
Don't know. I don't have AMD HW to check. Well, it's not relevant anyway.
Ok, no big problem!
Dstruct is offline   Reply With Quote
Old 5th January 2012, 22:03   #14511  |  Link
fano
Registered User
 
Join Date: Feb 2006
Posts: 41
My system is this:
http://www.asrock.com/nettop/overvie...Specifications

and I'm having big problems to use my new AVR Sony STR-DN1020:
http://www.sony.co.uk/product/hcs-ho...technicalspecs
  1. EAC3, Dolby True HD and DTS-MA don't bitstreaming... ffdshow seems to think my AVR is SPDIF connected? Sometime it decodes a multichannel LPCM track! But if it0s set to unmolest the audio?
  2. Intel QuickSync should work, right? It's a system based on the Intel HM55 platform, it MUST support it! I can select QuickSync but ffdshow likes to use libavacod instead... it's unmodificable

In particular see this MediaInfo report file:

Code:
General
ID                               : 0 (0x0)
Complete name                    : D:\Torrenti\Fantasia.1940.BD.RU\BDMV\STREAM\00125.m2ts
Format                           : BDAV
Format/Info                      : Blu-ray Video
File size                        : 35.1 GiB
Duration                         : 2h 4mn
Overall bit rate mode            : Variable
Overall bit rate                 : 40.3 Mbps
Maximum Overall bit rate         : 48.0 Mbps

Video
ID                               : 4113 (0x1011)
Menu ID                          : 1 (0x1)
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 4 frames
Format settings, GOP             : M=3, N=12
Codec ID                         : 27
Duration                         : 2h 4mn
Bit rate mode                    : Variable
Bit rate                         : 27.2 Mbps
Maximum bit rate                 : 27.5 Mbps
Width                            : 1 920 pixels
Height                           : 1 080 pixels
Display aspect ratio             : 16:9
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.546
Stream size                      : 23.6 GiB (67%)
Color primaries                  : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics         : BT.709-5, BT.1361
Matrix coefficients              : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio #1
ID                               : 4352 (0x1100)
Menu ID                          : 1 (0x1)
Format                           : DTS
Format/Info                      : Digital Theater Systems
Format profile                   : MA / Core
Muxing mode                      : Stream extension
Codec ID                         : 134
Duration                         : 2h 4mn
Bit rate mode                    : Variable
Bit rate                         : 4 759 Kbps / 1 510 Kbps
Channel(s)                       : 8 channels / 6 channels
Channel positions                : Front: L C R, Side: L R, Back: L R, LFE / Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 24 bits
Compression mode                 : Lossless / Lossy

Audio #2
ID                               : 4353 (0x1101)
Menu ID                          : 1 (0x1)
Format                           : DTS
Format/Info                      : Digital Theater Systems
Format profile                   : MA / Core
Muxing mode                      : Stream extension
Codec ID                         : 134
Duration                         : 2h 4mn
Bit rate mode                    : Variable
Bit rate                         : 2 722 Kbps / 1 510 Kbps
Channel(s)                       : 8 channels / 6 channels
Channel positions                : Front: L C R, Side: L R, Back: L R, LFE / Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 24 bits
Compression mode                 : Lossless / Lossy

Audio #3
ID                               : 4354 (0x1102)
Menu ID                          : 1 (0x1)
Format                           : DTS
Format/Info                      : Digital Theater Systems
Codec ID                         : 130
Duration                         : 2h 4mn
Bit rate mode                    : Constant
Bit rate                         : 1 510 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 24 bits
Compression mode                 : Lossy
Stream size                      : 1.31 GiB (4%)

There are 6 more AUDIO tracks

Text #1
ID                               : 4609 (0x1201)
Menu ID                          : 1 (0x1)
Format                           : PGS
Codec ID                         : 144
Duration                         : 2h 4mn
Delay relative to video          : 7s 674ms

Text #2
ID                               : 4610 (0x1202)
Menu ID                          : 1 (0x1)
Format                           : PGS
Codec ID                         : 144

Text #3
ID                               : 4615 (0x1207)
Menu ID                          : 1 (0x1)
Format                           : PGS
Codec ID                         : 144

There are 14 more AUDIO tracks :scared: 
The DTS-MA tracks are NOT present in the ffdshow Stream Switcher so it's clear NOW why they are not played
fano is offline   Reply With Quote
Old 7th January 2012, 03:18   #14512  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Is there any way for ffdshow to honor the full range flag in H.264 videos if it's specifically set? I encoded a few videos and specifically set the full range flag but regardless of whether I choose Auto or Standard for the output range, it's still outputting limited range. I'm hoping there's an alternative to selecting Full Range each time those videos are played.

The more I think about it, the more certain I am that the tooltip for Auto is unclear whether the H.264 full range flag is honored or not.
Snowknight26 is offline   Reply With Quote
Old 7th January 2012, 13:38   #14513  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by Snowknight26 View Post
Is there any way for ffdshow to honor the full range flag in H.264 videos if it's specifically set? I encoded a few videos and specifically set the full range flag but regardless of whether I choose Auto or Standard for the output range, it's still outputting limited range. I'm hoping there's an alternative to selecting Full Range each time those videos are played.

The more I think about it, the more certain I am that the tooltip for Auto is unclear whether the H.264 full range flag is honored or not.
ffdshow is supposed to honor the flag if "Auto" is selected as "Input levels". If it is not working, it's a bug. I'll take a look.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 7th January 2012, 15:14   #14514  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
I have a FFDshow feature request
Can ffdshow render subtitles to a secondary pin ?

Like this


If it acted as a pass through filter for the video we could support DXVA this way, which is a big plus. The secondary pin can just output RGBA no need to worry about all the hundreds of different colour spaces. Can be more efficient too since only need to update the subtitle image when the text needs to change, rather than composite it every frame.
dukey is offline   Reply With Quote
Old 8th January 2012, 00:46   #14515  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by dukey View Post
I have a FFDshow feature request
Can ffdshow render subtitles to a secondary pin ?

If it acted as a pass through filter for the video we could support DXVA this way, which is a big plus. The secondary pin can just output RGBA no need to worry about all the hundreds of different colour spaces. Can be more efficient too since only need to update the subtitle image when the text needs to change, rather than composite it every frame.
I have been thinking about it. At least it is a lot of work. It's a long term TODO, which I can't promise implementation.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 8th January 2012, 01:38   #14516  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
I can't see it being a huge amount of work, although I've not really studied the FFDShow source.

I might be able to assist. I am actually a c++ programmer. Specialise in opengl, but I know directshow. Written an opengl renderer in dshow ;p Im guessing you would need a new pin type for pass through, since it would be reading the sample type, for video size but not altering it.
dukey is offline   Reply With Quote
Old 8th January 2012, 03:02   #14517  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by dukey View Post
I can't see it being a huge amount of work, although I've not really studied the FFDShow source.

I might be able to assist. I am actually a c++ programmer. Specialise in opengl, but I know directshow. Written an opengl renderer in dshow ;p Im guessing you would need a new pin type for pass through, since it would be reading the sample type, for video size but not altering it.
Welcome to ffdshow development. Of course it's a good idea to have that feature.
Subtitles rendering is not pass through nor just alpha blending bitmaps. The input pin accepts text or coded bitmap and rasterize/decode them. And finally blend to the video. The output stage may be issued to a video renderer. It is not easy. None the less, you can do it .
I hope you have patience huge enough to deal with the messy existing code.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 8th January 2012, 06:42   #14518  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by Snowknight26 View Post
Is there any way for ffdshow to honor the full range flag in H.264 videos if it's specifically set? I encoded a few videos and specifically set the full range flag but regardless of whether I choose Auto or Standard for the output range, it's still outputting limited range. I'm hoping there's an alternative to selecting Full Range each time those videos are played.

The more I think about it, the more certain I am that the tooltip for Auto is unclear whether the H.264 full range flag is honored or not.
fixed at rev 4230-4231.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 8th January 2012, 07:20   #14519  |  Link
betaking
Fantasy Codecs writer
 
betaking's Avatar
 
Join Date: Nov 2007
Location: Yang Zhou,Jiang Su,China
Posts: 392
rev.4231 compile failed

betaking is offline   Reply With Quote
Old 9th January 2012, 13:40   #14520  |  Link
obieobieobie
Registered User
 
Join Date: Mar 2004
Posts: 182
In rev4225, post processing with automatic quality control enabled is broken at least for XVID content. Works in rev3984.
obieobieobie 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 12:58.


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