[FFmpeg-user] I want to stream from my computer to be picked up by another device on my network.
padraig_hogan at yahoo.com
Sat Nov 24 03:58:25 EET 2018
Hi, I want to stream from my laptop what I see on my screen to another device on my network live.
The other device can play files from the internet that look like this:
I don't know whether it could use other protocols like udp:// or other file extensions but I wouldn't get my hopes up as it's a years old device that can't be updated (without potentially bricking it).
I spent hours yesterday installing different streaming software none of which worked. I am just looking for a simple solution where I might give ffmpeg a command and it would do all I require. I have python installed as well fwiw but don't give me something complicated to do with it.
I found the following page:
StreamingGuide – FFmpeg
| | |
StreamingGuide – FFmpeg
and I tried one of the commands there and this was my input/output:
Padraig>ffmpeg -f dshow -i video="screen-capture-recorder":audio="Stereo Mix (IDT High Definition" \ -vcodec libx264 -preset ultrafast -tune zerolatency -r 10 -async 1 -acodec libmp3lame -ab 24k -ar 22050 -bsf:v h264_mp4toannexb \ -maxrate 750k -bufsize 3000k -f mpegts udp://192.168.2.2:48550
ffmpeg version N-92510-gfa08345e88 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 8.2.1 (GCC) 20181017 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth libavutil 56. 23.101 / 56. 23.101 libavcodec 58. 39.100 / 58. 39.100 libavformat 58. 22.100 / 58. 22.100 libavdevice 58. 6.100 / 58. 6.100 libavfilter 7. 46.100 / 7. 46.100 libswscale 5. 4.100 / 5. 4.100 libswresample 3. 4.100 / 3. 4.100 libpostproc 55. 4.100 / 55. 4.100[dshow @ 00000286df91bb40] Could not enumerate video devices (or none found).video=screen-capture-recorder:audio=Stereo Mix (IDT High Definition: I/O error
This should go without saying but if like me, you have no clue what to do then please don't respond. Also don't question what I am trying to do and say I should be trying to do something else because you'd be wrong. I'm sure I probably don't need to add that here but from past experiences there are lots of people out there like that and I would like to avoid all of that.
Thanks for any constructive help.
More information about the ffmpeg-user