Forcing to play a video "disguised" as image - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Forcing to play a video "disguised" as image (/showthread.php?tid=349359) |
Forcing to play a video "disguised" as image - Rick987 - 2019-11-19 Hello guys, first post here, ive looked everywhere for an answer but nothing till now, maybe any good sould here can help me, here my question: https://lh4.googleusercontent.com/zHFt1HqE5lblW_XBVAULwcU84_Z1Dyb9vvsPuqNcfvjPeuFYy_89w9tsp9U=s61 if you open this url in any browser this will show up as png, but actually its an slice of a video, if you save it open in any text editor and erase the png in the first line or add any character and save it as .mp4 it will run with no problems. Is there any way kodi could do that, add any character with the data loaded or force it to run as a mp4 file, the only workaround that i found was using a server to open and change but it would spend some bandwidth. Thanks in advance and sorry for my bad english RE: Forcing to play a video "disguised" as image - Rick987 - 2019-11-19 I collected the headers from the file when playing in the player and when opened alone in the browser, maybe that could add some help https://paste.kodi.tv/abasonuyep RE: Forcing to play a video "disguised" as image - ronie - 2019-11-20 perhaps you can trick kodi by adding .png as a video extension: https://kodi.wiki/view/Advancedsettings.xml#videoextensions RE: Forcing to play a video "disguised" as image - Rick987 - 2019-11-20 (2019-11-20, 02:18)ronie Wrote: perhaps you can trick kodi by adding .png as a video extension:Ill try that, thanks for replying RE: Forcing to play a video "disguised" as image - Rick987 - 2019-11-20 Still treating like a png Quote:2019-11-19 21:48:15.938 T:36084 NOTICE: Opening stream: 0 source: 256probably it should be addon side, some command to force it to run as below, or "edit" the content of the url before play idk, ill keep looking Quote:2019-11-19 21:51:08.271 T:44680 NOTICE: Creating video codec with codec id: 27 RE: Forcing to play a video "disguised" as image - V8MEM - 2019-11-23 use a inputstream plugin to demux it properly. RE: Forcing to play a video "disguised" as image - Rick987 - 2019-11-24 (2019-11-23, 21:11)V8MEM Wrote: use a inputstream plugin to demux it properly. how do i do that? RE: Forcing to play a video "disguised" as image - gujal - 2019-11-26 AFAIK, unless FFMPEG do something about this (breaking standards) Kodi can do nothing about it RE: Forcing to play a video "disguised" as image - manfeed - 2019-11-26 I don't know if this new option in Matrix could be of any help for your case... https://forum.kodi.tv/showthread.php?tid=343076&pid=2855877#pid2855877 ...after removing the current extension you should add the .mp4 RE: Forcing to play a video "disguised" as image - Rick987 - 2019-11-26 (2019-11-26, 09:56)manfeed Wrote: I don't know if this new option in Matrix could be of any help for your case... I can try that, dunno if its gonna work, but i apreciate your help anyway RE: Forcing to play a video "disguised" as image - Rick987 - 2019-11-26 (2019-11-26, 09:27)gujal Wrote: AFAIK, unless FFMPEG do something about this (breaking standards) Kodi can do nothing about it JW player can manage to play that, I could do a routine to download it before playing, but It will require some internal space that I dont have much, I could download it in the ram while playing, but it would be beyond my knowledge. Thanks anyway for replying my thread RE: Forcing to play a video "disguised" as image - son33 - 2020-07-28 (2019-11-19, 14:55)Rick987 Wrote: Hello guys, first post here, ive looked everywhere for an answer but nothing till now, maybe any good sould here can help me, here my question: Thank you the find |