How to convert avc/au to byte-stream/au ?

lucky chou luckychsj at gmail.com
Tue Jun 20 02:35:15 UTC 2017


Nicolas Dufresne-5 wrote
> decodebin should build a pipeline with:
> 
>   h264parse ! amch264...dec ! ...
> 
> And then h264parse should be able to negotiate the proper format and
> will do the conversion automatically. When that does not work, it means
> that there is a bug somewhere. First step, and what is being proposed
> here, it to do some tests to figure-out what format works. Later you
> should dig this up to find out were is the bug. It's likely that your
> Android platform CODEC is not standard (e.g. expecting AVC instead of
> byte-stream), for that you would implement a quirk in the amc elements.

Nicolas,thanks for your attention.
I will follow your tips, first to check what format HW decoder can work
properly, try to narrow the scope of the investigation. I have verified
through other ways, I used CODEC only byte-stream can work properly,
<stream-format=avc> mediacodec always reported can't find  frame start code,
seems to be what we expected.








--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-convert-avc-au-to-byte-stream-au-tp4683201p4683451.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list