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

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th November 2012, 14:31   #1  |  Link
ff58
Registered User
 
Join Date: Sep 2012
Posts: 6
Tool for Analyzing H.264 Encoding Parameters

Hi,

Is there a tool for extracting the h.264 encoder parameter set from a recorder h.264 stream. I don't want to learn decoding parameters like bitrate, dropped frames. I want to get encoder parameters such as high profile/baseline profile, slicesize, airrate, initQP, maxDelay, perceptualRC, transform8x8IntraFrame, etc. I mean all the parameters set for encoding the video. Is this possible? Thanks in advance.

Best Regards,
Fikret
ff58 is offline   Reply With Quote
Old 7th November 2012, 15:16   #2  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,239
A lot of encoder parameters are "encoder-side only" and therefore are NOT stored in the bitstream at all

x264 creates its own Custome SEI message in the stream to store all it's encoder parameters (to make debugging easier for the developers), but the format of x264's Custome SEI message is not standardized at all (although other H.264 encoders might add a similar message to the stream, I'm not aware of any).

H.264 parameters that need to be known by the decoder are stored in the stream, in a standardized way, of course.

Some of the encoding parameters that can be retrieved from the H.264 bitstream can be shown by MediaInfo or Avinaptic. These tools also show x264's encoding parameters. But the latter can only work if the bitstream was encoded by x264 (and if the x264 Custom SEI messages hasn't been removed).
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 7th November 2012 at 16:03.
LoRd_MuldeR is offline   Reply With Quote
Old 7th November 2012, 16:32   #3  |  Link
ff58
Registered User
 
Join Date: Sep 2012
Posts: 6
Quote:
Originally Posted by LoRd_MuldeR View Post
A lot of encoder parameters are "encoder-side only" and therefore are NOT stored in the bitstream at all

x264 creates its own Custome SEI message in the stream to store all it's encoder parameters (to make debugging easier for the developers), but the format of x264's Custome SEI message is not standardized at all (although other H.264 encoders might add a similar message to the stream, I'm not aware of any).

H.264 parameters that need to be known by the decoder are stored in the stream, in a standardized way, of course.

Some of the encoding parameters that can be retrieved from the H.264 bitstream can be shown by MediaInfo or Avinaptic. These tools also show x264's encoding parameters. But the latter can only work if the bitstream was encoded by x264 (and if the x264 Custom SEI messages hasn't been removed).
Dear Lord_Mulder,

Thank you for your instant reply and help.

B.R.
Fikret
ff58 is offline   Reply With Quote
Old 8th November 2012, 00:54   #4  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,956
If these messages are not present, you'll need a stream analyzer to determine this information, and even so that can't tell you everything.

What is settings are chosen during the encoder that allow for a wide range of choices, but some of those choices are never utilized?
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Reply

Tags
h.264 encoder, parameter set

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:04.


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