Uh oh!
There was an error while loading. Please reload this page.
Update ffmpeg.py - #31
Conversation
Check if using mjpeg as input_format and disable "-video_size" as mjpeg does not use it, and it causes ffmpeg to stop if used.
gcurtis79
commented
Jan 1, 2019
Just a note: This change will have absolutely no effect on anyone not using mjpeg input format, and requires no additional config options. With this simple patch to ffmpeg.py, you can now stream from a Pi Zero to LetsRobot.tv with another machine (in my case a Ubuntu Server) with normal config settings. In my case, I use the following in the standard config file: |
gcurtis79
commented
Jan 30, 2019
Checking in to see if this should be dropped, or if it's going to be merged. I've been using it for weeks now. |
Nocturnal42
commented
Feb 2, 2019
It's because there are already several conditionals added to the ffmpeg command line builds, and it makes sense that they should all be handled in a consistent fashion. I've been meaning to go over it and pick a method to go with. I just haven't got around to it. |
gcurtis79
commented
Feb 2, 2019
Gotcha. I didn't know if there were any already. I would have made it a list check, but I only knew of the one that caused the error so far. |
Nocturnal42
commented
Feb 2, 2019
They are mostly in the ffmpeg audio stuff, from memory. |
If using "video_input_format=mjpeg" then disable '-video_size'
Otherwise, normal operation.
Should make it a list of incompatible input_formats, but I'm only aware of mjpeg.