Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th January 2018, 17:58   #1  |  Link
kostek00
Registered User
 
kostek00's Avatar
 
Join Date: Mar 2013
Posts: 18
Fixing keyframes

I have mkv file that have keyframes every second. Is there a way to recreate keyframes without reencoding file?

File details:
Quote:
General
Unique ID: 189963141706975595335761979274290486594 (0x8EE991FECF39AC148996248C9B075D42)
Format: Matroska
Format version: Version 4 / Version 2
File size: 2.18 GiB
Duration: 58mn 4s
Overall bit rate: 5 363 Kbps
Encoded date: UTC 2017-12-27 17:39:32
Writing application: mkvmerge v19.0.0 ('Brave Captain') 32-bit
Writing library: libebml v1.3.5 + libmatroska v1.4.8
DURATION: 00:54:00.778000000
NUMBER_OF_FRAMES: 826
NUMBER_OF_BYTES: 35247
_STATISTICS_WRITING_APP: mkvmerge v19.0.0 ('Brave Captain') 32-bit
_STATISTICS_WRITING_DATE_UT: 2017-12-27 17:39:32
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Video
ID: 1
Format: AVC
Format/Info: Advanced Video Codec
Format profile: High@L5.1
Format settings, CABAC: Yes
Format settings, ReFrames: 16 frames
Codec ID: V_MPEG4/ISO/AVC
Duration: 58mn 4s
Nominal bit rate: 5 000 Kbps
Width: 1 920 pixels
Height: 1 080 pixels
Display aspect ratio: 16:9
Frame rate mode: Constant
Frame rate: 23.976 fps
Color space: YUV
Chroma subsampling: 4:2:0
Bit depth: 8 bits
Scan type: Progressive
Bits/(Pixel*Frame): 0.101
Writing library: x264 core 148 r2579 73ae2d1
Encoding settings: cabac=1 / ref=16 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=34 / lookahead_threads=8 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=10 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=24 / keyint_min=13 / scenecut=0 / intra_refresh=0 / rc_lookahead=47 / rc=2pass / mbtree=1 / bitrate=5000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=10000 / vbv_bufsize=20000 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:0.60
Language: Japanese
Default: Yes
Forced: No

Audio
ID: 2
Format: AAC
Format/Info: Advanced Audio Codec
Format profile: LC
Codec ID: A_AAC
Duration: 58mn 4s
Channel(s): 2 channels
Channel positions: Front: L R
Sampling rate: 48.0 KHz
Compression mode: Lossy
Language: Japanese
Default: Yes
Forced: No

Last edited by kostek00; 11th January 2018 at 18:01.
kostek00 is offline   Reply With Quote
Old 11th January 2018, 18:03   #2  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by kostek00 View Post
to recreate keyframes
To what? Why?
sneaker_ger is offline   Reply With Quote
Old 11th January 2018, 18:12   #3  |  Link
kostek00
Registered User
 
kostek00's Avatar
 
Join Date: Mar 2013
Posts: 18
Because they are every second and making timing to such file is big pain.
kostek00 is offline   Reply With Quote
Old 11th January 2018, 18:15   #4  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
No, it's not possible without re-encoding.

What I would do: re-encode with very fast settings (but enabled scenechange-detection) and use that to time. Afterwards mux the subtitles to the original file so you don't have quality loss.
sneaker_ger is offline   Reply With Quote
Old 11th January 2018, 18:23   #5  |  Link
kostek00
Registered User
 
kostek00's Avatar
 
Join Date: Mar 2013
Posts: 18
Ok, thanks.
kostek00 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.