|
|
| NeXT |
| Posted: Sep 12 2013, 12:41 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 41
Member No.: 24145
Joined: 31-August 08

|
1.10.3 and 1.10.4 (test 12) both crash when I try to use RemoveGrain from VapourSynth Script.
Here's the report: http://pastebin.com/YRZbrDBg
(also VDub detects my Win8 as Win7 ) |
 |
| dloneranger |
| Posted: Sep 12 2013, 02:24 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Removegrain crashed and virtualdubs letting you know For some strange reason that bit of code is trying to talk to IOports?? Offhand I'd say something went wrong a long time before that, and now it's executing random bytes of memory
Either way, it's a RemoveGrain / VapourSynth problem
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| Altaf |
| Posted: Oct 2 2013, 03:06 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 75
Member No.: 36396
Joined: 9-April 13

|
And my version åõå VirtualDub110413.rar in Russian and English, together with file VirtualDub.vdi. At batch operation has noticed an error, when this file from other set). |
 |
| v0lt |
| Posted: Oct 2 2013, 04:49 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09

|
Incorrect links to test13 in the first post of topics. |
 |
| dloneranger |
| Posted: Oct 2 2013, 04:57 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Links fixed for test13
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| v0lt |
| Posted: Oct 6 2013, 04:21 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09

|
1. open a video file 2. Video->Color Depth...->Ouput format to compressor/display->4:2:0 YCbCr (NV12) 3. Video->Compression...->Uncompressed RGB/YCbCr. 4. save the video file
Properties of the resulting video: BITMAPINFOHEADER: biSize: 40 biWidth: 720 biHeight: 576 biPlanes: 1 biBitCount: 16 biCompression: NV12 biSizeImage: 622080 biXPelsPerMeter: 0 biYPelsPerMeter: 0 biClrUsed: 0 biClrImportant: 0
Is this a bug? |
 |
| meowmeow |
| Posted: Oct 6 2013, 06:37 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13

|
| QUOTE (v0lt @ Oct 6 2013, 04:21 PM) | biBitCount: 16 biCompression: NV12
Is this a bug? |
meowmeow believes its' not. 420 compression leaves average 12 bits (48/4=12) per 2x2 (or 4x1) pixel block. Single pixel still gets its 16 bit color from average values. |
 |
| v0lt |
| Posted: Oct 8 2013, 03:12 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09

|
| QUOTE (meowmeow @ Oct 6 2013, 06:37 PM) | | meowmeow believes its' not. 420 compression leaves average 12 bits (48/4=12) per 2x2 (or 4x1) pixel block. Single pixel still gets its 16 bit color from average values. |
Ha. For example, look YV12.
| QUOTE | BITMAPINFOHEADER: biSize: 40 biWidth: 720 biHeight: 576 biPlanes: 1 biBitCount: 12 biCompression: YV12 biSizeImage: 622080 biXPelsPerMeter: 0 biYPelsPerMeter: 0 biClrUsed: 0 biClrImportant: 0 | |
 |
| meowmeow |
| Posted: Oct 8 2013, 03:04 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13

|
That's exactly 12 bits per pixel (622080*8/720/576=12). Which cannot be for packed images. Unpack that data to see. Meowmeow confused. |
 |
| raffriff42 |
| Posted: Oct 8 2013, 09:39 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12

|
YV12 & NV12 are 12 bits per pixel, but as meowmeow is saying (I think!) the YCbCr uncompressed format uses 16 bits per pixel for efficient processing. |
 |
| v0lt |
| Posted: Oct 9 2013, 06:02 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09

|
| QUOTE (raffriff42 @ Oct 8 2013, 09:39 PM) | | YV12 & NV12 are 12 bits per pixel, but as meowmeow is saying (I think!) the YCbCr uncompressed format uses 16 bits per pixel for efficient processing. | This is nonsense.
NV12, YV12 and I420 uses 12 bits per pixel. YVY2, UYVY, YV16 and HDYC uses 16 bits per pixel. Can save in NV12 and YV12 and compare the size of the files. Then compare with YVY2.
VirtualDub creates the wrong properties for NV12. |
 |
| meowmeow |
| Posted: Oct 10 2013, 01:59 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13

|
| QUOTE (v0lt @ Oct 9 2013, 06:02 PM) | | NV12, YV12 and I420 uses 12 bits per pixel. |
How NV12 works (not exact theory)
Y1+Y2+Y3+Y4+Cb+Cr = 6*8 = 48. 48/4 = 12 bpp average.
| CODE | Y1Cb + Y2Cb Y3Cr + Y4Cr |
Displaying YCb/Cr: Y+C=8+8 = 16 bpp interleaved.
While NV12 is "clearly" 16 bpp, YV12 works like... matrices instead of interleaving. Safe to say, YV12 is 12 bpp 
And H.264 uses 0.05 bpp |
 |
| raffriff42 |
| Posted: Oct 10 2013, 01:21 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12

|
| QUOTE (v0lt @ Oct 9 2013, 06:02 PM) | | VirtualDub creates the wrong properties for NV12. |
Ignoring the BITMAPINFOHEADER, MediaInfo reports the file like so: | CODE | Video ID : 0 Format : YUV Codec ID : NV12 Codec ID/Info : 8-bit Y plane followed by an interleaved U/V plane with 2x2 subsampling Duration : 1s 668ms Bit rate : 331 Mbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate : 29.970 fps Color space : YUV Compression mode : Lossless Bits/(Pixel*Frame) : 12.000 Stream size : 65.9 MiB (100%)
| ...maybe MediaInfo is wrong too... |
 |
| raffriff42 |
| Posted: Oct 11 2013, 01:43 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12

|
version 1.10.4/35488 test 13. - remove all plugins and filters. - Windows XP SP3 - Open a video - Select compression=(uncompressed RGB/YCbCr) - Crash (see crashinfo.txt) - version 1.10.3/35390 is OK
crashinfo.txt (dropbox)
EDIT - works OK if default settings are NOT loaded with the "/s" command line switch, but are loaded manually instead.
This happens even with the most basic settings possible: test_nofilters,vid=blank,aud=pcm.vcf (dropbox)
EDIT - I guess I am using this feature in a manner not intended (it's supposed to be for encoding from the command line), so I can't complain if it is 99% functional when used for loading a 'profile.'
This post has been edited by raffriff42 on Oct 12 2013, 01:05 PM |
 |
| phaeron |
| Posted: Oct 27 2013, 11:43 PM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
Confirmed NV12 bpp is incorrect -- fixed in 1.10.4 final.
Will look into the .vcf crash.
Update: This scenario should work, and I can't reproduce the crash. Does this happen if you use a test video from Tools > Create Test Video instead of loading one from a file? |
 |