?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

안녕하세요. 

mp4 원본 영상을 음성/영상 모두 스트림복사로 2~3개로 분할하는 작업을 하려고 합니다.

 

작업 후에 확인해 보면,

분할된 1번째 영상에서는 그런 현상이 없는데

분할된 2번째 이후의 영상에서는 팟플레이어 등의 동영상 플레이어에서 구간탐색시에

이동된 위치의 영상이 즉시 플레이되지 않고 잠깐씩 렉(이동 전 플레이중인 영상에서 잠깐 멈춤)이 발생합니다.

 

구간설정/잘라내기 시에 시작시간/종료시간 설정은 항상 I프레임 에서 시작하고 종료하도록 하였습니다.

 

원인이나 해결방법을 아시는 분이 있으시면 도움 주시면 좋겠습니다.

 

 

원본 영상 정보


General
Complete name                            : C:\Users\jykim\Downloads\Tor\Completed\f4805c9d-51a4-49ec-b942-80f50008f6bc.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 1.39 GiB
Duration                                 : 1 h 25 min
Overall bit rate                         : 2 334 kb/s
Writing application                      : Lavf58.26.101

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.2
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1 h 25 min
Bit rate                                 : 2 200 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.044
Stream size                              : 1.31 GiB (94%)
Writing library                          : x264 core 157
Encoding settings                        : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x3 / me=dia / subme=1 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=15 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc=2pass / mbtree=0 / bitrate=2200 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / 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                                 : 1 h 25 min
Bit rate mode                            : Constant
Bit rate                                 : 128 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                              : 78.2 MiB (5%)
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                            : C:\Users\jykim\Downloads\Tor\Completed\f4805c9d-51a4-49ec-b942-80f50008f6bc.mp4
Folder name                              : C:\Users\jykim\Downloads\Tor\Completed
File name extension                      : f4805c9d-51a4-49ec-b942-80f50008f6bc.mp4
File name                                : f4805c9d-51a4-49ec-b942-80f50008f6bc
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                                : 1495528952
File size                                : 1.39 GiB
File size                                : 1 GiB
File size                                : 1.4 GiB
File size                                : 1.39 GiB
File size                                : 1.393 GiB
Duration                                 : 5127084
Duration                                 : 1 h 25 min
Duration                                 : 1 h 25 min 27 s 84 ms
Duration                                 : 1 h 25 min
Duration                                 : 01:25:27.084
Duration                                 : 01:25:27:02
Duration                                 : 01:25:27.084 (01:25:27:02)
Overall bit rate                         : 2333535
Overall bit rate                         : 2 334 kb/s
Frame rate                               : 24.000
Frame rate                               : 24.000 FPS
Frame count                              : 123050
Stream size                              : 3552342
Stream size                              : 3.39 MiB (0%)
Stream size                              : 3 MiB
Stream size                              : 3.4 MiB
Stream size                              : 3.39 MiB
Stream size                              : 3.388 MiB
Stream size                              : 3.39 MiB (0%)
Proportion of this stream                : 0.00238
HeaderSize                               : 3552334
DataSize                                 : 1491976618
FooterSize                               : 0
IsStreamable                             : Yes
File creation date                       : UTC 2022-07-22 09:00:47.281
File creation date (local)               : 2022-07-22 18:00:47.281
File last modification date              : UTC 2022-07-22 05:29:28.154
File last modification date (local)      : 2022-07-22 14:29:28.154
Writing application                      : Lavf58.26.101
Writing application                      : Lavf58.26.101

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 / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4
Format settings, Reference frames        : 4 frames
Internet media type                      : video/H264
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 5127084
Duration                                 : 1 h 25 min
Duration                                 : 1 h 25 min 27 s 84 ms
Duration                                 : 1 h 25 min
Duration                                 : 01:25:27.084
Duration                                 : 01:25:27:02
Duration                                 : 01:25:27.084 (01:25:27:02)
Bit rate                                 : 2200000
Bit rate                                 : 2 200 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                               : 24.000
Frame rate                               : 24.000 FPS
Frame count                              : 123050
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.044
Stream size                              : 1409944269
Stream size                              : 1.31 GiB (94%)
Stream size                              : 1 GiB
Stream size                              : 1.3 GiB
Stream size                              : 1.31 GiB
Stream size                              : 1.313 GiB
Stream size                              : 1.31 GiB (94%)
Proportion of this stream                : 0.94277
Writing library                          : x264 - core 157
Writing library                          : x264 core 157
Encoded_Library_Name                     : x264
Encoded_Library_Version                  : core 157
Encoding settings                        : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x3 / me=dia / subme=1 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=15 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc=2pass / mbtree=0 / bitrate=2200 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / 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                                 : 5127062
Duration                                 : 1 h 25 min
Duration                                 : 1 h 25 min 27 s 62 ms
Duration                                 : 1 h 25 min
Duration                                 : 01:25:27.062
Duration                                 : 01:25:13:20
Duration                                 : 01:25:27.062 (01:25:13:20)
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 127998
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                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 246098976
Frame rate                               : 46.875
Frame rate                               : 46.875 FPS (1024 SPF)
Frame count                              : 240331
Compression mode                         : Lossy
Compression mode                         : Lossy
Stream size                              : 82032341
Stream size                              : 78.2 MiB (5%)
Stream size                              : 78 MiB
Stream size                              : 78 MiB
Stream size                              : 78.2 MiB
Stream size                              : 78.23 MiB
Stream size                              : 78.2 MiB (5%)
Proportion of this stream                : 0.05485
Default                                  : Yes
Default                                  : Yes
Alternate group                          : 1
Alternate group                          : 1

MediaInfoLib - v19.09

Facebook Twitter Pinterest Kakao
  • ?
    JKyle 2022.07.23 12:55

    https://shana.pe.kr/shanaencoder_tip/87979 '구간 설정' 부분 확인

    https://shana.pe.kr/shanaencoder_board/70500 참고

     

    결론은 키프레임과 I 프레임의 괴리로 생기는 원본 구조 문제

    ⇒ 스트림 복사가 아닌 재인코딩이나, 전문 영상 분할 프로그램을 이용

     
  • ?
    샤나맛 2022.08.01 14:26

    답변 감사합니다.

    일단, 샤나인코더 4.7 버전으로 동일하게 스트림 복사 작업을 했더니 해당 현상이 해결되었습니다.
    4.8 이후에 뭔가 달라진건지...

  • ?
    JKyle 2022.08.01 14:35

    최근 버전은 환경 설정에서 '키 프레임 탐색 사용'이 기본적으로 꺼져 있어서 그런 듯.

    그래서 키 프레임이 아닌 I 프레임에서도 잘려서 해당 문제가 발생하는 게 아닌가 의심됩니다.
    아마 그거 켜고 하면 구 버전하고 동일하게 작동할 겁니다. 대신 구 버전과 마찬가지로, 스트림 복사 시 원하는 곳에서 자르기는 더 힘들어지겠지요.

     

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수 추천 수
공지 샤나 사이트 일시 접속 불가 안내 Rina 2024.04.11 1379 0
공지 소리를 4가지로 분리하는 샤나보컬리무버 프로그램을 소개합니다. Rina 2024.03.22 4003 4
공지 샤나인코더 통합 검색 기능 개선(샤나인코더 우측 상단에 있는 검색창을 사용해 보세요.) Rina 2021.09.30 18885 2
공지 자유게시판에서는 자유롭게 글을 작성할 수 있지만 다음과 같은 내용은 삭제돼요 Rina 2020.03.18 16629 5
공지 일반 [필독] 질문 전에 반드시 읽으세요!!! 3 file JKyle 2019.09.16 32900 6
공지 일반 [알림] 질문 먹튀하지 마시기 바랍니다 => 본문 변경 금지 23 JKyle 2018.10.12 28635 16
3170 정보 기존 프로그램 쓰다가 업데이트 하는데 설치가 안돼서 봤더니 5 file ashin 2021.06.03 1385 1
3169 질문 구간자르기시 시작시간 키프레임만 맞추면 종료시간 키프레임은 안 맞춰도 된다?! 1 갈락 2021.05.27 1198 1
3168 일반 드디어 포터블 버전이 나왔군요 5 JKyle 2021.04.28 2384 1
3167 질문 2pass 인코딩에 관하여(제가 이해한게 맞는지 확인차원?) 2 합풀 2021.04.12 1464 1
3166 정보 AV1 하드웨어 인코더가 드디어 나왔네요 1 JKyle 2021.03.19 2724 1
3165 질문 로고 페이드 설정시 원래 검은색을 띠면서 나타나나요? 9 file Melon 2021.02.04 1292 1
3164 정보 3950x Vs 5950x 1 file 핀다 2021.02.01 1663 1
3163 질문 시스템 종료 옵션 사용시 프리셋 마지막 설정이 강제로 저장되는 현상 2 file Melon 2021.01.17 631 1
3162 정보 AV1 하드웨어 디코딩에 관한 몇 가지 소식 1 JKyle 2020.10.17 1259 1
3161 질문 영상 잘라내기 하면 하단에 녹색 띠가 생기네요 6 file P군 2020.10.03 754 1
3160 질문 5.1.0 업데이트 이후 합치기 오류 질문 2 file 루그렛 2020.09.29 1141 1
3159 샤나인코더 5.1 진행된 내용입니다. 8 file Rina 2020.09.14 1548 1
3158 정보 AV1 기본 가이드 JKyle 2020.09.09 5109 1
3157 일반 서버 교체 후 사이트가 확실히 빠릿해졌군요 2 JKyle 2020.09.08 877 1
3156 질문 샤나론 tbn 정보 확인은 물론 변환도 불가한가요? 3 bobomama 2020.08.24 1011 1
3155 질문 위아래 검정색 여백 잘라내기 후 리사이즈 할때 화면 비율 2 P군 2020.07.04 1074 1
3154 일반 레터박스 대신 흐린 원본 영상을 배경으로 까는 프리셋을 업데이트했습니다 JKyle 2020.03.11 824 1
3153 정보 44c 88t 머신 RipBot264 사용기 3 file HS 2020.02.11 1790 1
3152 3950X Vs 9980xe 인코딩 간단 테스트 3 file 핀다 2020.02.01 2425 1
3151 닉네임 변경: sSTSs ⇒ JKyle 2 JKyle 2020.01.25 426 1
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 161 Next
/ 161