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 > MPEG-4 AVC / H.264
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd December 2009, 10:25   #221  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Quote:
Originally Posted by schweinsz View Post
Ok, I download some samples at http://www.cccp-project.net/beta/test_files/ and get the crash, I will fix it recently.
Thanks, maybe whatever is causing it is causing the seek delays too.

Quote:
Originally Posted by adam777 View Post
First of all, great work, schweinsz, I've used DiAVC for the last 2 weeks or so, and am very happy with it.
One problem, that was already mentioned, I believe, is the decoder doesn't seem to work with EVR custom.
Trying the above combination results in a black screen with only audio playing.
As I normally use madVR, it's not such a big problem, but would probably need to be fixed in future releases.
Thank again for your work, Adam.
It works for me with EVR CP on Windows 7 x64. Are you using Vista or 7 and have the latest directx runtime installed?


I'm having problems setting DiAVC as preferred decoder on XP x86. It's a Q6600 with ffdshow the only other avc decoder installed and haali. If I disable ffdshow and open an avc m2ts/ts/mkv file in graphstudio a video decoder can't be found. However if I make a graph with haali+diavc it works for avisynth but it refuses to connect to video renderer, I can also set it to prefer in MPC-HC and it works. I've tried setting as preferred decoder in diavcsettings and changing to highest merit with graphstudio. Is anyone else experiencing this with XP or Vista? Any idea on how to set it to preferred?

With windows 7 its working fine.

Last edited by turbojet; 3rd December 2009 at 10:55.
turbojet is offline   Reply With Quote
Old 3rd December 2009, 20:58   #222  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by turbojet View Post
Thanks, maybe whatever is causing it is causing the seek delays too.



It works for me with EVR CP on Windows 7 x64. Are you using Vista or 7 and have the latest directx runtime installed?


I'm having problems setting DiAVC as preferred decoder on XP x86. It's a Q6600 with ffdshow the only other avc decoder installed and haali. If I disable ffdshow and open an avc m2ts/ts/mkv file in graphstudio a video decoder can't be found. However if I make a graph with haali+diavc it works for avisynth but it refuses to connect to video renderer, I can also set it to prefer in MPC-HC and it works. I've tried setting as preferred decoder in diavcsettings and changing to highest merit with graphstudio. Is anyone else experiencing this with XP or Vista? Any idea on how to set it to preferred?

With windows 7 its working fine.
The current DiAVCSetting.exe works as follows: If the current default decoder is DiAVC, the DiAVCSetting.exe set a highest merit for DiAVC that is greater than 0xff800000.
schweinsz is offline   Reply With Quote
Old 3rd December 2009, 23:31   #223  |  Link
adam777
Registered User
 
Join Date: Dec 2003
Posts: 179
Quote:
Originally Posted by turbojet View Post
It works for me with EVR CP on Windows 7 x64. Are you using Vista or 7 and have the latest directx runtime installed?
Weird, now it seems to be working part of the time.
At times I get black screen, at times the picture freeze and at times everything is normal (all of the above usually alternates when seeking).
I'm on Windows 7 x64 with everything up to date.
adam777 is offline   Reply With Quote
Old 4th December 2009, 01:52   #224  |  Link
mandarinka
Registered User
 
mandarinka's Avatar
 
Join Date: Jan 2007
Posts: 729
Resolution switching with linked MKV segments (files).

I recently reported a problem with video corruption using coreavc and attached two samples in this post: http://forum.doom9.org/showpost.php?...postcount=5265
I decided I should check your decoder too, as it clearly shows some promise.

The good news is, DiAVC doesn't show the described video corruption and links the mkv segments fine if video width changes...

