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 18th March 2012, 11:24   #14881  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by clsid View Post
I rather have a warning than a mess of files.
No problem.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 18th March 2012, 11:44   #14882  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
@clsid,
Rev 4390 fixes the dialog, but current libavcodec is more complicated.
Code:
    /**
     * Error recognition; may misdetect some more or less valid parts as errors.
     * - encoding: unused
     * - decoding: Set by user.
     */
    int err_recognition;
#define AV_EF_CRCCHECK  (1<<0)
#define AV_EF_BITSTREAM (1<<1)
#define AV_EF_BUFFER    (1<<2)
#define AV_EF_EXPLODE   (1<<3)

#define AV_EF_CAREFUL    (1<<16)
#define AV_EF_COMPLIANT  (1<<17)
#define AV_EF_AGGRESSIVE (1<<18)
This cannot be implemented as a combo box. We need six check boxes (not seven, because AV_EF_CAREFUL is not used). But even if we implement six check boxes, who can use them correctly?
AV_EF_CRCCHECK seems to do CRC check for AC3, TTA and wavpack. I don't know what other stuffs do.
I would suggest two options:
  • Remove the option completely
  • One check box to enable all error recognition (disabled by default)
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 18th March 2012, 13:23   #14883  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Make yadif default deinterlacer

Code:
Index: src/settings/filters/TdeinterlaceSettings.h
===================================================================
--- src/settings/filters/TdeinterlaceSettings.h	(revision 4390)
+++ src/settings/filters/TdeinterlaceSettings.h	(working copy)
@@ -32,7 +32,7 @@
     int deinterlaceAlways;
     int swapfields;
     int cfgId;
-    static const int cfgIdDef=2;
+    static const int cfgIdDef=14; // yadif
     static const TmethodProps &getMethod(int cfgId);
     int tomsmocompSE,tomsmocompVF;
     char_t dscalerFlnm[MAX_PATH];
Do you agree?
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 18th March 2012, 13:26   #14884  |  Link
fastplayer
Registered User
 
Join Date: Nov 2006
Posts: 799
Quote:
Originally Posted by haruhiko_yamagata View Post
I would suggest two options:
  • Remove the option completely
  • One check box to enable all error recognition (disabled by default)
I can't speak for clsid, but please remove it from the GUI and leave it at ffmpeg's/libav's default setting. It is a usability catastrophe.
fastplayer is offline   Reply With Quote
Old 18th March 2012, 15:52   #14885  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by fastplayer View Post
I can't speak for clsid, but please remove it from the GUI and leave it at ffmpeg's/libav's default setting. It is a usability catastrophe.
Yes, basically it shouldn't be exposed to users. I don't know what the default is.
Here's copy from "avplay -h".
Code:
-err_detect        <flags> set error detection flags
   crccheck                verify embedded CRCs
   bitstream               detect bitstream specification deviations
   buffer                  detect improper bitstream length
   explode                 abort decoding on minor error detection
So perhaps explode shouldn't be the default.
CRC check is ideal but eats CPU time.
bitstream and buffer are optional
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 18th March 2012, 16:05   #14886  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Just don't touch the value at all when creating the context, and it'll remain whatever is the default.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 18th March 2012, 18:48   #14887  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
I am fine with removing obscure options. Less is better. Both error recognition and concealment could be removed. Perhaps also the greyscale option.
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 19th March 2012, 19:17   #14888  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
@ haruhiko:

Could you please confirm (or infirm, why not) the problem described in the post

http://forum.doom9.org/showthread.ph...71#post1565971 ?

Quote:
Originally Posted by Midzuki View Post
...
Besides:

In VirtualDub ++ the latest QuickTime plugin,

ffdshow (r4382) w/ wmv9 decoder shows only a sequence of black frames

ffdshow w/ libavcodec, && "easy" vc-1,
first frame = green

ffdshow w/ libavcodec, && "difficult" vc-1,
VirtualDub crashes

Last edited by Midzuki; 19th March 2012 at 19:19.
Midzuki is offline   Reply With Quote
Old 20th March 2012, 11:08   #14889  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by Midzuki View Post
@ haruhiko:

Could you please confirm (or infirm, why not) the problem described in the post

http://forum.doom9.org/showthread.ph...71#post1565971 ?
VC1 isn't supposed to be handled in VFW, is it? I won't fix anything about VC1 in VitualDub.
What is VirtualDub ++?

I would appreciate it, if you write more kind and easy to read report. It is hard to understand for which file, what you do, what you experience and how your computer is set up.
__________________
[ Download ffdshow | Wiki ]

