Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TSPlay: HD #35

@DevSysEngineer

Description

@DevSysEngineer

Hello,

In the documentation says that maxnowait should be turned off if you are using -hd command for HD streams, but after using this command is maxnowait not turned off. The value of this variable is 40.

What is the correct value for maxnowait?

Documentation:

For convenience, the '-hd' switch is provided for playing HD video:
-hd equivalent to '-bitrate 20000000 -maxnowait off -pwait 4 -cwait 1'

tswrite.c:

else if (!strcmp("-hd", argv[ii]))
{
    context->maxnowait = 40;
    context->bitrate   = 20000000;
    context->byterate  = context->bitrate / 8;
    global_parent_wait = 4;
    global_child_wait  = 1;
    argv[ii] = TSWRITE_PROCESSED;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions