# rtmp 推流本地视频或摄像头 **Repository Path**: ErGeAnan/rtmp-video ## Basic Information - **Project Name**: rtmp 推流本地视频或摄像头 - **Description**: rtmp 推流本地视频或摄像头 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2026-02-06 - **Last Updated**: 2026-02-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 推流本地视频 ffmpeg -re -i 03.mp4 -c copy -f flv rtmp://127.0.0.1:1935/hls1/test 推流本地 摄像头 获取本地摄像头麦克风的名称 ffmpeg -list_devices true -f dshow -i dummy 推流命令 ffmpeg -f dshow -i video="<摄像头名>":audio="<麦克风名>" -vcodec libx264 -preset ultrafast -tune zerolatency -framerate 25 -video_size 1280x720 -b:v 800k -acodec aac -ar 44100 -ac 2 -b:a 64k -f flv rtmp://127.0.0.1:1935/hls1/test tuiliu 我的实际推流 ffmpeg -f dshow -i video="HP True Vision FHD Camera":audio="麦克风阵列 (适用于数字麦克风的英特尔® 智音技术)" -vcodec libx264 -preset ultrafast -tune zerolatency -framerate 25 -video_size 1280x720 -acodec aac -ar 44100 -ac 2 -f flv rtmp://127.0.0.1:1935/hls1/test 感谢 https://github.com/illuspas/nginx-rtmp-win32