-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
I am trying to produce raw packets from RGB and PCM data.
Thanks to the encode_h264.js
I can create video frames from RGB, but a simple example of how to produce AAC data is not available.
I have seen others here struggling with the same. What may seem simple and obvious to you is inscrutable to us mere mortals.
All the examples I have tried, most them are unstable (lots of crashes). The only data I get out does not seem to start with a recognisable AAC header.
eg.
frame_size 1024
2149cc803e1f000390757d5f41d7ec01fbd77cec013a3449d1a24e8d12746893a3449d1a24e8d12746893a3409d0a04e8502742813a1409cf9e4e7cf273e7939d389ce9c4e74d27366939b349cc984e64c272e5f6912224000092de4a1c800002474925300000908648850000cec0240080001208890c60000488524531231c91d00000000049092495125ac93180000000049ad24d71273c93e0000000003907437e0df81d7ec01fbd77cec0000007000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
The muxing examples produce mp4 files with silence.
Can you please provide a simple working example that could help a lot of us with a starting point to dynamic PCM -> AAC encoding?
Metadata
Metadata
Assignees
Labels
No labels