Go Back    Forum > Digital Video > Video Project Help > Capture, Record, Transfer

Reply
 
LinkBack Thread Tools
  #1  
08-05-2019, 11:21 PM
MadScientist MadScientist is offline
Free Member
 
Join Date: Jul 2019
Posts: 20
Thanked 1 Time in 1 Post
When using Virtualdub to capture with my JVC S9800 > VC500, the video is being captured at 720x480. When I take the resulting AVI file and run it thru TMPGEnc, it still comes out with a frame size of 720x480, however, the actual image is now 640x480. Obviously I know that 640x480 is 4:3 which is the correct aspect ratio for VHS, but so then what's the best way to convert my loseless AVI's so that they also use the correct aspect ratio? Also, is there a setting in TMPGEnc that will allow me to use the original 720x480 frame size and NOT change it to 640x480? Not that I want to do this but I'm just wondering if there is actually a setting that will allow me to.

Here's a sample of what I'm talking about...
Aspect Ratio Issue.gif


Here's the MediaInfo Data for both files...

Virtualdub Original
Code:
General
Complete name                            : N:\VirtualDub Lagarith.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 85.6 MiB
Duration                                 : 13 s 926 ms
Overall bit rate                         : 51.6 Mb/s

Video
ID                                       : 0
Format                                   : Lagarith
Codec ID                                 : LAGS
Duration                                 : 13 s 914 ms
Bit rate                                 : 50.1 Mb/s
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 3:2
Frame rate                               : 29.970 (30000/1001) FPS
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 4.833
Stream size                              : 83.0 MiB (97%)

