Skip to content

Feature request: obecli daemon #7

@mraaroncruz

Description

@mraaroncruz

I would love to be able to use a config file that looks something like

# obe.conf
set input decklink
set input opts video-format=pal
set stream opts 0:vbv-maxrate=1000,vbv-bufsize=3000,bitrate=1000
set stream opts 1:bitrate=384,format=mp2
set muxer opts ts-muxrate=5000000
set output rtp

and I could run it like

obecli -d -c obe.conf --probe-input=true -p /var/run/obe.pid
# -d = daemonize, -c config file, -p pid file

and it would give me output like

Probing device: Decklink card 0. Timeout 20 seconds
Stream-id: 0 - Video: RAW 720x576i 25/1fps 
Stream-id: 1 - Audio: PCM stereo 0kbps 48kHz Language: none
Running with PID 1234

Our current solution is sending commands to a detached screen session which feels very much like a hack to me. Especially considering a control script in init.d or update-rc.d to start and stop obe.

Thanks,
Aaron

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions