You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mp4box.js correctly identifies the codec as avc1.42421f, and the file is also valid otherwise.
The missing extra_datamay not be an actual bug, as H.264 has two bitstream formats ("Annex B", and "AVCC"), and in one of them (albeit, the one geared more towards streaming, not storing in files), the extradata is in-band, transmitted as regular data packets (or, samples, or call it whatever you want).
This isn't really a bug so much as support for non-audio tracks is very weak right now. A big reason for this is that the current interfaces are very audio specific (e.g., Packet making no distinction between decode and presentation timestamps, CodecParameters being audio only, etc.). I plan to improve this in the dev-0.6 branch which I've just started pushing changes to.
While I don't think I'll be writing any video decoders soon, a project goal is to allow Symphonia demuxers to work with wrapped third-party video decoders like libvpx, etc.
When running the following code:
I get this as (part of) the output:
mp4box.js
correctly identifies the codec asavc1.42421f
, and the file is also valid otherwise.The missing
extra_data
may not be an actual bug, as H.264 has two bitstream formats ("Annex B", and "AVCC"), and in one of them (albeit, the one geared more towards streaming, not storing in files), theextradata
is in-band, transmitted as regular data packets (or, samples, or call it whatever you want).The file for testing:
https://github.com/pdeljanov/Symphonia/assets/288816/a92343a0-46f4-411e-9c72-a2328e70d78a
The text was updated successfully, but these errors were encountered: