Opened 8 years ago
Closed 4 years ago
#4519 closed enhancement (fixed)
Support for KUX container
|Reported by:||Underground78||Owned by:|
|Blocking:||Reproduced by developer:||yes|
|Analyzed by developer:||no|
The Chinese video streaming Youku Tudou seems to use its own container, named KUX. It would be great if FFmpeg could support it.
I don't think there is any publicly available specifications but the format seems derived from FLV and pretty straight forward to convert to a standard FLV file. I have attached a slightly simplified version of a conversion script I found on Gist. A sample file can be found here: sample.kux.
Change History (8)
by , 8 years ago
comment:1 by , 8 years ago
Please upload more samples, one is never enough.
Based on the 'converter' and single file it seems like the header magic is KDK and the actual FLV content is at offset 0xe40000.
For me the following command produces a fully playable file:
dd if=sample.kux of=sample.kux.flv bs=14942208 skip=1
comment:2 by , 8 years ago
|Keywords:||flv added; kux youku removed|
comment:3 by , 8 years ago
Here are some more samples:
comment:4 by , 8 years ago
I am certainly not against supporting this format but if all content can be found on youtube anyways...
comment:5 by , 8 years ago
To be honest I don't really care myself but I guess most Chinese users cannot access Youtube (easily at least).
comment:6 by , 8 years ago
All four seem to work with simply skipping that data chunk. Supporting it isn't a big deal, but involves a lot of changes to adjust all offsets. Question is it worth it?
comment:7 by , 4 years ago
|Reproduced by developer:||set|
|Status:||new → closed|
Implemented by Swaraj Hota in 208ae228fa129041dc6671dcc45c025a11bf2cc6
There is useful metadata starting at 0xe00004, encrypted with password
meta but zlib does not support decryption, so reading kux metadata is not supported.
Conversion script (KUX to FLV)