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 > High Efficiency Video Coding (HEVC)
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th October 2021, 14:31   #1  |  Link
zn
Registered User
 
Join Date: Jan 2009
Posts: 88
Skip HEVC frame from displaying by adjustin DTS or duration in bitstream or container

Is it possible to make hevc ts bitstream modification (or remux to mkv or other container to adjust DTS)
to make it possible to skip/drop specific frame(s) during playback (frame decoded, but not visible)
Video is 50fps, previous or next frame can be displayed to be in sync with audio

Does any containers have specific field to skip displaying decoded frame? Which options do I have?
To set 0 duration time for this frame on container level
To set 0 duration time for this frame on stream level
To set DTS equal to next frame DTS on container level
To set DTS equal to next frame DTS on stream level
To set DTS equal to start or end of video time on container level
To set DTS equal to start or end of video time on stream level
zn is offline   Reply With Quote
Old 12th October 2021, 23:51   #2  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
This could be done in VP9 with Golden Frames or AV1 with alt-ref frames, but I'm not aware of any broadly compatible mechanism to do it with HEVC. You're on the right track with having the duration of the frame be really short, but I bet some players would still sometimes display it for a frame.

Forcing the frame to be a non-reference b-frame would probably help, since it wouldn't need to be decoded in the first place. Would that be viable for your purposes.

I'm guessing that stream level is more likely to work than container level. I'd try the 0 duration or DTS=next frame at the stream level first, and see what different players do with it.

What's the goal/scenario here? There might be other routes to doing the same thing. Like encoding stereoscopic video where the hidden frames only exist in the non-reference eye or something.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner 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.