Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce latency by 1 frame #646

Closed
wants to merge 6 commits into from
Closed

Reduce latency by 1 frame #646

wants to merge 6 commits into from

Commits on Jun 24, 2019

  1. Add option --window-title

    Add an option to set a custom window title.
    
    Signed-off-by: Romain Vimont <[email protected]>
    beango1 authored and rom1v committed Jun 24, 2019
    Configuration menu
    Copy the full SHA
    8e65c10 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #614 from beango1:window-title-simple

    add option window-title to set the title
    rom1v committed Jun 24, 2019
    Configuration menu
    Copy the full SHA
    4b99723 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e4ac943 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2019

  1. Merge branch 'master' into dev

    rom1v committed Jul 30, 2019
    Configuration menu
    Copy the full SHA
    ca970e8 View commit details
    Browse the repository at this point in the history
  2. Add option to change the push target

    A drag & drop always pushed the file to /sdcard/.
    
    Add an option to customize the target directory.
    
    Fixes <#659>
    rom1v committed Jul 30, 2019
    Configuration menu
    Copy the full SHA
    a90ccbd View commit details
    Browse the repository at this point in the history
  3. Reduce latency by 1 frame

    To packetize the H.264 raw stream, av_parser_parse2() (called by
    av_read_frame()) knows that it has received a full frame only after it
    has received some data for the next frame. As a consequence, the client
    always waited until the next frame before sending the current frame to
    the decoder!
    
    On the device side, we know packets boundaries. To reduce latency,
    make the device always transmit the "frame meta" to packetize the stream
    manually (it was already implemented to send PTS, but only enabled on
    recording).
    
    On the client side, replace av_read_frame() by manual packetizing and
    parsing.
    
    <https://stackoverflow.com/questions/50682518/replacing-av-read-frame-to-reduce-delay>
    <https://trac.ffmpeg.org/ticket/3354>
    rom1v committed Jul 30, 2019
    Configuration menu
    Copy the full SHA
    63af7fb View commit details
    Browse the repository at this point in the history