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 10th June 2012, 17:39   #1381  |  Link
RBG
Registered User
 
Join Date: Oct 2011
Posts: 108
egur
I know that here it will be offtopic, but can you answer my question regarding QS transcoding. What conditions should be met in order to make QS encoder work? I am asking because no matter what I try I can't make it work in MediaCoder, it always returns error 14. Have you ever tried to QS transcoding in MediaCoder on a hybrid setup with fake vga display?
RBG is offline   Reply With Quote
Old 10th June 2012, 18:34   #1382  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
Quote:
Originally Posted by RBG View Post
egur
I know that here it will be offtopic, but can you answer my question regarding QS transcoding. What conditions should be met in order to make QS encoder work? I am asking because no matter what I try I can't make it work in MediaCoder, it always returns error 14. Have you ever tried to QS transcoding in MediaCoder on a hybrid setup with fake vga display?
I'm not familiar with MediaCoder.
QS transcoding (HW decoder + encoder) needs an i3 class CPU at a minimum. Fake VGA trick should work.
Which part returns -14, my code? Which function?

BTW, -14 from my code means a bad setup for the decoder or VPP (MFX_ERR_INCOMPATIBLE_VIDEO_PARAM), probably my bug, please specify your setup so I can reproduce.
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.

Last edited by egur; 10th June 2012 at 18:37.
egur is offline   Reply With Quote
Old 10th June 2012, 19:12   #1383  |  Link
RBG
Registered User
 
Join Date: Oct 2011
Posts: 108
egur
Quote:
Originally Posted by egur View Post
Which part returns -14, my code? Which function?
BTW, -14 from my code means a bad setup for the decoder or VPP (MFX_ERR_INCOMPATIBLE_VIDEO_PARAM), probably my bug, please specify your setup so I can reproduce.
It's an internal MediaCoder error code, sorry if confused you. My current setup is i7 2600, h67 chipset, 8.15.10.2696 driver from intel's site, Windows 7 x64, fake vga display. Can you please try MediaCoder QS transcoding on your system, I just want to understand what I am doing wrong, or maybe there is something wrong in Mediacoder itself.
RBG is offline   Reply With Quote
Old 10th June 2012, 19:58   #1384  |  Link
aufkrawall
Registered User
 
Join Date: Dec 2011
Posts: 1,812
Maybe it's a MediaCoder/that OS QS encoder bug.
It doesn't work for me with multimonitor trick either but TMPGEnc and DVDfab do.
aufkrawall is offline   Reply With Quote
Old 10th June 2012, 20:58   #1385  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
MediaCoder works fine when the iGPU is connected to main screen but fails otherwise.
This is a bug in the encoder initialization code. A bug that's very easy to fix BTW.

If someone knows the author I can help fix this in 5 minutes.
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.

Last edited by egur; 10th June 2012 at 21:01.
egur is offline   Reply With Quote
Old 10th June 2012, 21:30   #1386  |  Link
aufkrawall
Registered User
 
Join Date: Dec 2011
Posts: 1,812
Maybe he can be contacted at the MediaCoder forums?
http://forum.mediacoderhq.com/
aufkrawall is offline   Reply With Quote
Old 10th June 2012, 21:39   #1387  |  Link
RBG
Registered User
 
Join Date: Oct 2011
Posts: 108
Quote:
Originally Posted by egur View Post
If someone knows the author I can help fix this in 5 minutes.
It would be great if you could help with a fix for this bug. I don't know mediacoder' s developer in person, either I don't know his email, but I found some info about him, his name is Stanley Huang, his twitter account, mediacoder bug report forum.
RBG is offline   Reply With Quote
Old 11th June 2012, 08:29   #1388  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
Does anyone have an account in MediaCodec's forum? I already monitor too many forums as it is...
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.
egur is offline   Reply With Quote
Old 11th June 2012, 11:19   #1389  |  Link
AnonCrow
Registered User
 
