[FFmpeg-user] Trying to stream to rtmp from my rsp4 and a GoPro
Chris Angelico
rosuav at gmail.com
Tue Feb 16 03:47:43 EET 2021
On Tue, Feb 16, 2021 at 10:35 AM Mike Soultanian <mike at soultanian.com> wrote:
>
> Well.. that was extremely frustrating. I've seriously been going at this
> for probably 16 hours, scouring the net for documentation and trying
> other people's tutorials, wondering why my setup wasn't working as well
> as all the examples that described all the cool stuff you could do with
> ffmpeg. It was only after I purchased another capture card (Elgato Cam
> Link 4k) that I found I found this article when searching for *ffmpeg
> elgato cam link* and found this page:
>
> https://blog.eigenvalue.net/ffmpeg-elgato-camlink-4k/
>
> What was so crucial was one little tidbit towards the end of the page
> where the author writes (referring to running the ffmpeg command):
>
> > Unfortunately, most of the time it will get stuck after two frames.
> > After some random experimentation, I noticed that unplugging the
> > device allowed me to record once, most of the time. I think that it is
> > due to syncing the audio / video stream. The video source seems to
> > request key frames doesn't get the expected data afterwards. Or
> > something else.
> >
>
> This was *exactly* the behavior I was running into, but I had no idea
> that I was actually running into that particular issue! This whole time
> I had a gut feeling that there was somewhat inconsistent behavior
> (sometimes it would seem to work and then on the next run with the same
> settings it would have very low FPS), but I'm a total newbie to this so
> I didn't know if this was just normal behavior or something was wrong.
Not sure if it's the same cause, but a friend of mine has a similar
setup, and she had the same sort of problem when streaming on Twitch.
Her solution was to set it to 4k 30fps and select recording video mode
(without actually recording).
ChrisA
More information about the ffmpeg-user
mailing list