[Live-devel] question about parseSPropParameterSets()

Novalis Vapuru 6.45.vapuru at gmail.com
Mon Jan 30 23:43:57 PST 2012


James,

You can parse sprop parameters in order to get meaningfull  stream
info [ stream width, height etc]  if you need.
You can get details from here:

http://stackoverflow.com/questions/6394874/fetching-the-dimensions-of-a-h264video-stream

Best Wishes
Novalis

2012/1/31 Ross Finlayson <finlayson at live555.com>:
> After parseSPropParameterSets, I should be able to get sps and pps(in binary
> format?)
>
>
> Yes, and that's exactly what the "sPropBytes" field is!  It's a pointer to
> an array of "sPropLength" bytes (i.e., binary).
>
>
> But when i use print command to print the strings, I got some wired data.
>
>
> No!  You can't print the "sProbBytes" field as a string, because it's not a
> string - it's the binary data!
>
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>



More information about the live-devel mailing list