bytedeco/javacv

Could not open input when using SMB connection

Open

#895 opened on Jan 30, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Java (1,583 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi, I want to play video file like this but it gives me

org.bytedeco.javacv.FrameGrabber$Exception: avformat_open_input() error -1330794744: Could not open input "smb://10.6.1.28/kayit0/33708/1517208041885_00000001.ts". (Has setFormat() been called?) at org.bytedeco.javacv.FFmpegFrameGrabber.startUnsafe(FFmpegFrameGrabber.java:572) at org.bytedeco.javacv.FFmpegFrameGrabber.start(FFmpegFrameGrabber.java:508) at javacv.RecordPlayer.setGrabberOptions(RecordPlayer.java:137) at javacv.RecordPlayer$2.run(RecordPlayer.java:95)

FFmpegFrameGrabber grabber = new FFmpegFrameGrabber("smb://10.6.1.28/kayit0/33708/1517208041885_00000001.ts"); grabber.setImageHeight(480); grabber.setImageWidth(860); grabber.start();

So, maybe you have some ideas how I can resolve this Thank you.

Contributor guide