conscience1 / hxswfml

Automatically exported from code.google.com/p/hxswfml
0 stars 0 forks source link

PHP parses video codec incorrectly (readDouble + bigEndian issue in php target) #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Trying to encode an FLV video into a sprite when using PHP I get this:

uncaught exception: Error: This flv contains an unsupported video codec: 0(). 
Currently only VP6 and VP6 with alpha can be transcoded.

But the same XML and video are processed fine by Flash and C++ programs.

Original issue reported on code.google.com by olegsivokon@gmail.com on 2 Apr 2014 at 9:16

GoogleCodeExporter commented 9 years ago
I've posted two issues to haxe[php] to get this solved:
https://github.com/HaxeFoundation/haxe/issues/2845
and
https://github.com/HaxeFoundation/haxe/issues/2846

Original comment by adn...@gmail.com on 3 Apr 2014 at 11:31

GoogleCodeExporter commented 9 years ago
The unsigned right shift issue has been solved.
There remains however an issue with readDouble for the php target. 
I'll leave this issue open for the time being.

Original comment by adn...@gmail.com on 7 Apr 2014 at 1:47

GoogleCodeExporter commented 9 years ago

Original comment by adn...@gmail.com on 7 Apr 2014 at 1:49

GoogleCodeExporter commented 9 years ago

Original comment by adn...@gmail.com on 7 Apr 2014 at 1:50