Hello everyone, I try to grab the video output of my raspberry pi and send it via ffmpeg to an rtmp server.
Build the most updated version of ffmpeg from source, I have another good PC, which should handle the main processing, so I really need the pi, only to send the output to the stream. I know it may be easier other way around, but I would really like to do this this way.
So what I have:
ffmpeg -devices:
Devices:
D. = Demuxing supported
.E = Muxing supported
—
DE alsa ALSA audio output
D dv1394 DV1394 A/V grab
DE fbdev Linux framebuffer
D jack JACK Audio Connection Kit
D lavfi Libavfilter virtual input device
DE oss OSS (Open Sound System) playback
E sdl SDL output device
E v4l2 Video4Linux2 output device
D video4linux2,v4l2 Video4Linux2 device grab
D x11grab X11 screen capture, using XCB
hoped i could do something like:
ffmpeg -f fbdev -i /dev/fb0 -f flv rtmp://192.168.0.103/live/test
but i only get ‘Output file #0 does not contain any stream’. So I need to enable them or they are not fully present?
emustation / retroarch(emulators) do not run through x11, if im not mistaken, so which video source should i grab? And what are the input (files) for the streams? I read something about v4l2 and /dev/video0 , but video0 is not present, or better grab it from the dv1394? Doing more research, but maybe someone knows.
Hope I’m understandable :D
happy valentine’s
Pi Model: 2 +
RetroPie Version Used: latest version 7 days ago
Built From: SD
USB Devices connected: keyboard, WLAN, 2 controllers
Controller used: 1 xbox360 (udev) and an old ps one fake usb controller (greenix something)