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. |
![]() |
#1341 | Link |
Registered User
Join Date: Sep 2004
Location: Auckland, New Zealand
Posts: 466
|
I'm currently using FFMS v579 with MeGUI and i have noticed some random blocking when encoding a bluray VC1 stream in MKV.
![]() These blocks in Frame 947 do actually come out on the final encode as well. Code:
General Unique ID : 151178532468450782821249184430171641178 (0x71BBED1F9198E6CA80E93BBF4664555A) Complete name : D:\backup\CINDERELLA_MAN\CINDERELLA_MAN.mkv Format : Matroska Format version : Version 1 File size : 24.7 GiB Duration : 2h 24mn Overall bit rate : 24.5 Mbps Encoded date : UTC 2011-10-23 01:15:30 Writing application : eac3to Writing library : Haali DirectShow Matroska Muxer 1.11.96.14 Video ID : 1 Format : VC-1 Format profile : AP@L3 Codec ID : WVC1 Codec ID/Hint : Microsoft Duration : 2h 24mn Bit rate : 24.0 Mbps Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 23.976 fps Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.483 Stream size : 24.2 GiB (98%) Sample http://www.mediafire.com/?8cy5i8179hunmcy MD5: 604190103a687e07bddd243d83ec0295 SHA1: 1b1eee32e5e8a765de0b4980ba0a06d57f4766c2
__________________
A Man Eating Duck Last edited by AMED; 28th October 2011 at 09:50. |
![]() |
![]() |
![]() |
#1342 | Link | |
warpsharpened
Join Date: Feb 2007
Posts: 787
|
Quote:
Give it a shot: ffms2-r580.7z Built with libav ec6d743. |
|
![]() |
![]() |
![]() |
#1345 | Link | ||
Registered User
Join Date: Dec 2009
Posts: 63
|
Quote:
Also, I must notice that after r580 the FFmpegSource2() function, when "cachefile" is specified, is working not as expected acordingly to Quote:
So again. How about adding an option to ffmsindex.exe and to FFIndex, that will turn on\off this "file signature check" (off = everything works as before r580)? And then FFMS2.avsi can be modified to call FFIndex without this check, so FFmpegSource2() will work as before r580. At least for me with my workflow I would like to have such an option for ffmsindex and for ffindex.. Also the first call of FFindex in FFMS2.avsi seems to missing the "utf8=utf8" atribute (at line 31 column 40). |
||
![]() |
![]() |
![]() |
#1346 | Link |
Registered User
Join Date: Sep 2011
Posts: 34
|
About this:
add sanity check for cases where the video decoder returns an empty frame. "fixes" issue #50 by virtue of not crashing anymore, but just returning a nice error message instead. I get this error in a video (in 2 frames), but previously (2.15 version) the same video (same file, not touched) decodes ok. FFMS2 doesn't crash. I can't say if there are frame corruption or not (because it's a unattended process) but not error and not crash. I am using the library. Not avisynth. ______________________________________________________ With the lastest beta r580, if I try to set the output format (with FFMS_SetOutputFormatV or FFMS_SetOutputFormatV2) to any planar format (I tested all) the program crashes with a memory violation (trying to write in protected area). I tested with non planar formats (rgb & yuv) and it worked. Last edited by pandv2; 30th October 2011 at 21:04. Reason: Another possible bug found |
![]() |
![]() |
![]() |
#1347 | Link | ||
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#1348 | Link |
I often say "maybe"...
Join Date: Jul 2009
Location: France
Posts: 583
|
On all mpeg2 I can have (dvd rips, dvb recordings, fresh HCEnc encodes...),
this script does show something wrong : Code:
a=mpeg2source("v.d2v") # or avisource("v_uncompressed_by_virtualdub.avi") b=ffvideosource("v.mkv") # muxing the stream in a mkv does fix the ffms2 frame inaccuracy subtract(a,b) histogram("luma") # needed for humans eyes I remember when testing some ffdshow settings, I did try the "use speedup tricks" and got some funky pixels like that (but much more visible). Dunno if it is related since both ffms2 and ffdshow use ffmpeg. |
![]() |
![]() |
![]() |
#1349 | Link |
Registered User
Join Date: Jan 2006
Posts: 1,862
|
I'm fairly new to using ffms2, but I just discovered something simple that seems impossible: I can't open a 5.1 and make it dolby stereo. There is no way to downmix to DPL/2. Also can you add a simple feature in the PP string for contrast adjust on import, cont:100
You have functions to support different colorspaces so don't ignore audio. |
![]() |
![]() |
![]() |
#1350 | Link | |
Registered User
Join Date: Nov 2008
Location: Ukraine
Posts: 34
|
Quote:
I used build 579. Thanks. |
|
![]() |
![]() |
![]() |
#1351 | Link | |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
Quote:
Video postprocessing is mostly the same thing, it's provided via libpostproc and we don't have any control over what features it supports. Not that it matters, because the ffmpeg devs hate it and are going to remove it, and thus so are we. |
|
![]() |
![]() |
![]() |
#1352 | Link | |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
Quote:
That being said, AFAIK MPEG2 decoders are not required to have bit-exact output so it's not entirely surprising that two different decoders could have subtly different outputs. |
|
![]() |
![]() |
![]() |
#1353 | Link | ||
I often say "maybe"...
Join Date: Jul 2009
Location: France
Posts: 583
|
Quote:
Quote:
Dunno... I thought they should output identical thing, like avc ones do. |
||
![]() |
![]() |
![]() |
#1355 | Link | |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
Quote:
See also http://guru.multimedia.cx/the-mpeg124-and-h26123-idct/ |
|
![]() |
![]() |
![]() |
#1356 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,659
|
Something similar (but not related to iDCT) happened between DivX 5.02 and 5.03 too, probably a change in the rounding (Oct. 2003). That resulted in what I called "orange-blue bug". But quite soon after I reported it (March 2004), ffdshow was able to adapt its decoding.
Last edited by LigH; 1st November 2011 at 15:59. |
![]() |
![]() |
![]() |
#1357 | Link | |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
Quote:
|
|
![]() |
![]() |
![]() |
#1358 | Link | |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
Quote:
|
|
![]() |
![]() |
![]() |
#1359 | Link |
I often say "maybe"...
Join Date: Jul 2009
Location: France
Posts: 583
|
The real visible things without enhancing the luma differences are mostly in flat areas.
Thx for the explanations. Btw, could be possible to easily implement the ffms2 idct algorithm in mpeg2source ? Using 1 thread (to be fair) does show it is 20% faster. |
![]() |
![]() |
![]() |
#1360 | Link | |
warpsharpened
Join Date: Feb 2007
Posts: 787
|
Quote:
You get something like 6-7 different iDCT options with both DGDecode and Mpeg2Dec3. They both default to whatever is found in the d2v file but can be overridden in avisynth. DGIndex defaults to Skal SSE and DVD2AVI defaults to SSE2MMX. The one most like libav's default is probably Simple iDCT although that's just a guess based on libav's naming of a constant. Mpeg2Dec3 is normally faster than DGDecode especially when seeking. I prefer DVD2AVI's default choice (with mpeg2dec3) for all things mpeg2. YMMV and opinions also. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|