... the bad news: If height changes, the player will crash. That means that it crashes with the two samples I provided in the linked post. Your decoder however works with other linked videos I have (but didn't upload) that have constant height but changing width.

I don't know whether it's a design limitation or not, but in case it's just something simple to fix, I decided to report it. Also, best luck with the decoder



PS: The videos decode fine individualy, the issues only happen when linking is performed - so for testing, haali splitter is required.
mandarinka is offline   Reply With Quote
Old 4th December 2009, 20:35   #225  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by mandarinka View Post
I recently reported a problem with video corruption using coreavc and attached two samples in this post: http://forum.doom9.org/showpost.php?...postcount=5265
I decided I should check your decoder too, as it clearly shows some promise.

The good news is, DiAVC doesn't show the described video corruption and links the mkv segments fine if video width changes...

... the bad news: If height changes, the player will crash. That means that it crashes with the two samples I provided in the linked post. Your decoder however works with other linked videos I have (but didn't upload) that have constant height but changing width.

I don't know whether it's a design limitation or not, but in case it's just something simple to fix, I decided to report it. Also, best luck with the decoder



PS: The videos decode fine individualy, the issues only happen when linking is performed - so for testing, haali splitter is required.
I am sorry that I can't connect to the mediafire allrough I noticed your report before. I don't know what is the problem with my network. Could you upload them to http://www.multiupload.com/ or www.megaupload.com?
schweinsz is offline   Reply With Quote
Old 4th December 2009, 22:04   #226  |  Link
Disabled
Registered User
 
Join Date: Aug 2004
Posts: 211
Here you are:
http://www.multiupload.com/6O2ESAXATD
http://www.multiupload.com/NOBIIIVN3Z

P.s.: Thanks for mentioning multiupload, it seems pretty good.

*edit* I missed his edit in that thread:
Quote:
[Edit:] PPS: I tried this version of Diavc; it doesn't show the corruptions I was experiencing with coreavc and links fine if width of video changes, while for some reason crashing on height change (so not a complete pass).

Last edited by Disabled; 4th December 2009 at 22:47.
Disabled is offline   Reply With Quote
Old 9th December 2009, 07:46   #227  |  Link
Stephen R. Savage
Registered User
 
Stephen R. Savage's Avatar
 
Join Date: Nov 2009
Posts: 327
Any news on the beta version? Also, I'm pretty sure I'll be waiting a long time for CoreCodec (zzz) to implement weighted prediction support, so I'd like to use DiAVC for most of my decoding. One of the first problems I encountered was that seeking seems to only succeed half the time. The other half, the audio keeps going, but the video freezes. Repeating the seek attempt multiple times eventually succeeds.

Edit: Another problem. When opening a new video while a video is already playing in MPC-HC, DiAVC starts with a blank frame and a seek must be performed before it shows video.

Edit2: I've already complained about it before, but there is still some noticeable initialisation delay.

Edit3: It also seems to me that, although DiAVC achieves a higher framerate and lower CPU usage, playback is choppier than with CoreAVC. When under load, DiAVC seems to drop frames more often than other Core.

Hopefully these problems can be fixed. Keep up the good work.

(Note: I'm using EVR Custom renderer on Intel GMA 3100.)

Last edited by Stephen R. Savage; 9th December 2009 at 08:43.
Stephen R. Savage is offline   Reply With Quote
Old 9th December 2009, 10:46   #228  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by Stephen R. Savage View Post
Any news on the beta version? Also, I'm pretty sure I'll be waiting a long time for CoreCodec (zzz) to implement weighted prediction support, so I'd like to use DiAVC for most of my decoding. One of the first problems I encountered was that seeking seems to only succeed half the time. The other half, the audio keeps going, but the video freezes. Repeating the seek attempt multiple times eventually succeeds.
I have fixed the problem and I'll release a bug-gixed alpha version recently.

Quote:
Originally Posted by Stephen R. Savage View Post
Edit: Another problem. When opening a new video while a video is already playing in MPC-HC, DiAVC starts with a blank frame and a seek must be performed before it shows video.

Edit2: I've already complained about it before, but there is still some noticeable initialisation delay.

Edit3: It also seems to me that, although DiAVC achieves a higher framerate and lower CPU usage, playback is choppier than with CoreAVC. When under load, DiAVC seems to drop frames more often than other Core.

Hopefully these problems can be fixed. Keep up the good work.

(Note: I'm using EVR Custom renderer on Intel GMA 3100.)
Which player do you use? I will try to fix these problems.
I engaged in fixing bugs recently and the beta version is delayed for many days, the beta version will be released about 12 days later. I am not familar with the directshow and fixing bugs in filter is a hard work for me. It took up more times than I expected.

"Playback is choppier" is because that the coreavc can drop un-referenced frames adaptively while the DiAVC hasn't the feature when the bitstream is hard, I will add the feature in future. As the beta version is faster than alpha version, the problem is easier.

Last edited by schweinsz; 9th December 2009 at 10:52.
schweinsz is offline   Reply With Quote
Old 9th December 2009, 12:34   #229  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Quote:
Originally Posted by schweinsz View Post
"Playback is choppier" is because that the coreavc can drop un-referenced frames adaptively
No it doesn't...
squid_80 is offline   Reply With Quote
Old 9th December 2009, 13:19   #230  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by squid_80 View Post
No it doesn't...
To the best of my knowledge, the renderer chop is due to the late-arrived frames. The current disign of the DiAVC always copy decoded frames to renderers without considering the current time. I believe the problem of chop can be reduced by faster decoder (beta version), dropping non-reference frames and lower playback rate. Is there some other solutions of the problem?
schweinsz is offline   Reply With Quote
Old 9th December 2009, 16:56   #231  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
I don't know about a solution, I'm just pointing out that the CoreAVC filter doesn't ever drop any frames.
squid_80 is offline   Reply With Quote
Old 9th December 2009, 17:03   #232  |  Link
Stephen R. Savage
Registered User
 
Stephen R. Savage's Avatar
 
Join Date: Nov 2009
Posts: 327
@schweinsz: I use MPC-HC v1.3 release. Thank you for looking into these issues.

And I sympathise. From what it looks like, all the bugs so far are in the DirectShow part and not the actual decoder.
Stephen R. Savage is offline   Reply With Quote
Old 9th December 2009, 17:24   #233  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by squid_80 View Post
I don't know about a solution, I'm just pointing out that the CoreAVC filter doesn't ever drop any frames.
The DiAVC achieve 22fps for a certain bitstream of 30mbps, PAFF and 24fps on my laptop while the coreavc achieve 19fps, but I found the DiAVC is choppier, there is no possibility that coreavc never drop frames.
schweinsz is offline   Reply With Quote
Old 9th December 2009, 17:26   #234  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by Stephen R. Savage View Post
@schweinsz: I use MPC-HC v1.3 release. Thank you for looking into these issues.

And I sympathise. From what it looks like, all the bugs so far are in the DirectShow part and not the actual decoder.
I have fixed most among them, I will release a new alpha version tomorrow after I fix another bug.
schweinsz is offline   Reply With Quote
Old 9th December 2009, 21:48   #235  |  Link
tmbt
Registered User
 
Join Date: Oct 2009
Posts: 11
Great work schweinsz ... im really impressed how good your codec works and actually i didn't notice any tearing or slow reproduction.


Thanks !!!!
tmbt is offline   Reply With Quote
Old 10th December 2009, 03:58   #236  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Quote:
Originally Posted by schweinsz View Post
The DiAVC achieve 22fps for a certain bitstream of 30mbps, PAFF and 24fps on my laptop while the coreavc achieve 19fps, but I found the DiAVC is choppier, there is no possibility that coreavc never drop frames.
So how does DiAVC appear choppy if it can't drop frames? Shouldn't it just play slower than normal?
squid_80 is offline   Reply With Quote
Old 10th December 2009, 06:42   #237  |  Link
Stephen R. Savage
Registered User
 
Stephen R. Savage's Avatar
 
Join Date: Nov 2009
Posts: 327
Some questions about (very) future development of DiAVC:

1) Is support for 4:2:2 or 4:4:4 subsampling, RGB coding, and higher bit depths (10-bit, 14-bit) planned?
2) Will that one bug that causes "maximum variance [-2,2]" in
"bitstream that hardly exist in the world" be fixed?
3) Can conversion to RGB be implemented in the DirectShow decoder? I ask this because only the decoder in DirectShow can know the VUI data and apply the correct color matrices (and color primaries, but that is less important). The same question goes for fullrange content.
4) Does DiAVC set the interlace flag on pictures with field coding? I have no interlaced content so I can not check this.
Stephen R. Savage is offline   Reply With Quote
Old 10th December 2009, 10:12   #238  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by squid_80 View Post
So how does DiAVC appear choppy if it can't drop frames? Shouldn't it just play slower than normal?
The DiAVC always try to copy all frames to the renderer. If the currrent bitstream is hard, when a piece of the bitstream contain high bitrate content, there is some frames arrived lately, this results a sudden delay of the renderer which is choppy.
A hard bitstream is not a uniform-hard bitstream, it is only hard on some piece of it.
schweinsz is offline   Reply With Quote
Old 10th December 2009, 10:18   #239  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by Stephen R. Savage View Post
Some questions about (very) future development of DiAVC:

