简体   繁体   English

ffmpeg stream 桌面代替 -i /dev/video0

[英]ffmpeg stream desktop instead -i /dev/video0

How can I set ffmpeg to stream desktop instead web cam -i /dev/video0 here is example command that I used如何将 ffmpeg 设置为 stream 桌面而不是 web cam -i /dev/video0 这是我使用的示例命令

$ ffmpeg -f v4l2 -i /dev/video0 http://localhost:8080/feed.ffm

On Linux use x11grab :在 Linux 上使用x11grab

ffmpeg -framerate 25 -video_size 1920x1080 -f x11grab -i :0.0 -vf format=yuv420p http://localhost:8080/feed.ffm

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我有一个带有视频背景的标题,在桌面上看起来不错,但在移动设备上它被推到左侧而不是全宽 - I have a header with a video background that looks good on a desktop but on a mobile it is pushed to the left side instead of full width FFMPEG 命令将视频 stream 复用到 HLS fMP4 - FFMPEG command to mux video stream into HLS fMP4 我正在加载图像而不是iframe和使用jquery在同一位置播放视频的图像onclick。 在台式机上工作,但不在移动设备上工作吗? - I am loading image instead of iframe & onclick on image playing video on same place using jquery. Working for desktop but not for mobile devices? 如何使用 ffmpeg 通过 http 进行流式传输 - How can I use ffmpeg to stream over http 如何分段录制 UDP stream,FFmpeg - How can I Recording a UDP stream in segments, FFmpeg 如何在我的网站上播放视频? - How could I stream a video in my website? 无法流式传输FFMPEG - Unable to to stream FFMPEG 我被困在将视频​​从桌面嵌入网站的过程中 - I am getting stuck in embedding a video in a website from desktop ffmpeg-将rtsp流流式传输到网页 - ffmpeg - streaming an rtsp stream to a webpage 我如何使用 HTML 5 从 torrent 中下载视频 stream? - How can I stream a video from a torrent using HTML 5?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM