[mythtv] Seg Fault in mediacodec
pb.mythtv at gmail.com
Wed Jul 4 18:51:31 UTC 2018
On 07/04/2018 11:27 AM, Aman Gupta wrote:
> You can also try setting the ffmpeg loglevel to trace which will show
> much more detailed info about each output buffer being returned from
> the decoder. A segv in memcpy is pretty low level so it's unclear if
> this is something we would be able to fix in ffmpeg ourselves.
The output is attached. From it we can see that 18 packets were sent in,
then 8 frames were retrieved and it seg faulted on retrieving the ninth.
In the code it is trying to memcpy the frame from the buffer returned by
mediacodec to the buffer allocated by ffmpeg when it hits the seg fault.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 42695 bytes
Desc: not available
More information about the mythtv-dev