ribbleyParticipant02/14/2016 at 12:46Post count: 2
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:
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
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)herbfargusMember02/14/2016 at 15:49Post count: 1858
I don’t know if its possible to encode the video on a separate processor, I think the only way to do it is directly on the pi, and obviously the pi doesn’t have the processing power for that. Only way I’ve found is with a capture card. I’d be happy to be proven wrong though.petrockblogKeymaster02/14/2016 at 17:40Post count: 1827
There is no way to capture / encode the framebuffer like this without some custom code to capture images via dispmanx or so – but even if this exists, there wouldn’t be the cpu power or enough io – your best bet is a capture card on another machine.petrockblogKeymaster02/14/2016 at 17:53Post count: 1827
This is interesting also – https://www.raspberrypi.org/forums/viewtopic.php?t=49707
- The forum ‘Video Output on RetroPie’ is closed to new topics and replies.