Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Testing / Bug Reports > Virtualdub 1.10.4 Test Thread


Posted by: phaeron Jan 26 2013, 10:01 PM
Current 1.10.4 test version:

(Removed: 1.10.4 final is out and supercedes all 1.10.4 test releases.)

Changes:

  • (test-13) Per-monitor DPI awareness support.
  • (test-13) Fixed format issues in interpolate filter in nearest mode.
  • (test-12) Extended format support in resize filter.
  • (test-12) Added drop-down for expansion tokens in external encoder setup.
  • (test-11) Fixed dumb bug in some dialogs with calling SetWindowText() with a null window handle.
  • (test-11) Added %(outputbasename) to external encoder CLI template system.
  • (test-10) Fixed crash regression with /portable.
  • (test-10) Fixed cropping error with alias format filter.
  • (test-9) Fixed some selection weirdness in the external encoder dialog.
  • (test-9) Fixed crash when attempting to crop non-AVI-compatible formats.
  • (test-9) Removed some long defunct striping options.
  • (test-8) Convert Format script/job handling fix for new formats.
  • (test-7) TARGA decoding fix.
  • (test-6) Fixed capture spill dialog on Windows XP.
  • (test-6) DXGI screen capture fixes.
  • (test-2) Fixed regression in Direct3D effects display path.
  • (test-1) Processing priority option now applies to all worker threads (filtering, compression).

Posted by: Jam One Jan 30 2013, 11:28 AM
= Regression report =

Problem is related to: Displaying video in panes
Problem looks like: Only a piece of image is being displayed in just small rectangle in the upper-left corner of the preview pane.
Problem is believed to be associated with and caused by: DirectX/Direct 3D subsystem.
The effect goes away and the image comes back when either "Use Direct3D" or "Use effect file" flag is cleared.
Latest known "good" VirtualDub build without the mentioned problem: '1.10.3.-test4' / build 34987.

http://www.pixhost.org/show/4464/15799065_vdub_1104_bug_01.jpg

http://www.pixhost.org/show/4464/15799064_vdub_1104_bug_02.jpg

P.S.: Shader "effect file" is actually needed in this case for the purposes of color management, to accommodate for wide-gamut display.

Following is the 'effect file contents':

CODE

extern sampler s0 : register(s0);
float4 p0 : register(c0);

static float4x4 r2r =
{
0.721369034892911,0.257393680045628,0.0212372850614593,0,
0.0434523218885522,1.02322966833513,-0.0666819902236872,0,
0.0128978941739008,0.0401613012665135,0.946940804559586,0,
0, 0, 0, 0
};

float4 main(float2 tex : TEXCOORD0) : COLOR
{
 float4 c0 = tex2D(s0, tex);
   c0 = pow(c0, 1/0.45);
   c0 = mul(r2r, c0);
   c0 = saturate(c0);
   c0 = pow(c0, 0.45);

 return c0;
}

void VS(float4 pos : POSITION,
float2 uv : TEXCOORD0,
out float4 oPos : POSITION,
out float2 oT0 : TEXCOORD0)
{
oPos = pos;
oT0 = uv;
}

texture vd_srctexture;

technique {
pass {
VertexShader = compile vs_2_0 VS();
PixelShader = compile ps_2_0 main();
CullMode = none;
AlphaBlendEnable = false;
Texture[0] = <vd_srctexture>;
AddressU[0] = clamp;
AddressV[0] = clamp;
MinFilter[0] = linear;
MagFilter[0] = linear;
}
}

Posted by: phaeron Feb 2 2013, 09:53 PM
Whoops... try test-2.

Posted by: Jam One Feb 3 2013, 06:32 PM
1.10.4-test2 -- Everything is fine!
Thank you very much, Mr.Lee!

Posted by: Akilak Feb 10 2013, 09:53 AM
Many thanks. Version 1.10.4 - much better. It see some filters wich i can't to add. Per now all works.
But something wrone. Picture shows some lines - i cann't to explane it.

Posted by: -vdub- Mar 22 2013, 07:00 AM
External Encoders

1. The help guide mentions the pipe will pass through all video as progressive, if so is there any plans for interlace also as an option. As many encoders support interlace encoding

2. Encoders tab to have categories for video audio and multiplexers to make finding them quickly. An extra header tab at window top for type where encoder muxer shows if is a video, audio, or muxer