Join Date: Aug 2009
Location: 61.45° , 23.86°
Posts: 120
Quote:
Originally Posted by egur View Post
Does anyone have an account in MediaCodec's forum? I already monitor too many forums as it is...
PMd him in the mediacoder forums pointing to post #1385 here.
(he does have an account here on doom9 as well, but hasn't logged in since Jan 2011)

(( wonder if http://forum.mediacoderhq.com/viewto...t=11994#p35686 had been reading this thread or not ))
AnonCrow is offline   Reply With Quote
Old 11th June 2012, 11:25   #1390  |  Link
aufkrawall
Registered User
 
Join Date: Dec 2011
Posts: 1,812
I got an account there.
aufkrawall is offline   Reply With Quote
Old 11th June 2012, 11:28   #1391  |  Link
RBG
Registered User
 
Join Date: Oct 2011
Posts: 108
Quote:
Originally Posted by egur View Post
Does anyone have an account in MediaCodec's forum? I already monitor too many forums as it is...
O.K., I have registered an account on MediaCoder's forum. I can post a bug report there and send you a reply here, but I don't know what exactly to write.
RBG is offline   Reply With Quote
Old 11th June 2012, 12:41   #1392  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
Quote:
Originally Posted by RBG View Post
O.K., I have registered an account on MediaCoder's forum. I can post a bug report there and send you a reply here, but I don't know what exactly to write.
The initialization problem, which I also had BTW, is solved by initializing the MSDK session using MFX_IMPL_AUTO_ANY. It seems like a documentation or implementation bug.

Change:
Code:
sts = m_mfxSession.Init(MFX_IMPL_HARDWARE_ANY, &version);
To:
Code:
sts = m_mfxSession.Init(MFX_IMPL_AUTO_ANY, &version);
if (sts == MFX_ERR_NONE) // success
{
    m_mfxSession.QueryIMPL(&m_mfxImpl); // any value other than MFX_IMPL_SOFTWARE means HW accleration
    m_mfxSession.QueryVersion(&m_ApiVersion);
    m_bHwAcceleration = m_mfxImpl != MFX_IMPL_SOFTWARE; // can check if SW is acceptable or not
    sts =  (MFX_IMPL_SOFTWARE != m_mfxImpl) ? MFX_ERR_NONE : MFX_ERR_UNSUPPORTED;
}

return sts;
Note that Virtu might not abstract the driver interface for the encoder (this is not DXVA). If this is the case, the code will fail later on and not in the initialization.

This is assuming that MediaCodec used the sample encoder as is.

Edit
If the MediaCodec author or another user wants to continue this discussion, please open a new thread and send me the link.
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.

Last edited by egur; 11th June 2012 at 12:43.
egur is offline   Reply With Quote
Old 11th June 2012, 18:27   #1393  |  Link
RBG
Registered User
 
Join Date: Oct 2011
Posts: 108
egur
I posted a bug report on MediaCoder forum. MediaCoder QS implementation discussion

Please check for MediaCoder's developer reply.

Last edited by RBG; 11th June 2012 at 20:34.
RBG is offline   Reply With Quote
Old 12th June 2012, 07:28   #1394  |  Link
mecedo
Registered User
 
Join Date: Jun 2011
Posts: 26
I have two samples which makes problem during playback: http://netload.in/dateiRtEF2R4qzi/In...amples.zip.htm. Framerate indicator shows 2x bigger framerate then real framerate and there's horrible stuttering during playback. I have to disable deinterlacing on QuickSync and use software deinterlacing from FFDShow, then movies play perfectly.
mecedo is offline   Reply With Quote
Old 13th June 2012, 09:08   #1395  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
Quote:
Originally Posted by mecedo View Post
I have two samples which makes problem during playback: http://netload.in/dateiRtEF2R4qzi/In...amples.zip.htm. Framerate indicator shows 2x bigger framerate then real framerate and there's horrible stuttering during playback. I have to disable deinterlacing on QuickSync and use software deinterlacing from FFDShow, then movies play perfectly.
I can't download the file, after waiting forever it says "not found". please post it elsewhere.
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.
egur is offline   Reply With Quote
Old 13th June 2012, 09:26   #1396  |  Link
wanezhiling
Registered User
 
Join Date: Apr 2011
Posts: 1,184
The title of the thread "Intel SandyBridge hardware accelerated FFDShow decoder (H264/VC1/MPEG2)" should be changed to Intel SNB & IVB hw ffdshow decoder.
wanezhiling is offline   Reply With Quote
Old 13th June 2012, 09:35   #1397  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
Quote:
Originally Posted by wanezhiling View Post
The title of the thread "Intel SandyBridge hardware accelerated FFDShow decoder (H264/VC1/MPEG2)" should be changed to Intel SNB & IVB hw ffdshow decoder.
Only to be changed later to: Intel SNB, IVB and HSW hw ffdshow decoder.
I'd change the name but I don't think that's possible...
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.
egur is offline   Reply With Quote
Old 13th June 2012, 09:47   #1398  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,815
Quote:
I'd change the name but I don't think that's possible...
just double click next to your title from here
Atak_Snajpera is offline   Reply With Quote
Old 13th June 2012, 10:20   #1399  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
Quote:
Originally Posted by Atak_Snajpera View Post
just double click next to your title from here
done, thanks!
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.
egur is offline   Reply With Quote
Old 13th June 2012, 11:02   #1400  |  Link
mecedo
Registered User
 
Join Date: Jun 2011
Posts: 26
Quote:
Originally Posted by egur View Post
I can't download the file, after waiting forever it says "not found". please post it elsewhere.
http://www.sendspace.com/file/whgabs
mecedo is offline   Reply With Quote
Reply

Tags
ffdshow, h264, intel, mpeg2, quicksync, vc1, zoom player


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 09:25.


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