1) Is support for 4:2:2 or 4:4:4 subsampling, RGB coding, and higher bit depths (10-bit, 14-bit) planned?
This is not in the current plan, the current plans are beta-version, error concealment, 64-bit, MC-based super-resolution and lossless sequently. If there is a big need of the High422, High444, I will work on it.

Quote:
Originally Posted by Stephen R. Savage View Post
2) Will that one bug that causes "maximum variance [-2,2]" in
"bitstream that hardly exist in the world" be fixed?
I will fix it after beta version.


Quote:
Originally Posted by Stephen R. Savage View Post
3) Can conversion to RGB be implemented in the DirectShow decoder? I ask this because only the decoder in DirectShow can know the VUI data and apply the correct color matrices (and color primaries, but that is less important). The same question goes for fullrange content.
I will add the RGB support after the first realease of the beta version.

Quote:
Originally Posted by Stephen R. Savage View Post
4) Does DiAVC set the interlace flag on pictures with field coding? I have no interlaced content so I can not check this.
The current version always set Deinterlace_Bob for bitstreams that use interlace tools.
schweinsz is offline   Reply With Quote
Old 10th December 2009, 11:07   #240  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Quote:
Originally Posted by schweinsz View Post
The DiAVC always try to copy all frames to the renderer. If the currrent bitstream is hard, when a piece of the bitstream contain high bitrate content, there is some frames arrived lately, this results a sudden delay of the renderer which is choppy.
...And this is exactly what CoreAVC does. All frames from the incoming bitstream are delivered to the renderer.
squid_80 is offline   Reply With Quote
Reply

Tags
avc, diavc, fastest decoder, h.264, software


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:39.


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