3. The same tab at window top able to work to sort alphabetically, numbering etc same things as other windows tabs normally do when selected with an arrow show ascending, descending and more

4. Able to move around any encoder sets or encoders singularly or multi select many able then sort any list

5. Multi delete doesn't actually work they remain with many in the Encoders tab (didn't test with Encoders Sets)

6. An option not to save any external encoders profiles to the registry instead ability to save and use from a .vdprof profile

7. Ability to expand the external encoders window and for it to remember it's size and position on screen

8. A global list of encoders to quick select to save navigating through folders each time when choose a different encoder from last time

9. All the other ideas and features you have for external encoders, if any!

10. If copy or download a list that has profile 1, 2, 3 etc would it overwrite the current profile with that same number or will it still be added. Would like it to be added with new profile number

11. Having different Encoder sets ability to export only those chosen. Where will export both the chosen Encoder Sets and sub Encoders it uses. This will be good for people who have problems to send only Encoder Set they have problem with. And for us to load only that Encoder set for testing problem solving. Besides ability to do the same with Encoder Sets we are testing with. Though need ability still needed for an option not to use registry with External Encoders to work with .vdprof only (option for user choice)

12 Allowing for the External Encoders window to stay open while testing profiles

Posted by: Trepack Mar 24 2013, 09:37 AM
VirtualDub-1.10.4 test-6 32bit
I have problems with open a file .ts this is the mediainfo...

CODE

General
ID                                       : 1 (0x1)
Complete name                            : I:\Cuentame.Como.Paso.ts
Format                                   : MPEG-TS
File size                                : 4.90 GiB
Duration                                 : 1h 11mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 9 800 Kbps

Video
ID                                       : 256 (0x100)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 6 frames
Codec ID                                 : 27
Duration                                 : 1h 11mn
Bit rate                                 : 8 928 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 50.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.194
Stream size                              : 4.47 GiB (91%)
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 257 (0x101)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : 129
Duration                                 : 1h 11mn
Bit rate mode                            : Constant
Bit rate                                 : 384 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : -100ms
Stream size                              : 197 MiB (4%)


If I open virtualdub usually just stands and fails, if I open a avisynth script (DirectShowSource("I:\Cuentame.Como.Paso.ts"))gives me this information and opens but I make an audio delay in...

CODE

Video:
Frame size, fps (µs per frame): 1280x720, 50.000 fps (20000 µs)
Length: 214908 frames (1:11:38.16)
Decompressor: Internal DIB decoder (YV12)
Number of key frames: 214908
Min/avg/max/total key frame size: 1382400/1382400/1382400 (290125800K)
Min/avg/max/total delta size: (no delta frames)
Data rate: 552960 kbps (0.00% overhead)

Audio:
Sampling rate: 48000Hz
Channels: 2 (Stereo)
Sample precision: 16-bit
Compression: PCM (Uncompressed)
Layout: 214908 chunks (0.02s preload)
Length: 206310910 samples (1:11:38.14)
Min/avg/max/total frame size: 760/3839/3840 (805902K)
Data rate: 1536 kbps (0.62% overhead)


In VirtualDub-1.10.3 I have not this error

Posted by: Altaf Apr 10 2013, 12:12 PM
1) Прошу меня извинить.
2)Предлагаю рассмотреть новый вариант внешнего вида.
Мне давно хотелось подобное иметь. Никто не сделал, пришлось с помощью других самому делать. http://fileshare.in.ua/7263721 http://fileshare.in.ua/7263721
Это в начале не привычно и не привлекает. Но, после понимаешь как удобно, а главное не происходит ошибочных скачков по видео и не оправданных потерь. И меньше движений мышкой. А невзрачные цвета кнопок - защищают глаза от утомления и не отвлекают от работы.
3) И если моя версия понравиться я бы обрадовался. Конечно, это Вам не трудно сделать, но, если нужно будет поделюсь чем нужно.
4) Но, я с версией 1.10.4 - test7 не смог справиться. С этого момента программы стала ошибки показывать. Но, когда я с нова попробовал прежние исходники, на них тоже появились такие же ошибки.
Я ничего не понимаю, не программист и в работе этих программ так же не смыслю.
Спасибо.
Может кто подскажет что делать:

18>LINK : warning LNK4224: /OPT:NOWIN98 больше не поддерживается; не учитывается
18>version.obj : error LNK2001: неразрешенный внешний символ "_version_num"
18>FilterCallbacks.obj : error LNK2001: неразрешенный внешний символ "_version_num"
18>Init.obj : error LNK2001: неразрешенный внешний символ "_version_num"
18>oshelper.obj : error LNK2001: неразрешенный внешний символ "_version_num"
18>sparseavi.obj : error LNK2019: ссылка на неразрешенный внешний символ _version_num в функции "void __cdecl CreateExtractSparseAVI(struct HWND__ *,bool)" (?CreateExtractSparseAVI@@YAXPAUHWND__@@_N@Z)
18>about.obj : error LNK2001: неразрешенный внешний символ "_version_num"
18>auxdlg.obj : error LNK2001: неразрешенный внешний символ "_version_num"
18>Crash.obj : error LNK2001: неразрешенный внешний символ "_version_num"
18>DubOutput.obj : error LNK2001: неразрешенный внешний символ "_version_num"
18>about.obj : error LNK2001: неразрешенный внешний символ "_version_time"
18>Crash.obj : error LNK2001: неразрешенный внешний символ "_version_time"
18>auxdlg.obj : error LNK2001: неразрешенный внешний символ "_version_date"
18>Crash.obj : error LNK2001: неразрешенный внешний символ "_version_buildmachine"
18>..\..\out\Release\VirtualDub.exe : fatal error LNK1120: 4 неразрешенных внешних элементов
18>Build log was saved at "file://c:\VirtualDub8\VirtualDub11047_Engl\obj\Release\VirtualDub\BuildLog.htm"
18>VirtualDub - 14 error(s), 6 warning(s)
========== Build: 17 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Posted by: -vdub- Apr 10 2013, 11:39 PM
Web Translation of the above post


1) I'm sorry.
2) to consider a new version of the appearance.
I have long wanted to have a similar. No one did, I had to help myself to do more. VirtualDub11046.exe
It is not usual in the beginning and not attractive. But, after you realize how convenient, and most importantly there is no error on the video jumps and fell short of the losses. And fewer mouse movements. A nondescript color buttons - protect the eyes from fatigue and do not distract from the work.
3) And if you like my version, I would have been happy. Of course, this is not hard to do, but if you want to share what you need.
4) But, I have version 1.10.4 - test7, I can not handle. At this point of the program was to show the error.
But when I tried the old new sources, they also appeared the same mistakes.
I do not understand, not a programmer, and in these programs also do not make sense.
Thank you.
Can someone tell me what to do:


18> LINK: warning LNK4224: / OPT: NOWIN98 longer supported, is not considered
18> version.obj: error LNK2001: unresolved external symbol "_version_num"
18> FilterCallbacks.obj: error LNK2001: unresolved external symbol "_version_num"
18> Init.obj: error LNK2001: unresolved external symbol "_version_num"
18> oshelper.obj: error LNK2001: unresolved external symbol "_version_num"
18> sparseavi.obj: error LNK2019: unresolved external reference symbol _version_num in function "void __ cdecl CreateExtractSparseAVI (struct HWND__ *, bool)" (? CreateExtractSparseAVI @ @ YAXPAUHWND__ @ @ _N @ Z)
18> about.obj: error LNK2001: unresolved external symbol "_version_num"
18> auxdlg.obj: error LNK2001: unresolved external symbol "_version_num"
18> Crash.obj: error LNK2001: unresolved external symbol "_version_num"
18> DubOutput.obj: error LNK2001: unresolved external symbol "_version_num"
18> about.obj: error LNK2001: unresolved external symbol "_version_time"
18> Crash.obj: error LNK2001: unresolved external symbol "_version_time"
18> auxdlg.obj: error LNK2001: unresolved external symbol "_version_date"
18> Crash.obj: error LNK2001: unresolved external symbol "_version_buildmachine"
18> .. \ .. \ out \ Release \ VirtualDub.exe: fatal error LNK1120: 4 unresolved external elements
18> Build log was saved at "file :/ / c: \ VirtualDub8 \ VirtualDub11047_Engl \ obj \ Release \ VirtualDub \ BuildLog.htm"
18> VirtualDub - 14 error (s), 6 warning (s)
========== Build: 17 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Posted by: Altaf Apr 17 2013, 04:43 AM
Файл удалили, никто так и не попробовал? Перезалил еще раз:
http://fileshare.in.ua/7313745
Программу Microsoft Visual Studio 2008 переустановил - только на английском языке, но ошибки остались:
1>------ Build started: Project: VirtualDub, Configuration: Debug Win32 ------
1>Updating build number information...
1>Asuka: Failed: Unable to open verstub.asm for write.
1>Linking...
1>version.obj : error LNK2001: unresolved external symbol _version_num
1>FilterCallbacks.obj : error LNK2001: unresolved external symbol _version_num
1>Init.obj : error LNK2019: unresolved external symbol _version_num referenced in function "void __cdecl VDCPUTest(void)" (?VDCPUTest@@YAXXZ)
1>oshelper.obj : error LNK2001: unresolved external symbol _version_num
1>sparseavi.obj : error LNK2001: unresolved external symbol _version_num
1>about.obj : error LNK2001: unresolved external symbol _version_num
1>auxdlg.obj : error LNK2001: unresolved external symbol _version_num
1>Crash.obj : error LNK2001: unresolved external symbol _version_num
1>DubOutput.obj : error LNK2001: unresolved external symbol _version_num
1>about.obj : error LNK2001: unresolved external symbol _version_time
1>Crash.obj : error LNK2001: unresolved external symbol _version_time
1>auxdlg.obj : error LNK2001: unresolved external symbol _version_date
1>Crash.obj : error LNK2001: unresolved external symbol _version_buildmachine
1>..\..\out\Debug\VirtualDub.exe : fatal error LNK1120: 4 unresolved externals
1>Build log was saved at "file://c:\VirtualDub8\VirtualDub11047_Engl\obj\Debug\VirtualDub\BuildLog.htm"
1>VirtualDub - 14 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 17 up-to-date, 0 skipped ==========
Помогите пожалуйста кто может. 1) Перевести мои слова, с сохранением ссылки на ехе файл. 2) И надеюсь на Вашу помощь с программой. Спасибо.