Last edited by haruhiko_yamagata; 20th March 2012 at 11:22.
haruhiko_yamagata is offline   Reply With Quote
Old 20th March 2012, 13:08   #14890  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by clsid View Post
I am fine with removing obscure options. Less is better. Both error recognition and concealment could be removed. Perhaps also the greyscale option.
Simply removed at rev 4396.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 20th March 2012, 14:11   #14891  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Quote:
Originally Posted by haruhiko_yamagata View Post
VC1 isn't supposed to be handled in VFW, is it?
According to the VfW applet of ffdshow,
the answer is *YES*, sir.

Quote:
It is hard to understand for which file, what you do, what you experience and how your computer is set up.
I don't think so.

Last edited by Midzuki; 20th March 2012 at 17:28.
Midzuki is offline   Reply With Quote
Old 20th March 2012, 14:52   #14892  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
LigH offers two cups of Earl Grey to calm down the nerves on both sides...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 20th March 2012, 23:29   #14893  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Thanks, LigH.
Quote:
Originally Posted by Midzuki View Post
According to the VfW applet of ffdshow,
the answer is *YES*, sir.
VC1 as well as H.264 are listed there. But sorry, we do not guarantee that they work. They may or may not work.
If you stuff VC1 or H.264 into AVI container forcibly, it may or may not work. VFW dialog is similar stuff.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 21st March 2012, 00:22   #14894  |  Link
FlashGordon
Registered User
 
Join Date: Oct 2010
Posts: 42
Quote:
Originally Posted by haruhiko_yamagata View Post
So perhaps explode shouldn't be the default.
CRC check is ideal but eats CPU time.
bitstream and buffer are optional
http://web.archiveorange.com/archive...28didl1agye0kh according to that, maybe AV_EF_CAREFUL is meant only for CRC checks?
FlashGordon is offline   Reply With Quote
Old 21st March 2012, 07:28   #14895  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
^
^ Okay, let's just hope:

1) fccHandler wants to improve his QT-input plugin ;

2) an "inertial patch" by means of an updated Libav will eventually happen ;

[ !-- end of discussion -- ]

Last edited by Midzuki; 21st March 2012 at 07:42. Reason: spelling
Midzuki is offline   Reply With Quote
Old 21st March 2012, 11:18   #14896  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by FlashGordon View Post
http://web.archiveorange.com/archive...28didl1agye0kh according to that, maybe AV_EF_CAREFUL is meant only for CRC checks?
Thanks for the link. Yes, but the topic applies to FFmpeg.
Libav does not use AV_EF_CAREFUL at all. Most part of ffdshow's libavcodec is based on Libav.
Rev 4396 does not change the behavior related to CRC checking because the commit does not affect audio part.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 21st March 2012, 12:37   #14897  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,650
Quote:
Originally Posted by ryrynz View Post
Haruhiko, I can reproduce another Rundll32 error. Simply rename any default preset and press enter, DO NOT click apply, then press ALT + F4.
Quote:
Originally Posted by haruhiko_yamagata View Post
I can reproduce the crash. Thanks.
Did you want me to file a bug report for this? I know it's minor but it's still there.
ryrynz is offline   Reply With Quote
Old 21st March 2012, 23:28   #14898  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by ryrynz View Post
Did you want me to file a bug report for this? I know it's minor but it's still there.
Yes. I tried to fix, but it wasn't so easy.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 22nd March 2012, 11:24   #14899  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
https://forum.doom9.org/showpost.php...ostcount=19119

im still trying to get a higher resolution of the problem @ work here but it seems just that ffdshow gets prefetched causes this problem it doesn't need to be inside the graph @ all just getting called (on graph buildup once) seems to cause this Black Screen (the question is why). This made me almost crazy i really wondered why i always got a black screen i thought it was the splitters fault but now it shows to be ffdshow and very clearly

i will try to make a clearer chain and a video showing this strange issue

so if anyone in MPC-HC gets a mysterious black screen (especially with DXVA involved in the rendering chain) and doesn't know why (playback continues but video rendering stays black then try to block ffdshow (even if you don't have uncompressed rendering active) it might be the answer)

PS: Another test disabled all decoder in ffdshow still black screen if it's in the preferred status on the external filter list, no matter above or bellow the main decoder (Cyberlink) for the current active stream (preferred) , reseted MPC-HC and the whole custom chain doing more tests.

Yep same 2 filter in the external list setting ffdshow to preferred causes the black screen
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004

Last edited by CruNcher; 22nd March 2012 at 12:56.
CruNcher is offline   Reply With Quote
Old 22nd March 2012, 14:00   #14900  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by CruNcher View Post
Where should I start reading in the thread?
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata 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 17:47.


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