Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AAC data dumped in mp4 file do not play #3

Open
avp24 opened this issue Jul 17, 2022 · 0 comments
Open

AAC data dumped in mp4 file do not play #3

avp24 opened this issue Jul 17, 2022 · 0 comments

Comments

@avp24
Copy link

avp24 commented Jul 17, 2022

I am only fetching aac and dumping into mp4 file using mp4muxer_init() and mp4muxer_audio() API and trying to play the mp4 file but it does not play. On checking the mp4 file it is observed that stts, stsc, stsz, stco type are empty. I am assuming mp4muxer_init is not called properly. I am passing below arguments in mp4muxer_init() :

aacinfo[0] = 0x11;
aacinfo[1] = 0x88; //sample rate is 48000
muxer = mp4muxer_init(mux_filename, 10000, 0, 1920, 1080, 30, 30, 0, 2, 48000, 16, 1024, aacinfo);

Is it required to call mp4muxer_video as well as it invokes write_fixed_tracka_data(mp4) API or I can only dump audio data using mp4muxer_audio API as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant