Giter Site home page Giter Site logo

Comments (8)

EricBerendsen avatar EricBerendsen commented on August 16, 2024 2

Hi,

Sounds like a reasonable request, and think it should not be too difficult to implement. Only thing I need is time...
Putting it on my TODO list.

from dvbinspector.

EricBerendsen avatar EricBerendsen commented on August 16, 2024 1

Like this?
image

Which can be toggled by this menu:
image

(You found the PTS option, the number list items is right above it)

Or do you mean something else?

from dvbinspector.

lars18th avatar lars18th commented on August 16, 2024

Hi @EricBerendsen ,

Another "simple" enhacement could be to add to the list of the PES Packets the order number. Example:
Video H.264 PES Packet [pts=1:33:27.0200] (0001)

Then when we see the graf of the frame sizes (the panel selected when "H.264 PES Data"), then it will be more easy to search for the concrete packet.

You agree with that too?

from dvbinspector.

lars18th avatar lars18th commented on August 16, 2024

Wooh! Yes, just that. 👍
I never see this in the menu. Great! 😄

So, another suggestion: Please can you add the "Picture Type" in the PES packet? Something like this:
Video H.264 PES Packet [pts=1:33:27.0200] [I] [0]

As you now can parse PES data of MPEG-2, H.264 and HEVC codecs (I can see this info in the NALUnits), then it will be very useful if you add this info in the packet list. Perhaps with a new menu entry like "Show Picture Type on PES Packets".

You agree?
Regards.

from dvbinspector.

lars18th avatar lars18th commented on August 16, 2024

Hi @EricBerendsen ,

So, another suggestion: Please can you add the "Picture Type" in the PES packet? Something like this: Video H.264 PES Packet [pts=1:33:27.0200] [I] [0]

You agree with that last suggestion too?

from dvbinspector.

EricBerendsen avatar EricBerendsen commented on August 16, 2024

So, another suggestion: Please can you add the "Picture Type" in the PES packet? Something like this: Video H.264 PES Packet [pts=1:33:27.0200] [I] [0]

For MPEG2 video this has already been done:

image

I am not a compression expert, but AFAIK for h264 and h265 things are more complicated. In h264 a frame can consist of multiple slices, and each can have its own slice-type (=Picture type). Also there are types SP and SI, All of these can be present in a single frame (never seen it, but think theoretical it could). So it is not always possible to say what type of frame it is. However the graph when you select the PES data node show all the slice-type in each PES packet.

image

From that you can find the type of each frame.

For h265 the slice types are even more complex, I would not know what to consider I, P or B. I think the graph has more value then just a simple letter on each PES packet

image

from dvbinspector.

lars18th avatar lars18th commented on August 16, 2024

Hi @EricBerendsen ,

Thank you for the info. However, perhaps I've presented the request in wrong terms. What I request is if you can write for H.264 & H.265 the type of slice in the list of frames, like this:

  • Example for MPEG-2 (already implemented):
Video PES Packet (Picture B) [pts=1:33:27.0200] [0]
Video PES Packet (Picture P) [pts=1:33:27.0450] [1]
Video PES Packet (Picture I) [pts=1:33:27.0700] [2]
...
  • Example for H.264:
Video H.264 PES Packet (Slice-Type P) [pts=1:33:27.0200] [0]
Video H.264 PES Packet (Slice-Type B) [pts=1:33:27.0450] [1]
Video H.264 PES Packet (Slice-Type I) [pts=1:33:27.0700] [2]

The idea is this: You have the data, as the diagram with bars has the information. But the line with the description of the PES packet in the Tree doesn't have it. Then it's very difficult to search for a specific frame this without checking the diagram. So the idea is quite simple: write the info that you have for the diagrams like you do with the MPEG-2 streams in the Tree.

I hope I've described it well this time.
Regards.

from dvbinspector.

lars18th avatar lars18th commented on August 16, 2024

Hi @ValZapod ,

  • Example for H.264:

There are no I, P, B frames really, because there are IRAP, all kinds of recovery frames, etc. In HEVC there is also BLA and CRA.

Yes, in recent codecs the type of frames has increased. However, the idea is to print the codec-type of each frame.... independently of the codec used.

from dvbinspector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.