Posted by: Altaf Apr 17 2013, 12:47 PM
И наконец то, моя версия ехе http://fileshare.in.ua/7314100 - VirtualDub1104Test7

(сам себе голову только морочил и не оправданно задержал)
Не снял атрибут только чтение с version2.bin, verstub.asm.
Не хотел чтобы новый номер бильда был.
С VirtualDub 1.10.4 Test 6 вроде получился. Только не знаю как.
А с 7 ым ошибки пошли.
Может подскажете как сделать чтобы не добавлялся № бильда?
Спасибо.


Posted by: -vdub- Apr 17 2013, 10:45 PM
@Altaf

Post In English
QUOTE
Сообщение на английском языке

Posted by: dloneranger Apr 22 2013, 09:09 AM
Re: 1.10.3 (test-8) Added more formats to the "convert format" filter.

Looking at the source, in 1.10.4 test 7
There is code to support more formats, but the code for ScriptConfig and GetSettingString are missing support for the extra formats
This results in scripts etc using any of the extra formats defaulting to rgb

Posted by: phaeron Apr 23 2013, 03:54 AM
...What was I smoking when I made that change?

Should be fixed in 1.10.4 test-8.

Posted by: dloneranger Apr 24 2013, 03:54 PM
On the file menu -> export -> there are two entries for the stripe system that don't do anything

Posted by: Altaf Apr 25 2013, 08:54 AM
Пожалуйста переведите на английский кто может:
1) Мне очень хочется узнать Мнение участников этого форума, в отношении моего варианта ехе. Если кому то нужно, я могу сюда выкладывать ссылки на очередные версии (8 тест я сделал в тот же день), если нужно, думаю смогу и английскую версию сделать.
2) Предложение: Учитывая увеличение возможных типов с которыми работает программа. Прошу сделать возможность чтобы в строке выбора сохранялась позиция ранее выбранного типа. Когда работаем с многими одинаковыми файлами приходиться лишнее время тратить при выборе типа файлов, потому что список типов всегда открывается с первой позиции.

Posted by: jpsdr May 1 2013, 10:56 AM
Still issues with extended color format.
I've noticed at least 2 issues.

Select in Video->color depth "YCbCr Rec 709 Limited 420" for both input and output.
Create an RGB cube video.

Issue 1 :
Select in compression an YV12 codec (Ut Video mode YUV420 (UYL0) in my case).
VDub throw an error telling ouput format is not compatible with codec (last output in the filter chain is YV12 Limited 709).

Issue 2 :
Add null transform filter, select "cropping" -> VDub crash.

Posted by: phaeron May 5 2013, 10:02 PM
Removed the unused striping options and fixed the crop crash in test-9.

The codec compatibility error dialog is valid. 4:2:0 in Rec. 709 space doesn't have an associated FOURCC; YV12 is Rec. 601. You need to alias the format if you are using a codec that takes this format as YV12.

Posted by: jpsdr May 6 2013, 08:23 AM
QUOTE (phaeron @ May 5 2013, 10:02 PM)
The codec compatibility error dialog is valid. 4:2:0 in Rec. 709 space doesn't have an associated FOURCC; YV12 is Rec. 601. You need to alias the format if you are using a codec that takes this format as YV12.

??????????

So, what i have to do ?
I've updated my filters with new colors formats for them to be correct when i do color convertion, for exemple using a DVD source for creating a Blu-Ray (my source is 4.2.0 Rec.601, my ouput is 4.2.0 Rec 709, but both use YV12), in the chain VDub filter, but if it causes more troubles than help as it's for now, i'll not use these new formats.
What do i have to do, if the last output of my filter is 4.2.0 Rec.901, if i want to save it with with an YV12 codec output (UT Video in my case) with a raw direct transfert, no color conversion of course, because i want my YV12 avi file stay in Rec.709 matrix color.

I hope that if i said that my input is 4.2.0 Rec.709, and my input file is YV12, there no color conversion made...

Posted by: phaeron May 14 2013, 12:54 AM
You need to alias it to and from Rec. 601 using the alias format filter. The YV12 FOURCC corresponds to Rec. 601, and attempting to push Rec. 709 through it results in a situation where programs reading it have no idea which color space they are dealing with and thus you get color handling errors in the pipeline. Therefore, if you do have bogus YV12 data that is actually Rec. 709, you need to re-alias it to the 709 format so VirtualDub knows what it is actually dealing with.

Posted by: jpsdr May 14 2013, 12:12 PM
The issue is always always always always the same...
As far as i know, YUV 4:2:0 data on PC, or at least on AVI, can only be processed by YV12 codec/format.
So... If i open an avisynth file with DGDecodeNV, asking for "RAW" decoded, data, no upscale, no convertion, nothing, a file from a Blu-Ray wich is 1080i@29.97, i have 4:2:0 Rec709 interlaced material.
Now, i want to save this on an avi file, no upscale, no convertion, nothing, the only way i know it to save with YV12. This will result with an YV12 file with interlaced Rec709 data. You may tell it's bogus, but in that case, tell me the "no-bogus" way of saving an AVI video in 4:2:0 interlaced Rec709 format...!

Interlaced put aside, i have indeed several questions, because things may not work as i though.
I have made an RGB convertion filter, on which i select the matrix color format (BT.709, BT.601, SMPTE 204M, FCC).
Filter works only with YUV444 and RGB. So, if input is 444, the color matrix used is the one in the selection, not the one tagged with the YUV444, and output is RGB. If input is RGB, output is YUV444, tagged with the color matrix (or the closest for SMP/FCC) selected. I'll call this filter RGBConv from now.
I've updated all my filters to use/tag the new extended format, when necessary.

My purpose is to create "YV12", or 4:2:0 Rec.709 avi file, to feed a basic avisynth file with only AVISource, which will be the input for encoding with x264 in purpose of targeting Blu-Ray.
Sometimes on my process, i need to use a filter which work only on RGB data.
Compression is set to UT Video YUL0.

I've 2 cases :
a) Input1 : Input is a DVD source, avisynth script with DGMPGDecode, decoding "RAW" : no upscale, convertion or anything. In that case, video is 4:2:0 Rec 601, view as YV12 DIB internal decoder.
cool.gif Input2 : Input is a Blu-Ray source, avisynth script with DGDecodeNV, decoding "RAW" : no upscale, convertion or anything. In that case, video is 4:2:0 Rec 709, view as YV12 DIB internal decoder.

I want to avoid unexpected and unwanted color convertion.

Case a) configuration :
Color Depth : Input YV12 (default of Rec601), output YV12 Rec709
Input1
My own 4:2:0 -> 4:2:2 convertion filter.
RGBConv (Rec 601)
Filter Process RGB
RGBConv (Rec709) -> output YV444 Rec709 format.
convertion format (VDub) YV12Rec709
Alias Rec601
... Not working.
Remove alias, not working.
It seems that if output is set to YV12Rec709 i can't indeed no save at all... Even on uncompressed.
Is there a codec/way to save if output is set to YV12Rec709 ?
If not, what the point of allowing it ?

Case cool.gif configuration :
Color Depth : Input YV12 Rec709, output YV12 Rec709
Input2 -> As input is defined in Rec709, i assume VDub is not doing any color convertion, is it correct ?
My own 4:2:0 -> 4:2:2 convertion filter.
RGBConv (Rec 709)
Filter Process RGB
RGBConv (Rec709) -> output YV444 Rec709 format.
convertion format (VDub) YV12Rec709
Still same ending issue.

I wanted to use the new color format, this would have been more precise in my working chain. But, from the tests and what i see, for now they provide only hindrance and zero benefit. I'll probably reverse to the first case, where i tag everything on simple "YV12"...

Posted by: phaeron May 19 2013, 11:30 PM
Input and output formats need to be Rec. 601, filter chain needs to alias to Rec. 709 and back internally.


Posted by: jpsdr May 20 2013, 07:18 AM
If i understand properly :
I need to set colordepth input/output to Rec601, and absolutely not use Rec709, even if they are avaible ? So question : Why are they avaible in that case ??? Or for what purpose/situation are they usefull ?
And i need to to internaly alias.

So, if my input file is an avisynth script giving me YV12 Rec709 from Blu-Ray, and i want to process and save an YV12 Rec709 avi file, if i'm doing the following :
- Set color Depth input to YV12 Rec601
- Alias 709
- Do my process
- Alias 601
- Set color Depth output to YV12 Rec601
=> There will be NO color conversion from VDub, and i'll have my YV12 Rec709 avi file. Am i correct ?

Posted by: schleimboitel May 26 2013, 12:57 AM
Hi

I have a weird bug with the test9 but also with earlier, stable versions.

When I enqueue a external encoder rendering to the jobs list, and it get's rendered by another (and only another) instance of VDub (with an shared job list), the muxed file gets moved to the working directory of VirtualDub instead of staying at the given output directory where the 0-byte container is created. In the output directory the 0byte-container or nothing is left after the muxing process closes. No problems with only audio or video - but muxed files get moved every time with shared job lists.

Example:
Start "...virtualdub.exe / master C:\vdub.jobs"
Start "...vdub.exe /slave C:\vdub.jobs

Open a file and render it by "queue batch operation" --> "export using external encoder'. Choose a encoder set which muxes audio and video. The slave starts rendering the job to the given output directory, e.g. "E:\videos\". After finishing the process, the file get's moved to the working directory (like "C:\program files (x86)\virtualdub\"). If there is no writing access to the working directory, the file gets stored by windows to the virtual store (like "C:\Users\user\AppData\Local\VirtualStore\Program Files (x86)\VirtualDub".)

Edit: If you look into the Job Control you'll see there are no entries in the "dest"-column.


http://forums.virtualdub.org/index.php?act=ST&f=5&t=21647 for an extended description and discussion.

Posted by: ask-rus May 26 2013, 08:18 AM
When (first version) & Why removed the command line parameter?
QUOTE (1.10.1)
(test-2) Command line: Added /portable to initialize portable settings mode.

Posted by: loin2kolpotoru May 31 2013, 10:49 AM
/portable parameter is present in VirtualDub-1.10.4-test8, but there is a bug in VirtualDub-1.10.4-test8 due to which it crashes when /portable parameter is used.

Posted by: jpsdr Jun 5 2013, 08:51 AM
Bug report : When you use "cropping" with alias filter, the video is messed-up.

One way to trig the problem :
Set depth color input and output to YV12, create video test RGB cube, add alias to rec-709, and crop horizontal fast 16/16. Take a look at the output.

Posted by: jpsdr Jun 5 2013, 10:22 AM
I had a little hope when i just discovered the new version (13.0.1) of UT Video Codec handling BT709, but even if in my filter chain last output is YV12-BT709, output color depth is YV12-BT709, and compression codec is UT Video ULH0 (YV12-BT709), it's still not working... unsure.gif

Posted by: phaeron Jun 9 2013, 12:24 AM
Posted test-10 with alias format and /portable fix. The latter wasn't removed; it just broke due to not supporting something another part of the program was doing.

