[mythtv] Call for testing switch to public FFmpeg avio API

Scott Theisen scott.the.elm at gmail.com
Wed Jul 31 20:32:02 UTC 2024


On 7/29/24 15:44, Roland Ernst wrote:
>
>
> On Tue, Jul 16, 2024 at 6:24 AM Scott Theisen 
> <scott.the.elm at gmail.com> wrote:
>
>     Hello all,
>
>     I have replaced the last few uses of internal FFmpeg headers and I
>     would
>     appreciate some testing.  The changes are here:
>     https://github.com/MythTV/mythtv/pull/931
>
>     I am not aware of any HTTP streams for testing, but playback of
>     recordings and videos, making new recordings, and watching live TV
>     all
>     worked fine.
>
>     Thanks,
>
>     Scott
>
>
> Tested the PR in question with Card type: IPTV recorder (Freebox, 
> IPTV, http streaming) served from tvheadend.
> LiveTV works.
> What about the other streams, like RT(S)P used by SAT->IP?
> Roland
>

I didn't see anything that was immediately obvious to be specific to RTP 
or RTSP.

avio conversion:

  * part 1: HLSRingBuffer for HTTP Live Streaming, 1:1 conversion
  * part 2: MythStreamingBuffer, I'm not sure what this is used for;
    almost 1:1 conversion: AVIOContext::seekable is slightly different
    from URLContext::is_streamed, but should be equivalent how I used it.
  * part 3: MythAVFormatBuffer and MythAVFormatWriter, this change was a
    little more involved and was where most of my concern was since the
    avio API is buffered (libavformat/url.h is not) and I was not sure
    how it would interact with MythMediaBuffer.


That said, I am confident that the changes work correctly.  Of course, 
more testing is always appreciated.

Regards,
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20240731/cd161f65/attachment.htm>


More information about the mythtv-dev mailing list