인코딩 이후 동영상 스킵시(재생바에서 마우스로 앞뒤로 몇초 이상 이동) 화면이 일시 정지한 느낌으로 1초~2초 정지가 되었다가 다시 정상적으로 나옵니다.'
어떤 지점은 0.1초 어떤 지점은 1초 등등 이동 지점에 따라 정지되는 시간은 다릅니다.
동영상 플레이어는 "팟플레이어" 그리고 "Mpc-be" 이고, 탐색시 "키프레임 단위로 이동"은 해제된 상태입니다.
하지만 해제된 동일한 조건에서 원본에서는 딜레이가 안생지만, 인코딩 된 영상에만 딜레이가 발생합니다.
"키프레임 단위로 이동"을 체크하면 정지되는 시간이 0.1초~0.2초 정도 아주 짧게 정지됩니다.
원본이나 인코딩본 모두 스킵 없이 그냥 볼때에는 끊김이나 딜레이 없이 정상적으로 나옵니다.
회원님들의 도움이 꼭 필요합니다.
인코딩할 자료는 많은데...
모두 좋은 하루 되세요.**
참고적으로 저와 같은 문제가 발생해서, 다른 회원님이 이미 질문을 올렸는데 미해결 같습니다.
https://shana.pe.kr/shanaencoder_board_ko/22632
인코딩한 컴퓨터.
NT500R5K-K31M
브로드웰 / 코어i5-5세대 / i5-5200U 2.2GHz(2.7GHz) / 듀얼코어 / DDR3L / 8GB / SSD / 12
Windows 버전 RS5 1809 (OS 빌드 17763.107)
매개변수.
-f mp4
-c:v libx264
-c:a libfdk_aac
-sn -b:a 128k -ac 2 -crf 19.0 -profile:v baseline -level auto -preset veryfast -tune:v none
########################## 원본 파일정보. ############################
General
Complete name : D:\D\원본.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 552 MiB
Duration : 9 min 17 s
Overall bit rate : 8 319 kb/s
Writing application : Lavf56.40.101
Comment : 2020-08-09
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.2
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 3 frames
Format settings, GOP : M=1, N=60
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 9 min 17 s
Bit rate : 7 986 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 60.000 FPS
Minimum frame rate : 43.478 FPS
Maximum frame rate : 90.909 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.064
Stream size : 530 MiB (96%)
Codec configuration box : avcC
Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 9 min 17 s
Bit rate mode : Constant
Bit rate : 320 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 21.3 MiB (4%)
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\원본.mp4
Folder name : D:\D
File name extension : 원본.mp4
File name : 원본
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 : 579292393
File size : 552 MiB
File size : 552 MiB
File size : 552 MiB
File size : 552 MiB
File size : 552.5 MiB
Duration : 557070
Duration : 9 min 17 s
Duration : 9 min 17 s 70 ms
Duration : 9 min 17 s
Duration : 00:09:17.070
Duration : 00:09:17:04
Duration : 00:09:17.070 (00:09:17:04)
Overall bit rate : 8319133
Overall bit rate : 8 319 kb/s
Frame rate : 60.000
Frame rate : 60.000 FPS
Frame count : 33424
Stream size : 896389
Stream size : 875 KiB (0%)
Stream size : 875 KiB
Stream size : 875 KiB
Stream size : 875 KiB
Stream size : 875.4 KiB
Stream size : 875 KiB (0%)
Proportion of this stream : 0.00155
HeaderSize : 896381
DataSize : 578396012
FooterSize : 0
IsStreamable : Yes
File creation date : UTC 2020-11-20 00:11:57.580
File creation date (local) : 2020-11-20 09:11:57.580
File last modification date : UTC 2020-10-29 21:08:12.542
File last modification date (local) : 2020-10-30 06:08:12.542
Writing application : Lavf56.40.101
Writing application : Lavf56.40.101
Comment : 2020-08-09
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 : High@L4.2
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, CABAC : Yes
Format settings, Reference frames : 3
Format settings, Reference frames : 3 frames
Format settings, GOP : M=1, N=60
Internet media type : video/H264
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 557045
Duration : 9 min 17 s
Duration : 9 min 17 s 45 ms
Duration : 9 min 17 s
Duration : 00:09:17.045
Duration : 00:09:17:04
Duration : 00:09:17.045 (00:09:17:04)
Bit rate : 7986312
Bit rate : 7 986 kb/s
Width : 1920
Width : 1 920 pixels
Height : 1080
Height : 1 080 pixels
Stored_Height : 1088
Sampled_Width : 1920
Sampled_Height : 1080
Pixel aspect ratio : 1.000
Display aspect ratio : 1.778
Display aspect ratio : 16:9
Rotation : 0.000
Frame rate mode : VFR
Frame rate mode : Variable
Frame rate : 60.000
Frame rate : 60.000 FPS
Minimum frame rate : 43.478
Minimum frame rate : 43.478 FPS
Maximum frame rate : 90.909
Maximum frame rate : 90.909 FPS
Frame count : 33424
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.064
Stream size : 556113494
Stream size : 530 MiB (96%)
Stream size : 530 MiB
Stream size : 530 MiB
Stream size : 530 MiB
Stream size : 530.4 MiB
Stream size : 530 MiB (96%)
Proportion of this stream : 0.95999
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 : 557070
Duration : 9 min 17 s
Duration : 9 min 17 s 70 ms
Duration : 9 min 17 s
Duration : 00:09:17.070
Duration : 00:09:17:40
Duration : 00:09:17.070 (00:09:17:40)
Bit rate mode : CBR
Bit rate mode : Constant
Bit rate : 319996
Bit rate : 320 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 : 44100
Sampling rate : 44.1 kHz
Samples count : 24566787
Frame rate : 43.066
Frame rate : 43.066 FPS (1024 SPF)
Frame count : 23991
Compression mode : Lossy
Compression mode : Lossy
Stream size : 22282510
Stream size : 21.3 MiB (4%)
Stream size : 21 MiB
Stream size : 21 MiB
Stream size : 21.3 MiB
Stream size : 21.25 MiB
Stream size : 21.3 MiB (4%)
Proportion of this stream : 0.03847
Default : Yes
Default : Yes
Alternate group : 1
Alternate group : 1
MediaInfoLib - v19.09
############################# 인코딩한 파일 정보 ###########################
General
Complete name : D:\D\[SHANA]원본.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 25.6 MiB
Duration : 30 s 47 ms
Overall bit rate : 7 161 kb/s
Writing application : ShanaEncoder
Comment : 2020-08-09
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L4.2
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 : 30 s 0 ms
Bit rate : 7 034 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 60.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.057
Stream size : 25.2 MiB (98%)
Writing library : x264 core 157 r2969 d4099dd
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=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=19.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 : 30 s 47 ms
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 470 KiB (2%)
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\[SHANA]원본.mp4
Folder name : D:\D
File name extension : [SHANA]원본.mp4
File name : [SHANA]원본
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 : 26895530
File size : 25.6 MiB
File size : 26 MiB
File size : 26 MiB
File size : 25.6 MiB
File size : 25.65 MiB
Duration : 30047
Duration : 30 s 47 ms
Duration : 30 s 47 ms
Duration : 30 s 47 ms
Duration : 00:00:30.047
Duration : 00:00:30:00
Duration : 00:00:30.047 (00:00:30:00)
Overall bit rate : 7160923
Overall bit rate : 7 161 kb/s
Frame rate : 60.000
Frame rate : 60.000 FPS
Frame count : 1800
Stream size : 38531
Stream size : 37.6 KiB (0%)
Stream size : 38 KiB
Stream size : 38 KiB
Stream size : 37.6 KiB
Stream size : 37.63 KiB
Stream size : 37.6 KiB (0%)
Proportion of this stream : 0.00143
HeaderSize : 40
DataSize : 26857007
FooterSize : 38483
IsStreamable : No
File creation date : UTC 2020-11-20 00:12:45.687
File creation date (local) : 2020-11-20 09:12:45.687
File last modification date : UTC 2020-11-20 00:14:17.128
File last modification date (local) : 2020-11-20 09:14:17.128
Writing application : ShanaEncoder
Writing application : ShanaEncoder
Comment : 2020-08-09
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@L4.2
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 : 30000
Duration : 30 s 0 ms
Duration : 30 s 0 ms
Duration : 30 s 0 ms
Duration : 00:00:30.000
Duration : 00:00:30:00
Duration : 00:00:30.000 (00:00:30:00)
Bit rate : 7033528
Bit rate : 7 034 kb/s
Width : 1920
Width : 1 920 pixels
Height : 1080
Height : 1 080 pixels
Stored_Height : 1088
Sampled_Width : 1920
Sampled_Height : 1080
Pixel aspect ratio : 1.000
Display aspect ratio : 1.778
Display aspect ratio : 16:9
Rotation : 0.000
Frame rate mode : CFR
Frame rate mode : Constant
FrameRate_Mode_Original : VFR
Frame rate : 60.000
Frame rate : 60.000 FPS
Frame count : 1800
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.057
Stream size : 26375731
Stream size : 25.2 MiB (98%)
Stream size : 25 MiB
Stream size : 25 MiB
Stream size : 25.2 MiB
Stream size : 25.15 MiB
Stream size : 25.2 MiB (98%)
Proportion of this stream : 0.98067
Writing library : x264 - core 157 r2969 d4099dd
Writing library : x264 core 157 r2969 d4099dd
Encoded_Library_Name : x264
Encoded_Library_Version : core 157 r2969 d4099dd
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=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=19.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 : 30047
Duration : 30 s 47 ms
Duration : 30 s 47 ms
Duration : 30 s 47 ms
Duration : 00:00:30.047
Duration : 00:00:30:04
Duration : 00:00:30.047 (00:00:30:04)
Bit rate mode : CBR
Bit rate mode : Constant
Bit rate : 128139
Bit rate : 128 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 : 44100
Sampling rate : 44.1 kHz
Samples count : 1325073
Frame rate : 43.066
Frame rate : 43.066 FPS (1024 SPF)
Frame count : 1294
Compression mode : Lossy
Compression mode : Lossy
Stream size : 481268
Stream size : 470 KiB (2%)
Stream size : 470 KiB
Stream size : 470 KiB
Stream size : 470 KiB
Stream size : 470.0 KiB
Stream size : 470 KiB (2%)
Proportion of this stream : 0.01789
Default : Yes
Default : Yes
Alternate group : 1
Alternate group : 1
MediaInfoLib - v19.09
팟플레이어, MPC-BE에서 동영상 탐색 시 지연 발생은 해당 플레이어에서 원하는 위치로 탐색하는데 걸리는 시간으로 보입니다.
키 프레임 단위로 이동하게 되면 키 프레임은 완전한 이미지를 가지고 있으므로 지연 시간이 적지만 키 프레임이 아닌 프레임을 탐색하게 되면 완전한 이미지를 가지고 있지 않으므로 완전한 이미지를 만들어야 하며 완전한 이미지를 만들 때까지 시간이 걸리게 됩니다.
이 시간은 해당 영상이 얼마나 높게 압축되어 있고 어떤 코덱인가에 따라 다르고, 키 프레임 간격에 따라서도 다르며 하드디스크와 여러 가지 하드웨어 상태에 따라 시간 차이가 발생하게 됩니다.
키 프레임 간격이 길면 이론적으로 용량이 적어지며 탐색시간이 길게 되고, 키 프레임 간격이 짧으면 용량이 많아지며 탐색시간이 짧아지게 됩니다.
샤나인코더 빠른 설정에서 키 프레임 변경 항목에서 설정 가능하며 단위는 초 단위입니다.
샤나인코더 5.0 버전을 사용하는 것으로 봐서는 샤나인코더 5.1 버전부터 추가된 기능인 정확한 탐색 기능이 없으므로 샤나인코더 자체 문제는 아닌 것으로 보입니다.
샤나인코더 5.1 버전부터 미리 보기, 파일 재생, 구간 설정에서 키 프레임 탐색이 아닌 정확한 탐색 기능이 추가되었고 기본적으로 키 프레임 탐색이 꺼져 있으므로 해당 버전으로 업그레이드 한 다음에 샤나인코더 5.0 버전으로 인코딩된 파일을 추가하여 목록에서 오른쪽 버튼을 누르고 파일 재생을 한 뒤 탐색을 해보세요.
(샤나인코더 5.1 버전에서 환경 설정 -> 키 프레임 탐색 사용을 통해 키 프레임 탐색 여부를 선택할 수 있습니다.)
샤나인코더 5.1 버전에서 키 프레임 탐색 사용에 체크가 되지 않은 상태(정확한 탐색 사용)로 파일 재생 시 지연 시간이 발생한다면 하드웨어 성능에 따른 지연으로 보입니다.