Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (68)

Sur d’autres sites (11230)

  • avformat/async : Fix bug where async could not recover after seek to eof

    11 novembre 2015, par Bryan Huh
    avformat/async : Fix bug where async could not recover after seek to eof
    

    When async issues its inner seek via ffurl_seek, it treats failures as
    EOF being reached. This is not consistent with the behavior of other
    protocols (e.g. http, cache) which continue to tolerate reads after
    failed seeks, and therefore does not interact correctly with them.

    A common pattern where this manifests itself is where avio_seek is
    called with pos to be the end-of-file - the http range-request would
    fail here, and async would set io_eof_reached to 1. The background
    thread would then refuse to read more bytes, and subsequent reads would
    only empty the fifo and end in an error.

    Presumably the code may have expected subsequent seeks to unset the
    io_eof_reached but this is not guaranteed to be true - a subsequent seek
    that lands in the AVIOContext’s buffer (the fact that the
    previously-failed avio_seek leaves the AVIOContext’s buffer intact also
    suggests that follow-up reads are expected to be tolerated) would not be
    issued to the async_seek function, and when that buffer is drained only
    async_read calls would follow, leading to the same error just described.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/async.c
  • difference between using SDL and using media player class that is videoview

    3 juin 2019, par Whoami

    I have been surfing the net for some time to get basic understanding of media framework in android. As part of this, to display video we have media player class or video view component which can easily display the video. When we have such solution provided by the framework itself, then why there are few components avaiable like SDL [ Simple Direct Media Layer], which claims the same functionality as video view ?

    How both are different ?

  • Revision e4eb0330fa : vp9_spatial_svc_encoder.sh : Disable existing tests, add a test that works. - vp

    31 juillet 2014, par Tom Finegan

    Changed Paths :
     Modify /test/vp9_spatial_svc_encoder.sh



    vp9_spatial_svc_encoder.sh : Disable existing tests, add a test that works.

    - vp9_spatial_svc_encoder.c no longer supports the -m parameter that
    has been used in the example test. Tests using -m have been disabled.
    - Added a basic test that appears to work as of commit
    3249f26ff85e2bfe148167ce80df53643a89a2d2.
    - Minor style clean up.

    Change-Id : Ic1402fcbbe28e33982c5ea12d1e3349f4069a5bf