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

Transcode AAC to OPUS #88

Closed
spawn451 opened this issue Sep 19, 2023 · 1 comment
Closed

Transcode AAC to OPUS #88

spawn451 opened this issue Sep 19, 2023 · 1 comment

Comments

@spawn451
Copy link

spawn451 commented Sep 19, 2023

Is it possible using /example/transcoder/main.go
to keep the h264 video codec and transcode AAC to OPUS ?
I tried this :
cmd := exec.CommandContext(ctx, "ffmpeg", "-flags", "low_delay", "-analyzeduration", "1", "-fflags", "-nobuffer", "-probesize", "1024k", "-f", "mpegts", "-i", "-", "-vcodec", "libx264", "-preset", "ultrafast", "-bf", "0", "-f", "mpegts", "-max_muxing_queue_size", "400", "-pes_payload_size", "0", "-acodec", "libopus", "-b:a", "128k", "pipe:1")

but demuxer error : new codec data [] invalid PMT

@spawn451
Copy link
Author

Ok find out that OPUS not supported in ts :/

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