|
|
| Jared |
| Posted: Mar 16 2013, 07:03 PM |
 |
|
Newbie

Group: Members
Posts: 3
Member No.: 36271
Joined: 16-March 13

|
Hello!
My video file play but look distorted in output playback VirtualDub, how to fix it?
button is pressed - [Output playback] Starts preview of processed output:




button is pressed- [Input playback] Starts playback of the input file:

differences with the other regular video files only in the resolution.
Correctly video file: button is pressed - [Output playback] Starts preview of processed output:



Thank you for the assistant! |
 |
| Abrazo |
| Posted: Mar 16 2013, 09:29 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10

|
For some reason or another the width of the frames is 1677 (x 1050) instead of 1676 (x 1050). Every line that follows seems to be displaced with one pixel and color information has been lost.
Did you record it with an other program, or did you do the capture via VirtualDub ?
I am afraid that you can not correct such a badly recorded video with VirtualDub...
When no filters are applied in VirtualDub, then the video framesize of the output (right panel) should be exactly the same as that of the input (left panel), or it must be that somewhere in the parameters of the encoder itself there are some kind of 'resize'-settings being activated. In this last case, you will only see the bad result when the video has been rewritten to a new AVI, or if you ask to View > Display decompressed output.
When creating AVI's, always try to use even numbers for height and width of a video (= multiples of 2), or even better : multiples of 4. |
 |
| dloneranger |
| Posted: Mar 17 2013, 01:02 AM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Sometimes you decode the picture correctly by using the DirectShow plugin (the directshow codecs seem to be more forgiving than the vfw ones)
As it's mjpeg, you could also try virtualdubs own decoder, it's in the preferences->avi->prefer internal video decoders
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| Jared |
| Posted: Mar 17 2013, 07:17 AM |
 |
|
Newbie

Group: Members
Posts: 3
Member No.: 36271
Joined: 16-March 13

|
| QUOTE (Abrazo @ Mar 16 2013, 09:29 PM) | | For some reason or another the width of the frames is 1677 (x 1050) instead of 1676 (x 1050). |
I play the game in windowed mode, and sometimes accidentally change the size by clicking on the edge of the window.
| QUOTE (Abrazo @ Mar 16 2013, 09:29 PM) | | Did you record it with an other program, or did you do the capture via VirtualDub ? |
Video recorded internal game video recorder, below for more information:
| QUOTE | General Complete name : F:\Video\VirtualDub\Capture 2013-03-14 23-44-43-406.avi Format : AVI Format/Info : Audio Video Interleave Format profile : OpenDML File size : 4.39 GiB Duration : 9mn 33s Overall bit rate : 65.8 Mbps Writing application : BandiCaptureLibrary 1.4, Feb 9 2010 (Licensed to: NCSOFT_LINEAGE2_20100420)
Video ID : 0 Format : JPEG Codec ID : MJPG Duration : 9mn 33s Bit rate : 64.4 Mbps Width : 1 677 pixels Height : 1 050 pixels Display aspect ratio : 1.597 Frame rate : 30.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Compression mode : Lossy Bits/(Pixel*Frame) : 1.218 Stream size : 4.30 GiB (98%)
|
| QUOTE (Abrazo @ Mar 16 2013, 09:29 PM) | I am afraid that you can not correct such a badly recorded video with VirtualDub...
|
Is this restriction VirtualDub?
| QUOTE (Abrazo @ Mar 16 2013, 09:29 PM) | When no filters are applied in VirtualDub, then the video framesize of the output (right panel) should be exactly the same as that of the input (left panel), or it must be that somewhere in the parameters of the encoder itself there are some kind of 'resize'-settings being activated. In this last case, you will only see the bad result when the video has been rewritten to a new AVI, or if you ask to View > Display decompressed output.
When creating AVI's, always try to use even numbers for height and width of a video (= multiples of 2), or even better : multiples of 4.
|
Thanks for the tip, I'll try to monitor the size of the game window... but clicking mouse I can again accidentally change the size game window  Is it possible to change the size of the record for a single pixel in the "Direct Stream Copy"?
Why other video processing utility can successfully compress this record? For example "MediaCoder".
| QUOTE (dloneranger @ Mar 17 2013, 01:02 AM) | Sometimes you decode the picture correctly by using the DirectShow plugin (the directshow codecs seem to be more forgiving than the vfw ones)
|
Thanks, I'll try.
| QUOTE (dloneranger @ Mar 17 2013, 01:02 AM) | | As it's mjpeg, you could also try virtualdubs own decoder, it's in the preferences->avi->prefer internal video decoders |
It did not help, getting error:
|
 |
| -vdub- |
| Posted: Mar 17 2013, 08:01 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
| QUOTE (Jared @ Mar 17 2013, 07:17 AM) | | Why other video processing utility can successfully compress this record? For example "MediaCoder". | Try it and select output to uncompressed avi or with using Largarith or HuffYUV if have them installed
Load video with different virtualdub decoders external and internal save uncompressed using direct copy for both video and audio. Test with a small clip selected on timeline for speed.
Does VLC play it correctly you could then maybe stream capture it from VLC without quality loss |
 |
| Abrazo |
| Posted: Mar 17 2013, 08:56 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10

|
What about using a tool to resize the window to a specific size (width x height) before starting capture ?
> http://www.howtogeek.com/howto/28663/creat...ith-autohotkey/ |
 |
| Jared |
| Posted: Mar 17 2013, 10:50 AM |
 |
|
Newbie

Group: Members
Posts: 3
Member No.: 36271
Joined: 16-March 13

|
I heard about this program, tnx.
| QUOTE (-vdub- @ Mar 17 2013, 08:01 AM) | Try it and select output to uncompressed avi or with using Largarith or HuffYUV if have them installed
Load video with different virtualdub decoders external and internal save uncompressed using direct copy for both video and audio. Test with a small clip selected on timeline for speed.
|
Tried but did not work.
| QUOTE (-vdub- @ Mar 17 2013, 08:01 AM) | | Does VLC play it correctly you could then maybe stream capture it from VLC without quality loss |
Done! Capture mode with settings:
File -> Set capture file... (specify the filename); Device -> Video file; Video -> Source (select distorted video); Video -> Cropping -> X1 or X2 offset is increased by 1 and obtain the desired size; Video -> Set custom format -> Data format ->32-bit ARGB !!!; Capture -> Capture video.
Thanks all for advice! |
 |