MikaTake / lavfilters

lavfilters
GNU General Public License v2.0
0 stars 0 forks source link

Access to GOP header in mpeg2-ps #289

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Describe the issue you're having:
I need to access GOP header in mpeg2-ps

What version of the product are you using? In which Player?
lav v0.53.1

Please provide any additional information below.
I have to develop an mpeg2-ps validator.
An important thing that I need to do is to fix wrong GOP timestamps.
I've connected a samplegrabber after LavSplitter and parsing bytes I've seen 
that LavSplitter is passing downstream only these: 
1. sequence header 
2. picture header 
3. sequence end

Is there a way to let lav to pass downstream other headers or is there an 
interface to read this information?

thanks

Original issue reported on code.google.com by battis...@gmail.com on 18 Nov 2012 at 4:16

GoogleCodeExporter commented 9 years ago
The full mpeg2 video stream is being passed down, however nothing of the 
program-stream specific headers.
The mpeg2 video stream is passed untouched.

If the header you want is part of the mpeg2-ps, but not actually relevant for 
video decoding (in other words, part of the container, and not part of the 
video stream), then you will not get access to it, and intentionally so - LAV 
may just not be what you're looking for.

Original comment by h.lepp...@gmail.com on 18 Nov 2012 at 5:05