9

ffmpeg audio/video sync issues

view full story
linux-howto

http://www.linuxquestions.org – Hey guys! I'm streaming to twitch.tv using the following code: Code: INRES="1920x1080" # input resolution OUTRES="864x486" FPS="30" # target FPS QUAL="fast"  # x264 preset STREAM_KEY="$1" URL="rtmp://live.justin.tv/app/$STREAM_KEY" ffmpeg -f x11grab -s "$INRES" -r "$FPS" -i :0.0 \     -f alsa -ac 2 -i pulse -vcodec libx264 -pix_fmt yuv420p -crf 30 -preset "$QUAL" -s "$OUTRES" \     -acodec libmp3lame -ar 44100 -threads 0 \     -f flv "$URL" The p (HowTos)