Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 31st March 2014, 23:17   #1  |  Link
Shaocaholica
Registered User
 
Join Date: Oct 2005
Posts: 19
-maxrate and -bufsize settings for streaming off USB with hardware decoder?

I'm running some tests for streaming 4k@24fps H.264 video off of a USB2 drive and being decoded by a hardware decoder that can handle (on paper) 120,000kbit max. To give myself some headroom I'm setting -maxrate to 95,000k (which is already pretty damn high) but I'm not sure what I should use for -bufsize given that I'll be streaming from USB. Is there some good method to derive -bufsize given my maxrate and interface practical rate (USB2, ~280,000k real world max).

Right now I'm just playing with:

-maxrate 95000k -bufsize 150000k

Last edited by Shaocaholica; 31st March 2014 at 23:22.
Shaocaholica is offline   Reply With Quote
Old 1st April 2014, 05:03   #2  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
I would think -bufsize should be set based on your desired startup time and/or memory available in the hardware decoder? As I understand VBV it is only -maxrate that would be influenced by the USB2 speed.
Asmodian is offline   Reply With Quote
Old 1st April 2014, 06:28   #3  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
The general best practice is to use at least a second of buffer - ideally more. Some situations require much less - like low latency scenarios and picky hardware, but you can usually get away with a second or two.

More than 2-3 seconds is diminishing returns in most cases IMO.
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:37.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.