|
From: Sébastien D. <se...@de...> - 2018-01-22 11:22:50
|
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
|