Audio
ID                                       : 1
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : 1
Duration                                 : 13 s 926 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 536 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Stream size                              : 2.55 MiB (3%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 10  ms (0.30 video frame)
Interleave, preload duration             : 19  ms
Converted with TMPGEnc
Code:
General
Complete name                            : N:\Converted with TMPGEnc Plus.mpg
Format                                   : MPEG-PS
File size                                : 1.53 MiB
Duration                                 : 13 s 920 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 919 kb/s
Writing library                          : encoded by TMPGEnc (ver. 2.524.63.181)

Video
ID                                       : 224 (0xE0)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings                          : CustomMatrix / BVOP
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : M=3, N=18
Format settings, picture structure       : Frame
Duration                                 : 13 s 914 ms
Bit rate mode                            : Variable
Bit rate                                 : 773 kb/s
Maximum bit rate                         : 3 000 kb/s
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 4:3
Frame rate                               : 29.970 (30000/1001) FPS
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.075
Time code of first frame                 : 00:00:00:00
Time code source                         : Group of pictures header
GOP, Open/Closed                         : Open
GOP, Open/Closed of first frame          : Closed
Stream size                              : 1.28 MiB (84%)
Writing library                          : TMPGEnc 2.524.63.181
Color primaries                          : BT.601 NTSC
Transfer characteristics                 : BT.601
Matrix coefficients                      : BT.601

Audio
ID                                       : 192 (0xC0)
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Duration                                 : 13 s 920 ms
Bit rate mode                            : Constant
Bit rate                                 : 128 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 kHz
Frame rate                               : 41.667 FPS (1152 SPF)
Compression mode                         : Lossy
Stream size                              : 218 KiB (14%)


Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
08-06-2019, 07:05 AM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 Posts
Lossless, unencoded 720x480 AVI has no imbedded display aspect ratio data. Its physical aspect ratio (3:2) and display aspect ratio (3:2) are the same.

Encoded 720x480 DVD and 720x480 standard definition Bluray and 720x480 consumer DV-AVI have physical aspect ratios of 3:2, but they can be encoded for display aspect ratios (DAR) of 4:3 or 16:9. The playback display information is imbedded in the encoded video to tell players how to play the video. Playback information does not exist for lossless, unencoded video media -- a player will play them as-is.

For posting on the internet, anamorphic frame sizes such as 720x480 are seldom allowed. Internet video players cannot handle those files. Instead, the internet accepts only square-pixel video, i.e, the video's display aspect ratio is the same as its frame size, whether it's 640x480 (4:3), 400x300 (4:3), 856x480 (16:9), 1280x720 (16:9), etc., etc.

Anamorphic frame sizes (where the display aspect ratio information is different than the physical aspect ratio) have been in use for more than 70 years. And by the way, a 4:3 video doesn't play at 640x480 on a 1920x1080 display. At full screen size the players play it as 1440x1080. "4:3" is an aspect ratio -- it is not a frame size. A PAL DVD video file at 720x576 has a physical aspect ratio of 5:4 but it can be encoded and play at either 4:3 DAR or as 16:9 DAR.

Last edited by sanlyn; 08-06-2019 at 07:24 AM.
Reply With Quote
The following users thank sanlyn for this useful post: MadScientist (08-06-2019)
  #3  
08-06-2019, 11:41 PM
MadScientist MadScientist is offline
Free Member
 
Join Date: Jul 2019
Posts: 20
Thanked 1 Time in 1 Post
I'm only concerned with playing the videos on my PC via MPC-BE and VLC. The only other place I will watch them is on the HTPC in my living room. I don't get involved in social media or any of that garbage, my friends and family actually come visit me in person where we have real life conversations face to face, not over an ethernet cable.

So what's the consensus on how to handle this type situation? Do I just let TMPGEnc do it's thing and leave it as it is, or is there a better solution?
Reply With Quote
  #4  
08-07-2019, 03:24 AM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 Posts
Let TMPGenc and other MPEG encoders do their thing. Further processing of your captures will involve quality issues, depending on how you do it. Your workflow isn't that advanced and you don't yet understand much of it anyway, so continue with the standard way you're doing it now. What you are now getting for final output is standard-spec MPEG for DVD, which is universally playable on anything.
Reply With Quote
  #5  
08-07-2019, 08:42 AM
dpalomaki dpalomaki is offline
Free Member
 
Join Date: Feb 2014
Location: VA
Posts: 1,694
Thanked 369 Times in 325 Posts
Not sure how you prepared the sample.

Your player may allow you select the aspect ratio for viewing (VLC does from the VIDEO drop down).
Reply With Quote
  #6  
08-07-2019, 03:03 PM
MadScientist MadScientist is offline
Free Member
 
Join Date: Jul 2019
Posts: 20
Thanked 1 Time in 1 Post
Quote:
Originally Posted by sanlyn View Post
Let TMPGenc and other MPEG encoders do their thing. Further processing of your captures will involve quality issues, depending on how you do it. Your workflow isn't that advanced and you don't yet understand much of it anyway, so continue with the standard way you're doing it now. What you are now getting for final output is standard-spec MPEG for DVD, which is universally playable on anything.
Where did I say I anything about "further processing"? I'm just trying to use the correct settings in TMPGEnc so that I can process the file ONE TIME, not multiple times.

Quote:
Originally Posted by dpalomaki View Post
Not sure how you prepared the sample.

Your player may allow you select the aspect ratio for viewing (VLC does from the VIDEO drop down).
I guess you must have started reading my original post from the middle then because I clearly stated how I captured the sample in my first sentence.
Reply With Quote
  #7  
08-07-2019, 03:35 PM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 Posts
I think you just have a problem understanding the format. You are using a DVD encoder. A standard NTSC DVD is interlaced 720x480 encoded using the MPEG2 codec and set for 4:3 playback. That is what standard DVD is, and it is universally playable on HTPC's, TV's, DVD players, Bluray players, and media servers. You can't change the frame size to 640x480 because it's not valid for DVD. If 640x480 is the physical frame size you want, you'll have to do more processing, which will involve deinterlacing and several other things.

If you want your editor or VirtualDub to display the 720x480 frame as a 4:3 image, tell your editor to do so. You can do that for display only, without physically changing the frame size. In VirtualDub, right-click on either the input panel or the output panel (or both) and select your desired display aspect ratio from the list in the resulting menu. If you want your PC media player to display your lossless 720x480 capture as 4:3, you can tell your PC media player to do so. Meanwhile your MPEG encoded final output will display as 4:3 anywhere, by default.

If you want another format or different physical frame size, then you don't want DVD encoding and you have some learning ahead of you about formats, processing, and encoding.
Reply With Quote
  #8  
08-07-2019, 06:50 PM
dpalomaki dpalomaki is offline
Free Member
 
Join Date: Feb 2014
Location: VA
Posts: 1,694
Thanked 369 Times in 325 Posts
My question is not how you encoded the two files. Both are 720x480.

The question is how did you prepare the GIF file.

To repeat what sanlyn in somewhat different words:

The VDUB looks like a 4:3 aspect image that is stretched to display as a 3:2 aspect ratio with square pixels. This is not not the normal pixel aspect for SD video in NTSC or PAL, wide screen or 4:3. If you are viewing the VDUB file with VLC, select the 4:3 aspect ration to get it to display right.

The image portion (excluding the white edge bars) of the TMPGEnc looks like a normal 4:3 display. And that corresponds to the MediaInfo report. How many pixels it occupies on the display will depend on scaling by the display system.

Most computer displays are based on square pixels, but analog SD video and CRT TVs were NOT. It was based on raster lines - pixels only came into play with the move to digital. A not uncommon issue these days with HDMI-connected systems is getting the aspect ratio information correct, otherwise the display may show the video incorrectly. The HDMI connection may preclude the user selecting a different aspect ratio for the program material.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixing aspect ratio on VirtualDub? crissrudd4554 Capture, Record, Transfer 7 03-11-2019 04:00 PM
Problem with x264 aspect ratio/upscale in Virtualdub Bobban Encode, Convert for streaming 2 06-27-2017 04:20 PM
Set aspect ratio in VirtualDub for 352x480 premiumcapture Restore, Filter, Improve Quality 4 12-27-2013 08:52 PM
Need help fixing aspect ratio wayshway Videography: Cameras, TVs and Players 8 04-30-2008 04:10 PM
Help Fix Aspect Ratio Konfusion Restore, Filter, Improve Quality 3 11-04-2006 01:43 PM

Thread Tools



 
All times are GMT -5. The time now is 06:00 PM