Re: [FFmpeg-devel] [PATCH v9] lavf/flv: Add XV (Xunlei Video) Support. fixes ticket #3720

2019-05-10 Thread Shivam Goyal
On 11-05-2019 03:21, Reimar Döffinger wrote: > On 10.05.2019, at 15:10, Shivam Goyal wrote: > >> -> Making two avio contexts and one calling the other ( I am not sure if >> i implemented it in the right way, but still i reached low level ). > > Can't you at least figure out the header size, dec

Re: [FFmpeg-devel] [PATCH v9] lavf/flv: Add XV (Xunlei Video) Support. fixes ticket #3720

2019-05-10 Thread Reimar Döffinger
On 10.05.2019, at 15:10, Shivam Goyal wrote: > > -> Making two avio contexts and one calling the other ( I am not sure if > i implemented it in the right way, but still i reached low level ). Can't you at least figure out the header size, decrypt the header and pass that to the normal header

[FFmpeg-devel] [PATCH v9] lavf/flv: Add XV (Xunlei Video) Support. fixes ticket #3720

2019-05-10 Thread Shivam Goyal
The patch is for ticket #3720. XV Xunlei video support. XV video is a flv video. The flv data starts from 0x20th byte and the next 0x400 bytes are rotated, to find the value by which the next 0x400 bytes are rotated. I subtracted the 0x20th byte from 0x46 ( 'F' ) ( As every flv video sta