Sahan,

>Sorry If am repeating the same thing again and again.
>
>
>My concern is that the advantage gained by using CUDA is lost by several 
>transfers between GPU and CPU, if I have got your point right.


There would be one transfer from GPU to CPU after decoding and another transfer 
from CPU to GPU for display. Doesn't seem terrible. The advantage would still 
be hardware based decoding and rendering.


>Is there any way I can hack avformat producer to output only demuxed JPEG 
>frames to MLT frame struct which can presumably be directed to a consumer 
>which then upload those frames to GPU within a OpenGL context where CUDA 
>decoding and OpenGL scaling things going to happen.


Nope. Not that I can see.


>I went through avformat producer and could not still able to spot the place 
>where AVCodec related things like  avcodec_decode_video2() is called.


Line 1612
https://github.com/mltframework/mlt/blob/master/src/modules/avformat/producer_avformat.c


>Please help. 
>
>What are your advices.
>


I still think it's a bad idea.

~BM


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to