Re: [Live-devel] get H.264 frame width and height out of SPS

2017-03-23 Thread Ross Finlayson
> On Mar 23, 2017, at 8:45 AM, Ross Finlayson wrote: > >> Given that I would expect this to be a quite common task, I wanted to ask if >> there are some helper classes/functions in live555 that already prase the >> SPS and give me what I want. > > No there aren’t I realized just now that thi

Re: [Live-devel] get H.264 frame width and height out of SPS

2017-03-23 Thread Roland Aigner
Okay, thanks. I thought the SPS would be related to SDP... But makes sense, I just recently realized it's encoded in a NAL unit. -Ursprüngliche Nachricht- Von: live-devel [mailto:live-devel-boun...@ns.live555.com] Im Auftrag von Ross Finlayson Gesendet: Donnerstag, 23. März 2017 16:45 A

Re: [Live-devel] get H.264 frame width and height out of SPS

2017-03-23 Thread Ross Finlayson
> Given that I would expect this to be a quite common task, I wanted to ask if > there are some helper classes/functions in live555 that already prase the SPS > and give me what I want. No there aren't - because the “LIVE555 Streaming Media” software doesn’t do any video decoding (or encoding),

[Live-devel] get H.264 frame width and height out of SPS

2017-03-23 Thread Roland Aigner
Hi, I am trying to figure out how to get the frame width and height out of a H.264 stream and I'm having some difficulties understanding how to decode a SPS. On the FAQ section on live555.com I found the following: "If you are receiving H.264 video data, there is one more thing that you have t