Comments (19)
ffmpeg is not supported. You might try avconv + bmdtools or with libbmd
built-in capture.
On Nov 13, 2013 2:12 PM, "xueshui" [email protected] wrote:
I have a Decklink 4K Extreme, I use it capture 4K videos and at the same
time encode it by ffmpeg, I founed this process can't reach 25 fps. My
ffmpeg call libx264 to encode 4K videos, it will reach 85fps on my
computer. So I wonder why i Capture by bmdtool and encode by ffmpeg only
13fps.
My command is :
bmdcapture -m 25 -F nut -f pipe:1 | ffmpeg -i - -vcodec libx264 -profile:v
high422 -r 25 -f mpegts udp://239.1.1.1:1234Thanks for your advice
xueshui—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27
.
from bmdtools.
Firstly, i found it is ok when the video size is 1080P.
Secondly, I think I can't capture and encode the 4k video in real-time just because the pipe speed is not enough!
Each time, the system stop because the queue is full and then stop capture. I increased the buffer size, but the system will stop still, just it will run more time before stoping. So i think the problem is the pipe speed is not enough, the capture video data can't send to the ffmpeg through the pipe in real-time.
Do you konw how to solve it ?
Thank you in advance ! Thank you !
from bmdtools.
As I wrote before you would need the avconv+libbmd integration, I'm going
to update it this days btw.
from bmdtools.
Ok, I will try the avconv + bmdtools and then I will tell you the result. Thank you !
from bmdtools.
libbmd =) https://github.com/lu-zero/libbmd/blob/master/README.md
I hadn't time to update it today so it might not build, ping me on irc in
case you can't pick the matching commit.
On Thu, Nov 21, 2013 at 2:53 AM, xueshui [email protected] wrote:
Ok, I will try the avconv + bmdtools and then I will tell you the result.
Thank you !—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-28951611
.
from bmdtools.
Excuse me, I have some problems when i build the libbmd .
My process is as follows:
- aclocal : create aclocal.m4 file
- autoconf : create configure file
- autoheader : create config.h.in
- automake --add-missing
then it appears error as follows:
./configure: line 2893: syntax error near unexpected tokenTOOLS,' ./configure: line 2893:
PKG_HAVE_WITH_MODULES(TOOLS, libavformat libavcodec libswscale)'
I have installed libav on my computer.
How can I solve this problem?
from bmdtools.
autoreconf -i is what I use, that macro should be in the m4/pkg.m4 (I'm
actively using and promoting pkgconf over pkg-config)
On Thu, Nov 21, 2013 at 10:16 AM, xueshui [email protected] wrote:
Excuse me, I have some problems when i build the libbmd .
My process is as follows:
- aclocal : create aclocal.m4 file
- autoconf : create configure file
- autoheader : create config.h.in
- automake --add-missing
then it appears error as follows:
./configure: line 2893: syntax error near unexpected token TOOLS,'
./configure: line 2893:PKG_HAVE_WITH_MODULES(TOOLS, libavformat
libavcodec libswscale)'I have installed libav on my computer.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-28967863
.
from bmdtools.
Hi, I have compiled the libbmd and libav, and my command is
./avconv -analyzeduration 0 -f bmd -video_mode 23 -video_connection 4 -video_format 0 -i default -vcodec libx264 -preset ultrafast -profile:V high422 -r 24 test.mkv
But the program has no response!
Through debuged the libav, I found the function has_codec_parameters is executed in a loop, and the founction is called by the function avformat_find_stream_info. So it didn't call the libbmd.
I suppose the program may not parse the command correctly.
And I found the command didn't contain any device information, does it know which device should be used?
Thank you!
from bmdtools.
Hello, I think the program may have some problems with the input.
The main function calls avconv_parse_options function, and the avconv_parse_options function calls open_input_file function.
The open_input_file function must reads a video stream to find the information of the stream, and then decide what to do. But at that time, there is no Decklink hardware be selected, therefore there is no stream be read in the function. So it will executed the for( ; ; ) in a loop. Certainly, I can't get the result which i wanted.
Perhaps the problem lies here. But how should I do to deal with the problem?
from bmdtools.
That code (using an older libbmd) is surprisingly used in production in
about 1k devices, so I'm quite sure it works =)
On Sun, Dec 1, 2013 at 1:03 PM, xueshui [email protected] wrote:
Hello, I think the program may have some problems with the input.
The main function calls avconv_parse_options function, and the
avconv_parse_options function calls open_input_file function.
The open_input_file function must reads a video stream to find the
information of the stream, and then decide what to do. But at that time,
there is no Decklink hardware be selected, therefore there is no stream be
read in the function. So it will executed the for( ; ; ) in a loop.
Certainly, I can't get the result which i wanted.
Perhaps the problem lies here. But how should I do to deal with the
problem?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-29572365
.
from bmdtools.
You're trying to encode 4k video in REALTIME with h264 and a preset set as high, what cpu are you using? I think you may have much better results with ultrafast. As for libbmd, update should have better results.
from bmdtools.
Probably I should start providing direct encoding support in bmdtools in a bit.
from bmdtools.
Xueshui, did you ever manage to solve the issue with the low-fps output of the bmdtools when capturing 4K? I'm having the same issues...
from bmdtools.
@rayvbr could you arrange so I can have a direct look at the issue?
On Tue, Mar 18, 2014 at 11:57 AM, rayvbr [email protected] wrote:
Xueshui, did you ever manage to solve the issue with the low-fps output of
the bmdtools when capturing 4K? I'm having the same issues...Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-37919885
.
from bmdtools.
@lu-zero thanks for the offer. Fortunately, I've already solved the problem using a work-around. When I tried to encode the output from bmdcapture in MJPEG (via libav), I got a fps of about 20 (with 24fps content). It doesn't seem to be a CPU or memory issue, since the results are the same on different machines and the CPU is not heavily loaded. However, when I encode it with x264 (with preset ultrafast) I can get to 24fps without any problems (and even to 30fps).
from bmdtools.
If you could provide me some 4k content I'd like to check what's going
wrong with mjpeg (if you open a bug on bugzilla.libav.org would be great as
well).
On Wed, Mar 19, 2014 at 4:50 PM, rayvbr [email protected] wrote:
@lu-zero https://github.com/lu-zero thanks for the offer. Fortunately,
I've already solved the problem using a work-around. When I tried to encode
the output from bmdcapture in MJPEG (via libav), I got a fps of about 20
(with 24fps content). It doesn't seem to be a CPU or memory issue, since
the results are the same on different machines and the CPU is not heavily
loaded. However, when I encode it with x264 (with preset ultrafast) I can
get to 24fps without any problems (and even to 30fps).Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-38067373
.
from bmdtools.
How would you like me to provide the content? I'm currently using bmdcapture in combination with the Decklink 4K Extreme.
from bmdtools.
h264 encoded is fine, having it in raw would be great as well. If you have
copy.com I can get it from there.
On Wed, Mar 19, 2014 at 5:33 PM, rayvbr [email protected] wrote:
How would you like me to provide the content? I'm currently using
bmdcapture in combination with the Decklink 4K Extreme.Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-38073641
.
from bmdtools.
@rayvbr Hi, I'm glad to hear you have solved this problems, could you list your command of your system. Thank you !
from bmdtools.
Related Issues (20)
- bmdplay looses the time of buffering
- memlimit is ignored. HOT 2
- How to install libfdk-acc-dev ?
- bmdplay.cpp setting connections
- Makefile:58: recipe for target 'bmdcapture' failed HOT 3
- Segmentation Fault: 11 for bmdcapture
- Document how to build on windows HOT 2
- bmdplay interlace video format problem HOT 1
- AVCodecParameters HOT 1
- Multiple Concurrent Captures on Decklink Duo 2 fail on some interfaces HOT 2
- bmdplay 1080p25 problem HOT 2
- Multiple Captures on Single Interface HOT 6
- Can't get HDMI input to work. Colour bars only. HOT 2
- "This application requires the DeckLink drivers installed" error when running bmdcapture HOT 1
- bmdplay: Would it be possible to use streams without audio? HOT 9
- Question about multiple pipe with bmdplay HOT 1
- Make bmdplay pass input option
- Do not crash if the file does not exist
- Pause / Resume for Bmdplay HOT 3
- Is the input faster than realtime?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bmdtools.