Currently I'm running with the following setup.ffmpeg \ -i http://pub1.di.fm:80/di_vocaltrance \ -f x11grab -s 1920x1080 -r 25 -i :0.0 \ -c:v libx264 -preset fast -pix_fmt yuv420p -s 1280x800 \ -c:a libmp3lame -ab 96k -ar 22050 \ -threads 0 \ -f flv rtmp://....What I want to bake in: -f alsa -ac 2 -i hw:0 -acodec pcm_s32le -aq 1 -ab 128k\Is this possible?And perhaps even mix in what I hear (aka playback) so to speak?I've tried something along the lines of (but not fully understanding -map) -i http://pub1.di.fm:80/di_vocaltrance -map 0:1 \ -f x11grab -s 1920x1080 -r 25 -i :0.0 -map 0:0 \But that didn't really go so well.I'm so close now, this gives me sound channels, but everything sounds like I'm inside a small tin-can of sorts..#!/bin/bashKEY=`cat key.db`ffmpeg \ -i http://pub1.di.fm:80/di_vocaltrance \ -f alsa -ac 2 -i hw:0 -acodec mp3 -aq 1 -ab 128k \ -f x11grab -s 1920x1080 -r 25 -i :0.0 \ -c:v libx264 -preset fast -pix_fmt yuv420p -s 1280x800 \ -c:a mp3 -ab 96k -ar 22050 \ -threads 0 \ -map 0:0 -map 1:0 -map 2:0 \ -f flv rtmp://live.twitch.tv/app/$KEYIt only appears when i mix the two sounds togeather..Trying to get JACK in here as well but without any actual results (thought i'd pass everything via a mixer board to unload ffmpeg from the mixing)Running with: -f alsa -ac 2 -i jack \ ....Gives this however:[alsa @ 0x1399280] cannot set sample format 0x10000 2 (Invalid argument)  jack: Input/output error
Merge two audio sources with x11grab, possible?
alsa;ffmpeg