Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Using ffmpeg via extpipe (S?bastien Delafond) ---------------------------------------------------------------------- Message: 1 Date: Mon, 22 Jan 2018 11:00:29 +0000 (UTC) From: S?bastien Delafond <s...@debian.org> To: motion-user@lists.sourceforge.net Subject: [Motion-user] Using ffmpeg via extpipe Message-ID: <20180122102928....@usenet.piggo.com> Hello, my main goal is to produce webm videos with motion; to that end, I played a bit with extpipe, but no matter what set of switches I passed ffmepg, it always resulted in: "pipe:: Invalid data found when processing input" Not sure exactly where the problem occured, I figured I'd take my testing away from motion by doing the following: 1. grab a raw capture from motion, via "extpipe cat > /tmp/foo.raw" 2. perform more tests with ffmepg on that foo.raw file Step #1 went fine, leaving me with a somewhat large foo.raw: file(1) says "data", which doesn't surprise me, but both ffplay and ffprobe (with a without "-f rawvideo") fail to recognize or play it. ffmpeg can't do anything with it either (even a simple encoding to mp4 fails). All the ff* tools fail with the same messages: - "invalid data when processing input", if I feed them foo.raw on stdin - "Picture size 0x0 is invalid" if I pass foo.raw as a regular command-line argument At this point, I'm not sure what to try next. Is there some extra switch I need to pass ffmpeg so it can recognize the raw stream produced by motion ? Cheers, --Seb ------------------------------ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 139, Issue 4 *******************************************