FFmpegFrameGrabber could not open PipedInputStream

229 views
Skip to first unread message

ask liasd

unread,
Sep 27, 2020, 4:29:47 AM9/27/20
to javacv
org.bytedeco.javacv.FrameGrabber$Exception: avformat_open_input() error -2: Could not open input "java.io.BufferedInputStream@2fc49d61". (Has setFormat() been called?)

I am reporting an error when I want to push the h264 data into an rtmp stream, hope to get help?

Samuel Audet

unread,
Sep 27, 2020, 4:31:06 AM9/27/20
to javacv
Please look at the error message displayed on the console for more information.

2020年9月27日(日) 17:29 ask liasd <76630...@gmail.com>:
org.bytedeco.javacv.FrameGrabber$Exception: avformat_open_input() error -2: Could not open input "java.io.BufferedInputStream@2fc49d61". (Has setFormat() been called?)

I am reporting an error when I want to push the h264 data into an rtmp stream, hope to get help?

--

---
You received this message because you are subscribed to the Google Groups "javacv" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javacv+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/javacv/5f230f90-d43b-4b43-ad32-023c46bfa626n%40googlegroups.com.

Samuel Audet

unread,
Oct 1, 2020, 3:15:12 AM10/1/20
to javacv, ask liasd
If you do not see any error messages on the console, make sure that
FFmpegLogCallback.set() has been called.
Reply all
Reply to author
Forward
0 new messages