# Ffmpeg Twitch vod track

**URL:** <https://discuss.dev.twitch.com/t/ffmpeg-twitch-vod-track/61888>\
**Category:** API\
**Created:** [December 3, 2024, 8:29pm UTC](https://discuss.dev.twitch.com/t/ffmpeg-twitch-vod-track/61888 "2024-12-03T20:29:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pastorvivon](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@Pastorvivon](https://discuss.dev.twitch.com/u/Pastorvivon)\
**Post date:** [December 3, 2024, 8:29pm UTC](https://discuss.dev.twitch.com/t/ffmpeg-twitch-vod-track/61888/1 "2024-12-03T20:29:03Z")

</div>

Anyone have figure out how to use ffmpeg to send 2 audio track to twitch?

I have a 2 PC setup, sending from OBS 2 Audio track to nginx (second PC). ffmpeg pick up the stream and encode it for twitch. My goal is to be able to send 2 audio track which one will be use for VOD track for twitch…

ffmpeg -i rtmp://192.168.2.10:1935/live/test -map 0:0 -map 0:1 -b:v 8000k -minrate 8000k -maxrate 8000k -bufsize 8000k -vcodec libx264 -preset medium -profile:v high -sws\_flags spline -level 4.2 -vf “scale=1664x936” -pix\_fmt yuv420p -r 60 -x264-params nal-hrd=cbr:keyint=120 -acodec aac -ab 192k -ar 48000 -strict -2 -f flv rtmp://jfk.contribute.live-video.net/app/streamkey

Please i hope anyone can enlight me if it’s possible with ffmpeg to split audio track for twitch

I would like to add that if i use a custom twitch ingest server and activate the audio VOD track, ffmpeg gets the 2 audio track but one without codec  
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 2560x1440, 51200 kb/s, 60 fps, 60 tbr, 1k tbn  
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 327 kb/s  
Stream #0:2: Audio: none ([9][0][0][0] / 0x0009), 11025 Hz, stereo, 327 kb/s

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [January 2, 2025, 8:29pm UTC](https://discuss.dev.twitch.com/t/ffmpeg-twitch-vod-track/61888/2 "2025-01-02T20:29:32Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
