Comments (10)
I mistakenly wrote above that this code should be after but it should be before.
Using the following test code I was able to reduce the latency in bmdplay by ~30%:
ic->max_delay = 1000;
ic->flags &= AVFMT_FLAG_NOBUFFER;
ic->probesize = 1000000;
ic->max_analyze_duration = 1000000;
ic->fps_probe_size = 30;
for (int i = 0; i < ic->nb_streams; i++) {
AVStream *st = ic->streams[i];
st->avg_frame_rate.num = 30;
st->avg_frame_rate.den = 1;
}
from bmdtools.
Thanks for reminding me, I'll add soon a nolatency
option.
from bmdtools.
from bmdtools.
Luca,
Thanks. Not pushing but our event is in three weeks. Which part would you skip? The function call I noted or somewhere else?
Thanks again.
Glenn
—
Sent from Mailbox
On Thu, Jun 25, 2015 at 12:28 AM, Luca Barbato [email protected]
wrote:
I'll add a no-latency option to skip that part completely soon, thank for
reminding me!
Reply to this email directly or view it on GitHub:
#58 (comment)
from bmdtools.
In theory all the information should be already provided by NUT (that's why I'm using it), in theory the find_stream_info
call should be a no-op.
If it is not currently, dropping it shouldn't impact the rest as long NUT is used, possibly the -syncpoints none
variant.
from bmdtools.
Got it. I'll give it a try
—
Sent from Mailbox
On Thu, Jun 25, 2015 at 12:54 AM, Luca Barbato [email protected]
wrote:
In theory all the information should be already provided by NUT (that's why I'm using it), in theory the
find_stream_info
call should be a no-op.If it is not currently, dropping it shouldn't impact the rest as long NUT is used, possibly the
-syncpoints none
variant.Reply to this email directly or view it on GitHub:
#58 (comment)
from bmdtools.
Looks like there is an audio parameter missing, so it isn't just dropping that call.
You are doing -c:v copy
, decode it with -c:v rawvideo
or -c:v v210
if you want 10bits output.
from bmdtools.
Luca,
A question, the video is h.264 encoded by Teradek Cube, 720p@30fps. I am trying to output through bmdplay and Quadlink SDI card at 1080i@59fps. Having a very difficult time getting scaling to work. Is this related to using v:copy?
avconv -r 30 -max_delay 1000 -probesize 500000 -analyzeduration 3000000 -fflags nobuffer -i rtmp://localhost:1935/AV2015Local/stream2 -f nut -strict experimental -c:v copy -c:a pcm_s16le - | /home/vidcontrol/Builds/'Blackmagic DeckLink SDK 10.4.1'/Linux/Samples/bmdtools-master/bmdplay -m 12 -C 1 -f pipe:0
I get a 720p region in the upper left corner. Thoughts? Suggestions?
I am not too familiar with Avconv and this may be better posted over there.
Glenn
from bmdtools.
You are not doing any scaling. bmplay does not scale for you. You do it
with avconv. Add a -s 1920x1080 or use -vf scale
On 11 July 2015 at 08:39, glennolsen [email protected] wrote:
Luca,
A question, the video is h.264 encoded by Teradek Cube, 720p@30fps. I am
trying to output through bmdplay and Quadlink SDI card at 1080i@59fps.
Having a very difficult time getting scaling to work. Is this related to
using v:copy?avconv -r 30 -max_delay 1000 -probesize 500000 -analyzeduration 3000000
-fflags nobuffer -i rtmp://localhost:1935/AV2015Local/stream2 -f nut
-strict experimental -c:v copy -c:a pcm_s16le - |
/home/vidcontrol/Builds/'Blackmagic DeckLink SDK
10.4.1'/Linux/Samples/bmdtools-master/bmdplay -m 12 -C 1 -f pipe:0I get a 720p region in the upper left corner. Thoughts? Suggestions?
I am not too familiar with Avconv and this may be better posted over there.
Glenn
—
Reply to this email directly or view it on GitHub
#58 (comment).
Håkon
from bmdtools.
Thanks, I pasted the wrong command I have tried both. Turns out that it is my error. I am streaming 720p and the Blackmagic card is scaling the SDI output to 1080i because that is how I configured it in Desktop Video Utility. Looks good for now. On to the next issue that I will post in another thread.
Thanks again.
Glenn
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.