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 13th January 2012, 18:37   #14561  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
There is a massive leak of system handles when using ffdshow in combination with Haali renderer.

tested builds:
r4174 = working
r4183 = freeze
r4207 = leak
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 14th January 2012, 02:30   #14562  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by kc7bfi View Post
We are having trouble decoding video from an Axis Q7606 blade H.264 encoder. After running for about an hour the video dramatically degrades. The video appears to "melt". Stopping and restarting the video fixes the problem until it happens again. This problem does not seem to happen with VLC or using the Microsoft decoder. One other thing I notice is that, when using ffdshow, my effective frame rate is around 8fps when the actual frame rate is 20fps. Also, when using the Microsoft decoder (that comes with Windows7) the effective frame rate always matches the expected frame rate. The decoded SDP for the video is as follows.


Any ideas what may be going wrong? Could there be some configuration setting that needs to be changed? Any ideas of how to further debug this issue? Thanks, David
I guess ffdshow calculates wrong timestamps (just a random guess though). If I can get testing environment, I'll take a look.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 14th January 2012, 05:59   #14563  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by clsid View Post
There is a massive leak of system handles when using ffdshow in combination with Haali renderer.

tested builds:
r4174 = working
r4183 = freeze
r4207 = leak
I can see the leaks, but isn't it more related to color space conversion (HQ RGB) rather than Haali renderer?

// EDIT
fixed at rev 4247. Please confirm.
__________________
[ Download ffdshow | Wiki ]

Last edited by haruhiko_yamagata; 14th January 2012 at 08:26.
haruhiko_yamagata is offline   Reply With Quote
Old 14th January 2012, 19:05   #14564  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
Fix confirmed.
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 14th January 2012, 20:42   #14565  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Has there been any thought of moving to Google Code, even if it's solely to get rid of the 2 minute page load time for viewing the change log?
Snowknight26 is offline   Reply With Quote
Old 14th January 2012, 21:15   #14566  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
No.

But you can use this link to quickly see the latest revision:
http://ffdshow-tryout.svn.sourceforg...?view=revision
There is a Next/Previous button to skip through revisions, so you easily check the latest few.
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 14th January 2012, 23:46   #14567  |  Link
kc7bfi
Registered User
 
Join Date: Nov 2010
Location: Chesapeake, VA USA
Posts: 38
Quote:
Originally Posted by haruhiko_yamagata View Post
I guess ffdshow calculates wrong timestamps (just a random guess though). If I can get testing environment, I'll take a look.
Thanks, what we also see is that, when the video "melts" the frame rate reported in the ffdshow info window grows well beyond what the encoder is sending. For example, the encoder is sending 15fps but ffdshow can report frame rates as high as 50fps. Also, the current frame value "bounces" around between zero and and the frame count.

If useful I could post a wireshark of the video stream for when the video is degrading.

Thanks again, David
kc7bfi is offline   Reply With Quote
Old 15th January 2012, 00:16   #14568  |  Link
Reino
Registered User
 
Reino's Avatar
 
Join Date: Nov 2005
Posts: 693
Quote:
Originally Posted by clsid View Post
Quote:
Originally Posted by CoRoNe View Post
I believe it's been reported before, but anyway:
- http://media.nero.com/Standard720x576_1MBit.mp4
AAC Audio part decoding failure with libavcodec. No problem though with libfaad2.
Fixed.
FFDShow has already abandoned libfaad2, but now (since rev3962) MPC-HC has done so too.
Because, with the latest FFDShow and LAV Filters versions, the aac audio stream of this particular video is still incorrectly being decoded here, I was wondering if it could be a WinXP-only issue.
Could everyone on WinXP 32bit see if the audio-track of this video is properly decoded with libavcodec please?
__________________
My hobby website
Reino is offline   Reply With Quote
Old 15th January 2012, 00:22   #14569  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
I can confirm that it works on Win7 at least. However, i don't think that the decoder actually behaves differently on XP vs 7, that would be quite odd. Windows XP however has some issues with float audio, maybe thats the issue, because avcodec decodes to that? Could try turning off float in ffdshow/LAV, and see if that helps?
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 15th January 2012, 00:40   #14570  |  Link
Px
>>^^__^^<<
 
Px's Avatar
 
Join Date: Jun 2005
Posts: 222
Quote:
Originally Posted by CoRoNe View Post
Because, with the latest FFDShow and LAV Filters versions, the aac audio stream of this particular video is still incorrectly being decoded here, I was wondering if it could be a WinXP-only issue.
Could everyone on WinXP 32bit see if the audio-track of this video is properly decoded with libavcodec please?
Is LAV filters necessary to reproduce? Haali+ffdshow is not enough?
Px is offline   Reply With Quote
Old 15th January 2012, 00:52   #14571  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by kc7bfi View Post
Thanks, what we also see is that, when the video "melts" the frame rate reported in the ffdshow info window grows well beyond what the encoder is sending. For example, the encoder is sending 15fps but ffdshow can report frame rates as high as 50fps. Also, the current frame value "bounces" around between zero and and the frame count.

If useful I could post a wireshark of the video stream for when the video is degrading.

Thanks again, David
The stream may help. Please post it.
But perhaps I also need a compatible upper stream filter to reproduce.
Thanks.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 15th January 2012, 01:27   #14572  |  Link
Reino
Registered User
 
Reino's Avatar
 
Join Date: Nov 2005
Posts: 693
I've never touched float. Output is always integer here, in case of FFDShow as well as LAV Audio.

I don't use Haali. At least LAV Filters or MPC-HC's internal MP4 Splitter doesn't make a difference.
__________________
My hobby website
Reino is offline   Reply With Quote
Old 15th January 2012, 05:11   #14573  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by mkanet View Post
This affect's all ffdshow versions as far as I know. I'm currently using: ffdshow_rev4150_20111215_clsid

I am trying to playback mpeg2 videos which switch between soft and hard telecine using ffdshow's internal mpeg2 decoder + avisynth IVTC/deinterlace.

The problem is that the internal “ffdshow_source” source filter that is used to get frames from ffdshow into AviSynth is not honoring soft pulldowns when fed to the avisynth IVTC plugin (TIVTC or Decomb). It needs to behave the same way as if the video was fed from DGDecode (or any avisynth mpeg2 decoder would).
I have read documentation of AviSynth API, but I couldn't find necessary information for it. Could anyone help?
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 15th January 2012, 07:37   #14574  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by TheShadowRunner View Post
Clsid, maybe you remember the FLV4/VP6 cropping issue.
Nev has found a solution for LAV Video Dec, could it be implemented in FFDshow too?
Done at rev 4256.
Off course the credit goes to nevcairiel.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 15th January 2012, 14:54   #14575  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by mandarinka View Post
It seems that ffdshow doesn't expect mkv chapters with the leading chapter entry set as hidden. If you open such file and right-click ffdshow's tray icon, ffdshow will crash.

This sample should be able to reproduce the crash: http://www.mediafire.com/?2053dzjwvis9j21
(Open file and right-click on ffdshow's try icon.)
This probably "works" with any video if muxed with chapters like these: http://pastebin.com/
fixed at rev 4257.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 15th January 2012, 17:01   #14576  |  Link
mandarinka
Registered User
 
mandarinka's Avatar
 
Join Date: Jan 2007
Posts: 729
Quote:
Originally Posted by haruhiko_yamagata View Post
fixed at rev 4257.
Thanks
mandarinka is offline   Reply With Quote
Old 16th January 2012, 03:59   #14577  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,650
I experience corruption with Quick Sync enabled along with ffdshow raw with this sample. I experience no problems with any other decoder or with raw disabled.

20MB sample below.

http://www.mediafire.com/?0s68s1yjojkj9wc
ryrynz is offline   Reply With Quote
Old 16th January 2012, 19:39   #14578  |  Link
Px
>>^^__^^<<
 
Px's Avatar
 
Join Date: Jun 2005
Posts: 222
Quote:
Originally Posted by CoRoNe View Post
I've never touched float. Output is always integer here, in case of FFDShow as well as LAV Audio.

I don't use Haali. At least LAV Filters or MPC-HC's internal MP4 Splitter doesn't make a difference.
Tested at my work PC today, all works fine with haali/internal splitters and int16/int32/float32 output. XP SP3.
Px is offline   Reply With Quote
Old 16th January 2012, 21:43   #14579  |  Link
Reino
Registered User
 
Reino's Avatar
 
Join Date: Nov 2005
Posts: 693
That's really weird. I'm also running WinXP SP3, but the decoded audio is completely distorted no matter the source filter or output settings.
AAC(libavcodec)_decode-error.tak to be precise (the first 25 seconds of Standard720x576_1MBit.mp4 its distorted audio stream recorded as stereomix with Audacity the way I hear it).
I can't believe it's a soundcarddriver- or dependency-issue, or is it?
I've also tested Standard720x576_1MBit.mp4 on a family member's Win7 laptop. All fine with libavcodec.

[edit]Having music in the background (foobar or even MPC-HC) while playing Standard720x576_1MBit.mp4 also badly affects the music.[/edit]
__________________
My hobby website

Last edited by Reino; 16th January 2012 at 22:15.
Reino is offline   Reply With Quote
Old 17th January 2012, 00:08   #14580  |  Link
Px
>>^^__^^<<
 
Px's Avatar
 
Join Date: Jun 2005
Posts: 222
Quote:
Originally Posted by CoRoNe View Post
I can't believe it's a soundcarddriver- or dependency-issue, or is it?
Maybe, but - have you tried to reset ffdshow audio decoder settings?
Px 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 03:19.


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