79266758

Date: 2024-12-10 00:39:32
Score: 1
Natty:
Report link

Try to send audio stream with video, even dummy. Some streaming services like youtube, etc, may require audio stream with video. Something like that:

const ffmpeg = spawn('ffmpeg', [
    '-i', 'pipe:0',
    '-f', 'lavfi',
    '-i', 'anullsrc',
    '-c:v', 'libx264',
    '-preset', 'veryfast',
    '-maxrate', '3000k',
    '-bufsize', '6000k',
    '-pix_fmt', 'yuv420p',
    '-g', '50',
    '-c:a', 'aac',
    '-f', 'flv',
    'rtmp://a.rtmp.youtube.com/live2/MY_KEY'
  ]);
Reasons:
  • Blacklisted phrase (1): youtube.com
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: alexb