The most likely reason for the master/slave export issues is that the CLI template is using %(outputname) instead of %(outputfile). The former is just the filename while the latter includes the full path; in the actual command line you want the full path.

Posted by: ask-rus Jun 9 2013, 10:09 AM
phaeron
Thanks!

Posted by: loin2kolpotoru Jun 18 2013, 08:35 PM
Thank you for fixing /portable launch.

Posted by: DarrellS Jun 19 2013, 04:33 PM
QUOTE (phaeron @ Jun 8 2013, 05:24 PM)

The most likely reason for the master/slave export issues is that the CLI template is using %(outputname) instead of %(outputfile). The former is just the filename while the latter includes the full path; in the actual command line you want the full path.


So when we create our encoder sets, should we use %(outputfile) instead of %(outputname)? Not for master/slave but in general.

I'm having an issue with some encoders that I'm testing where Virtualdub refuses to create the file because it either can't find the file path or the filename already exists. I've never been able to mux anything besides mpeg2 with ffmpeg.exe and some encoders I've been experimenting with lately give the same type of error when trying to encode the video.

I don't have any problems using ffmpeg to encode or mux on it's own but when I use the same argument with ffmpeg in Virtualdub external encoder, it always fails. I had heard that a lot of things broke with newer versions of ffmpeg so I downloaded the oldest version that I could find (5-2011) to use just for muxing but it still doesn't work.

One thing that I've noticed is that ffmpeg will give the video the container name webm instead of the fourcc name vp8 or FLV instead h263 and this breaks the external encoder since Virtualdub already has the filename.container listed in save as. If I try and change the extension, it overrides it with xxx.vp8.webm (or whatever file type I'm trying to create) and still fails. If the external encoder gave you an option to overwrite the file that it thinks it sees with the files that it just created instead of just failing and deleting the files it just created and leaving an empty container, that would be nice. When using the command prompt, you usually get that option.

Posted by: schleimboitel Jun 19 2013, 05:41 PM
QUOTE (phaeron @ Jun 9 2013, 12:24 AM)
The most likely reason for the master/slave export issues is that the CLI template is using %(outputname) instead of %(outputfile). The former is just the filename while the latter includes the full path; in the actual command line you want the full path.

Aaah... it works! Im sorry I thought it was a bug, but I've tried so much..

Thanks for your support!

Posted by: phaeron Jun 30 2013, 10:34 PM
Always use the *file variants unless you specifically need to do name hacking, i.e. creating another similarly named filename. In the latter case, use %(outputdir) and %(outputname). For instance, you could pass %(outputname) and %(outputdir)\%(outputname).stats.

Also, remember to quote filenames appropriately so things don't blow up when there is a space in a directory name.

Regarding tools picking their own extensions -- this is not ideal, as then VirtualDub doesn't know what file is actually getting produced. However, I've added a %(outputbasename) tag so that you can get the base filename without the extension.

Posted by: DarrellS Jul 4 2013, 05:28 PM
I was able to fix the problem with ffmpeg by adding -f webm -y "%(outputname)" as recommended by another user.

Using -y overwrites the existing file. I'm not sure I even need to use the -f command but it works so I don't want to change it.

Posted by: dloneranger Jul 31 2013, 10:06 PM
IVTC filter

Reducing frame rate can produce denominators too large for some codecs (tested with x264vfw)
After calculating the 4/5 reduction, the denom/numerator can be above 0x80000000 which causes a codec error (value too high)

Also, the IVTC only does 5/4 reduction, but 6/5 is also common in 25->30fps clips

Posted by: phaeron Aug 18 2013, 06:42 PM
This is a bug in x264vfw. Stream sample rate fractions are unsigned integers and values above 0x80000000 are valid.

Posted by: BugMaster Aug 19 2013, 06:00 PM
If you mean this error:
CODE
x264vfw [error]: Effective timebase denominator 2147483650 exceeds H.264 maximum
x264vfw [error]: x264_encoder_open failed

Than that is not x264vfw's bug but exactly what is written: limitation of the specs. x264vfw correctly process fps information as uint32_t/uint32_t up to this check.

Posted by: Altaf Aug 21 2013, 06:27 AM
I beg you pardon. Please, delete all messages on my issue. I made a new topic and sad everything in it.

Posted by: dloneranger Aug 21 2013, 12:55 PM
@Altaf
You'd have to give a better description - final stage of processing probably means something to you, but could be anything

Are you cutting compressed audio?
If so, then you will get differences in length
That's due to compressed audio being stored in frames of a certain time length
You can only cut that audio on the frame, not in between
These frames hardly ever line up with the video frames, so there will be a difference between the two values

To cut the audio exactly on video frames you have to work with uncompressed audio

Posted by: Altaf Aug 23 2013, 05:39 AM
I beg you pardon. Please, delete all messages on my issue. I made a new topic and sad everything in it.
http://forums.virtualdub.org/index.php?act=ST&f=15&t=21771&st=0&#entry93973

Posted by: -vdub- Aug 23 2013, 04:05 PM
@Altaf.. Drag and drop videos to the Batch Wizard it is a known problem as there is no filter select to load the videos with. which I have reported previously on a Virtualdub beta thread. We still wait for Phaeron to add code for it to work correctly

Posted by: jpsdr Sep 1 2013, 02:00 PM
Resize filter converted to 444 an YV12-BT709...

Posted by: phaeron Sep 8 2013, 09:45 PM
Test-12 is up with expanded format support in the resize filter and a token-dropdown in the external encoder setup UI.

Anyone know what the fraction denominator limit for H.264 is?

Posted by: dloneranger Sep 9 2013, 01:20 PM
QUOTE (phaeron @ Sep 8 2013, 10:45 PM)
Anyone know what the fraction denominator limit for H.264 is?

All I can usefully find is this in x264's source code
CODE
   if( (uint64_t)h->param.i_timebase_den * 2 > UINT32_MAX )
   {
       x264_log( h, X264_LOG_ERROR, "Effective timebase denominator %u exceeds H.264 maximum\n", h->param.i_timebase_den );
       goto fail;
   }

Posted by: NeXT Sep 12 2013, 12:41 PM
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 smile.gif)

Posted by: dloneranger Sep 12 2013, 02:24 PM
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

Posted by: Altaf Oct 2 2013, 03:06 PM
And my version ехе http://rusfolder.com/38270711 in Russian and English, together with file VirtualDub.vdi. At batch operation has noticed an error, when this file from other set).

Posted by: v0lt Oct 2 2013, 04:49 PM
Incorrect links to test13 in the first post of topics.

Posted by: dloneranger Oct 2 2013, 04:57 PM
Links fixed for test13

Posted by: v0lt Oct 6 2013, 04:21 PM
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?

Posted by: meowmeow Oct 6 2013, 06:37 PM
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.

Posted by: v0lt Oct 8 2013, 03:12 AM
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

Posted by: meowmeow Oct 8 2013, 03:04 PM
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.

Posted by: raffriff42 Oct 8 2013, 09:39 PM
http://msdn.microsoft.com/en-us/library/windows/desktop/dd206750%28v=vs.85%29.aspx#YUV420formats12bitsperpixel, but as meowmeow is saying (I think!) the YCbCr uncompressed format uses 16 bits per pixel for efficient processing.

Posted by: v0lt Oct 9 2013, 06:02 PM
QUOTE (raffriff42 @ Oct 8 2013, 09:39 PM)
http://msdn.microsoft.com/en-us/library/windows/desktop/dd206750%28v=vs.85%29.aspx#YUV420formats12bitsperpixel, 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.

Posted by: meowmeow Oct 10 2013, 01:59 AM
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 smile.gif

And H.264 uses 0.05 bpp smile.gif

Posted by: raffriff42 Oct 10 2013, 01:21 PM
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...

Posted by: raffriff42 Oct 11 2013, 01:43 PM
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

https://dl.dropboxusercontent.com/u/108089426/Code/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:
https://dl.dropboxusercontent.com/u/108089426/Code/test_nofilters%2Cvid%3Dblank%2Caud%3Dpcm.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.'

Posted by: phaeron Oct 27 2013, 11:43 PM
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?

Posted by: v0lt Oct 28 2013, 03:39 PM
QUOTE (phaeron @ Oct 27 2013, 11:43 PM)
Confirmed NV12 bpp is incorrect -- fixed in 1.10.4 final.

Thank you. Good news!

Posted by: raffriff42 Oct 29 2013, 06:49 PM
QUOTE (phaeron @ Oct 27 2013, 11:43 PM)
Does this happen if you use a test video from Tools > Create Test Video instead of loading one from a file?

No! The crash occurs with no video open at all, but not with a test video open smile.gif

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)