제가 사용하는 설정에서 다른 동영상 파일 mp4, avi 등등은 정상적으로 화면 비율이 나옵니다.
하지만 VOB 파일 경우 화면 비율이 다르게 나옵니다.
VOB 파일 경우 화면크기가 720x576 입니다.
양쪽에 검은색의 레더박스가 있어서 "구간설정/잘라내기" 부분에서 양쪽 각각 20 잘랐습니다.
그래서 화면부분만 680x576 이 되었습니다.
여기에서 인코딩 부분에서 680x576을 화면 비율에 맞게 다시 720x610으로 맞추었습니다.
파일 정보를 보면 원본/인코딩 본 모두 프레임 너비가 720으로 표시되어 있지만, 실제 인코딩이 된 이후에는 서로 넓이가 다릅니다.
또한 원본에서 화면만 나오는 부분을 인코딩본과 비교해 보면, 인코딩본이 세로길이가 더 길게 나오는 형태입니다.
일반적인 동영상 파일 경우는..
그냥 비율대로 정확하게 나오는데 VOB 파일들만 이런 형상이 나오고 있습니다.
어떤 부분을 수정해야 하는지 궁금합니다.
참고적으로 "영상 사이즈 변경"을 하지 않을 경우에는 원본 화면 비율에서 화면 부분(680x576)에 맞게 제대로 인코딩이 됩니다.
왼쪽이 원본이고 오른쪽이 위의 세팅에 맞추어 실행한 인코딩본이고, 아래것은 원본과 인코딩본을 겹쳐놓은 것입니다.
파일 정보에서 모두 720으로 동일하게 나오지만, 서로 프레이 너비가 틀립니다.
원본에 화면만 나오는 부분에 인코딩본을 겹쳐 놓으면 인코딩본이 세로로 좀더 길게 나옵니다.
## 원본 ##
General
Complete name : D:\D\폴더\1-1.VOB
Format : MPEG-PS
File size : 525 MiB
Duration : 14 min 15 s
Overall bit rate mode : Variable
Overall bit rate : 5 144 kb/s
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=7
Format settings, picture structure : Frame
Duration : 14 min 15 s
Bit rate mode : Variable
Bit rate : 4 817 kb/s
Maximum bit rate : 5 800 kb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 FPS
Standard : PAL
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.465
Time code of first frame : 14:59:15:00
Time code source : Group of pictures header
GOP, Open/Closed : Open
Stream size : 491 MiB (94%)
Color primaries : BT.601 PAL
Transfer characteristics : BT.470 System B/G
Matrix coefficients : BT.470 System B/G
Audio
ID : 189 (0xBD)-128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Muxing mode : DVD-Video
Duration : 14 min 15 s
Bit rate mode : Constant
Bit rate : 224 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : -280 ms
Stream size : 22.8 MiB (4%)
Service kind : Complete Main
Menu
자세한 정보
General
Count : 331
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Count of video streams : 1
Count of audio streams : 1
Count of menu streams : 1
Video_Format_List : MPEG Video
Video_Format_WithHint_List : MPEG Video
Codecs Video : MPEG Video
Audio_Format_List : AC-3
Audio_Format_WithHint_List : AC-3
Audio codecs : AC-3
Menu_Format_List : DVD-Video
Menu_Format_WithHint_List : DVD-Video
Menu codecs : DVD-Video
Complete name : D:\D\폴더\1-1.VOB
Folder name : D:\D\폴더
File name extension : 1-1.VOB
File name : 1-1
File extension : VOB
Format : MPEG-PS
Format : MPEG-PS
Format/Extensions usually used : mpeg mpg m2p vob vro pss evo
Commercial name : MPEG-PS
Internet media type : video/MP2P
File size : 550135808
File size : 525 MiB
File size : 525 MiB
File size : 525 MiB
File size : 525 MiB
File size : 524.7 MiB
Duration : 855648
Duration : 14 min 15 s
Duration : 14 min 15 s 648 ms
Duration : 14 min 15 s
Duration : 00:14:15.648
Duration : 00:14:15:10
Duration : 00:14:15.648 (00:14:15:10)
Overall bit rate mode : VBR
Overall bit rate mode : Variable
Overall bit rate : 5143571
Overall bit rate : 5 144 kb/s
Frame rate : 25.000
Frame rate : 25.000 FPS
Frame count : 21385
Stream size : 11097064
Stream size : 10.6 MiB (2%)
Stream size : 11 MiB
Stream size : 11 MiB
Stream size : 10.6 MiB
Stream size : 10.58 MiB
Stream size : 10.6 MiB (2%)
Proportion of this stream : 0.02017
File creation date : UTC 2020-12-31 23:56:52.535
File creation date (local) : 2021-01-01 08:56:52.535
File last modification date : UTC 2020-03-21 01:58:47.114
File last modification date (local) : 2020-03-21 10:58:47.114
Video
Count : 378
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
FirstPacketOrder : 0
ID : 224
ID : 224 (0xE0)
Format : MPEG Video
Format : MPEG Video
Commercial name : MPEG-2 Video
Format version : Version 2
Format profile : Main@Main
Format settings : BVOP
Format settings, BVOP : Yes
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, Matrix : Default
Format settings, GOP : M=3, N=7
Format settings, picture structure : Frame
Internet media type : video/MPV
Duration : 855400
Duration : 14 min 15 s
Duration : 14 min 15 s 400 ms
Duration : 14 min 15 s
Duration : 00:14:15.400
Duration : 00:14:15:10
Duration : 00:14:15.400 (00:14:15:10)
Bit rate mode : VBR
Bit rate mode : Variable
Bit rate : 4817214
Bit rate : 4 817 kb/s
Maximum bit rate : 5800000
Maximum bit rate : 5 800 kb/s
Width : 720
Width : 720 pixels
Height : 576
Height : 576 pixels
Sampled_Width : 720
Sampled_Height : 576
Pixel aspect ratio : 1.067
Display aspect ratio : 1.333
Display aspect ratio : 4:3
Frame rate : 25.000
Frame rate : 25.000 FPS
Frame count : 21385
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Interlaced
Scan type : Interlaced
Scan order : TFF
Scan order : Top Field First
Compression mode : Lossy
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.465
Delay : 3550960.000000
Delay : 59 min 10 s
Delay : 59 min 10 s 960 ms
Delay : 59 min 10 s
Delay : 00:59:10.960
Delay_DropFrame : No
Delay, origin : Container
Delay, origin : Container
Delay_Original : 53955000
Delay_Original : 14 h 59 min
Delay_Original : 14 h 59 min 15 s 0 ms
Delay_Original : 14 h 59 min
Delay_Original : 14:59:15.000
Delay_Original_Settings : drop_frame_flag=0 / closed_gop=0 / broken_link=0
Delay_Original_DropFrame : No
Delay_Original_Source : Stream
Time code of first frame : 14:59:15:00
Time code source : Group of pictures header
GOP, Open/Closed : Open
GOP, Open/Closed : Open
Stream size : 515080600
Stream size : 491 MiB (94%)
Stream size : 491 MiB
Stream size : 491 MiB
Stream size : 491 MiB
Stream size : 491.2 MiB
Stream size : 491 MiB (94%)
Proportion of this stream : 0.93628
Buffer size : 229376
colour_description_present : Yes
colour_description_present_Source : Stream
Color primaries : BT.601 PAL
colour_primaries_Source : Stream
Transfer characteristics : BT.470 System B/G
transfer_characteristics_Source : Stream
Matrix coefficients : BT.470 System B/G
matrix_coefficients_Source : Stream
intra_dc_precision : 10
Audio
Count : 303
Count of stream of this kind : 1
Kind of stream : Audio
Kind of stream : Audio
Stream identifier : 0
StreamOrder : 0
FirstPacketOrder : 1
ID : 189-128
ID : 189 (0xBD)-128 (0x80)
Format : AC-3
Format : AC-3
Format/Info : Audio Coding 3
Format/Url : https://en.wikipedia.org/wiki/AC3
Commercial name : Dolby Digital
Commercial name : Dolby Digital
Format settings, Endianness : Big
Muxing mode : DVD-Video
Duration : 855648
Duration : 14 min 15 s
Duration : 14 min 15 s 648 ms
Duration : 14 min 15 s
Duration : 00:14:15.648
Duration : 00:14:22:17
Duration : 00:14:15.648 (00:14:22:17)
Bit rate mode : CBR
Bit rate mode : Constant
Bit rate : 224000
Bit rate : 224 kb/s
Channel(s) : 2
Channel(s) : 2 channels
Channel positions : Front: L R
Channel positions : 2/0/0
Channel layout : L R
Samples per frame : 1536
Sampling rate : 48000
Sampling rate : 48.0 kHz
Samples count : 41071104
Frame rate : 31.250
Frame rate : 31.250 FPS (1536 SPF)
Frame count : 26739
Compression mode : Lossy
Compression mode : Lossy
Delay : 3550680.000000
Delay : 59 min 10 s
Delay : 59 min 10 s 680 ms
Delay : 59 min 10 s
Delay : 00:59:10.680
Delay, origin : Container
Delay, origin : Container
Delay relative to video : -280
Delay relative to video : -280 ms
Delay relative to video : -280 ms
Delay relative to video : -280 ms
Delay relative to video : -00:00:00.280
Stream size : 23958144
Stream size : 22.8 MiB (4%)
Stream size : 23 MiB
Stream size : 23 MiB
Stream size : 22.8 MiB
Stream size : 22.85 MiB
Stream size : 22.8 MiB (4%)
Proportion of this stream : 0.04355
Service kind : CM
Service kind : Complete Main
bsid : 8
dialnorm : -31
dialnorm : -31 dB
compr : -0.28
compr : -0.28 dB
dsurmod : 1
dsurmod : Not Dolby Surround encoded
acmod : 2
lfeon : 0
dialnorm_Average : -31
dialnorm_Average : -31 dB
dialnorm_Minimum : -31
dialnorm_Minimum : -31 dB
dialnorm_Maximum : -31
dialnorm_Maximum : -31 dB
dialnorm_Count : 584
compr_Average : -0.77
compr_Average : -0.77 dB
compr_Minimum : -0.86
compr_Minimum : -0.86 dB
compr_Maximum : -0.56
compr_Maximum : -0.56 dB
compr_Count : 15
Menu
Count : 94
Count of stream of this kind : 1
Kind of stream : Menu
Kind of stream : Menu
Stream identifier : 0
Format : DVD-Video
Format : DVD-Video
Commercial name : DVD-Video
MediaInfoLib - v19.09
## 인코딩 ##
General
Complete name : D:\D\1-1.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 5.66 MiB
Duration : 18 s 760 ms
Overall bit rate : 2 532 kb/s
Writing application : ShanaEncoder
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.1
Format settings : 1 Ref Frames
Format settings, CABAC : No
Format settings, Reference frames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 18 s 760 ms
Bit rate : 2 305 kb/s
Nominal bit rate : 2 100 kb/s
Width : 720 pixels
Height : 610 pixels
Display aspect ratio : 1.180
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.210
Stream size : 5.15 MiB (91%)
Writing library : x264 core 161 r3015 4c2aafd
Encoding settings : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=6 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=25 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=abr / mbtree=1 / bitrate=2100 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Codec configuration box : avcC
Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 18 s 571 ms
Bit rate mode : Constant
Bit rate : 224 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 509 KiB (9%)
Default : Yes
Alternate group : 1
자세한 정보
General
Count : 331
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Count of video streams : 1
Count of audio streams : 1
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Audio_Format_List : AAC LC
Audio_Format_WithHint_List : AAC LC
Audio codecs : AAC LC
Complete name : D:\D\1-1.mp4
Folder name : D:\D
File name extension : 1-1.mp4
File name : 1-1
File extension : mp4
Format : MPEG-4
Format : MPEG-4
Format/Extensions usually used : braw mov mp4 m4v m4a m4b m4p m4r 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
Commercial name : MPEG-4
Format profile : Base Media
Internet media type : video/mp4
Codec ID : isom
Codec ID : isom (isom/iso2/avc1/mp41)
Codec ID/Url : http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible : isom/iso2/avc1/mp41
File size : 5937338
File size : 5.66 MiB
File size : 6 MiB
File size : 5.7 MiB
File size : 5.66 MiB
File size : 5.662 MiB
Duration : 18760
Duration : 18 s 760 ms
Duration : 18 s 760 ms
Duration : 18 s 760 ms
Duration : 00:00:18.760
Duration : 00:00:18:19
Duration : 00:00:18.760 (00:00:18:19)
Overall bit rate : 2531914
Overall bit rate : 2 532 kb/s
Frame rate : 25.000
Frame rate : 25.000 FPS
Frame count : 469
Stream size : 12029
Stream size : 11.7 KiB (0%)
Stream size : 12 KiB
Stream size : 12 KiB
Stream size : 11.7 KiB
Stream size : 11.75 KiB
Stream size : 11.7 KiB (0%)
Proportion of this stream : 0.00203
HeaderSize : 40
DataSize : 5925317
FooterSize : 11981
IsStreamable : No
File creation date : UTC 2021-01-01 00:08:08.660
File creation date (local) : 2021-01-01 09:08:08.660
File last modification date : UTC 2021-01-01 00:08:13.149
File last modification date (local) : 2021-01-01 09:08:13.149
Writing application : ShanaEncoder
Writing application : ShanaEncoder
Video
Count : 378
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
StreamOrder : 0
ID : 1
ID : 1
Format : AVC
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Commercial name : AVC
Format profile : Baseline@L3.1
Format settings : 1 Ref Frames
Format settings, CABAC : No
Format settings, CABAC : No
Format settings, Reference frames : 1
Format settings, Reference frames : 1 frame
Internet media type : video/H264
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 18760
Duration : 18 s 760 ms
Duration : 18 s 760 ms
Duration : 18 s 760 ms
Duration : 00:00:18.760
Duration : 00:00:18:19
Duration : 00:00:18.760 (00:00:18:19)
Bit rate : 2304613
Bit rate : 2 305 kb/s
Nominal bit rate : 2100000
Nominal bit rate : 2 100 kb/s
Width : 720
Width : 720 pixels
Height : 610
Height : 610 pixels
Stored_Height : 624
Sampled_Width : 720
Sampled_Height : 610
Pixel aspect ratio : 1.000
Display aspect ratio : 1.180
Display aspect ratio : 1.180
Rotation : 0.000
Frame rate mode : CFR
Frame rate mode : Constant
FrameRate_Mode_Original : VFR
Frame rate : 25.000
Frame rate : 25.000 FPS
Frame count : 469
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Bits/(Pixel*Frame) : 0.210
Stream size : 5404318
Stream size : 5.15 MiB (91%)
Stream size : 5 MiB
Stream size : 5.2 MiB
Stream size : 5.15 MiB
Stream size : 5.154 MiB
Stream size : 5.15 MiB (91%)
Proportion of this stream : 0.91023
Writing library : x264 - core 161 r3015 4c2aafd
Writing library : x264 core 161 r3015 4c2aafd
Encoded_Library_Name : x264
Encoded_Library_Version : core 161 r3015 4c2aafd
Encoding settings : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=6 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=25 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=abr / mbtree=1 / bitrate=2100 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Codec configuration box : avcC
Audio
Count : 280
Count of stream of this kind : 1
Kind of stream : Audio
Kind of stream : Audio
Stream identifier : 0
StreamOrder : 1
ID : 2
ID : 2
Format : AAC
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Commercial name : AAC
Format_AdditionalFeatures : LC
Codec ID : mp4a-40-2
Duration : 18571
Duration : 18 s 571 ms
Duration : 18 s 571 ms
Duration : 18 s 571 ms
Duration : 00:00:18.571
Duration : 00:00:18:26
Duration : 00:00:18.571 (00:00:18:26)
Bit rate mode : CBR
Bit rate mode : Constant
Bit rate : 224436
Bit rate : 224 kb/s
Channel(s) : 2
Channel(s) : 2 channels
Channel positions : Front: L R
Channel positions : 2/0/0
Channel layout : L R
Samples per frame : 1024
Sampling rate : 48000
Sampling rate : 48.0 kHz
Samples count : 891408
Frame rate : 46.875
Frame rate : 46.875 FPS (1024 SPF)
Frame count : 872
Compression mode : Lossy
Compression mode : Lossy
Stream size : 520991
Stream size : 509 KiB (9%)
Stream size : 509 KiB
Stream size : 509 KiB
Stream size : 509 KiB
Stream size : 508.8 KiB
Stream size : 509 KiB (9%)
Proportion of this stream : 0.08775
Default : Yes
Default : Yes
Alternate group : 1
Alternate group : 1
MediaInfoLib - v19.09