Hi Ross and all other developers,
I currently wrote my own "DeviceSource" as the video source to open the
read side of a pipe and reading video stream from there, the write side of
the pipe is feeded by my OMAX call back function, which keep pushing raw
H264 byte-stream frame by frame, meanwhile
> Then I do not see how you can make a "generic" parser without
> knowing in advance whether the start code is 3 or 4 bytes.
No, it’s actually quite easy. If you know that the start code is either 0x00
0x00 0x01 or 0x00 0x00 0x00 0x01, then the following code (taken from our
H.264/5 stream pars
On Mon, Mar 30, 2015 at 02:02:59PM +0200, Robert Smith wrote:
> It's 001
Then I do not see how you can make a "generic" parser without
knowing in advance whether the start code is 3 or 4 bytes.
--
Gilles.
___
It's 001
On 03/27/2015 07:11 PM, Gilles Chanteperdrix wrote:
On Thu, Mar 26, 2015 at 02:32:32PM +0100, Robert Smith wrote:
Ok, but I use this with other encoders too, it's only the embedded platform
where the parsing cost is so critical. I think it shouldn't be a big deal to
change it to check