asticode / go-astits

Demux and mux MPEG Transport Streams (.ts) natively in GO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to use the demuxer to extract audio/aac stream into a aac file ?

hisunwei opened this issue · comments

I tried to to extract all the packet payload into a acc file, but it cannot be played, do you know how to save the packets as a normal .acc file?

This lib doesn't do decode/encode therefore what you get in packet payloads are encoded audio samples (the codec used to encode them depends on your input stream).

If you're looking to decode/encode packets, this lib is probably not the one to use.