Skip to content
Snippets Groups Projects
  1. Nov 08, 2023
  2. Nov 07, 2023
    • Alaric Senat's avatar
      sout: duplicate: allow custom ES ID suffix · b271fe99
      Alaric Senat authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      Add an optional parameter to the duplicated streams.
      The ES ID suffix can be used to synthesize meaningful ES IDs.
      
      By default, duplicated ES string IDs follows the
      `.../duplicated-stream-N` scheme where `...` is the former ES string ID
      and `N` is the duplicated stream index. This approach is great for
      scenarios where users don't mind ES naming or for simple stream output
      chains.
      For advanced stream output chains where ES ID needs to be easily
      readable or tied to a context, specifying the ES ID suffix become
      important.
      
      For example, the following pipeline outputs an HLS stream with two
      renditions of the video track.
      
      ```
      duplicate{
          dst="",                                                                # Forward all original tracks to the sink.
          dst="transcode{vcodec=h264,height=480}", select="video", suffix="low", # Duplicate and downscale the video track.
      }:hls{
          variants={
            {video/1},    # Rendition 1: The original video track.
            {video/1/low} # Rendition 2: Suffixed downscaled video track.
          }
      }
      ```
      b271fe99
    • Alaric Senat's avatar
      sout: duplicate: suffix and forward ES string IDs · 3d943044
      Alaric Senat authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      For uniqueness of the ES string IDs, `duplicate` should synthesize
      different ES IDs for each duplicated ES.
      This patch adds a `/duplicated-stream` suffix to the duplicated ES
      followed by the stream number. The original ES keeps their former ES ID.
      
      Example:
      
                     +-----------+ -- video/1 ---------------------->
                     |           | -- audio/2 ---------------------->
       -- video/1 -->| duplicate | -- video/1/duplicated-stream-1 -->
       -- audio/2 -->|           | -- audio/2/duplicated-stream-1 -->
                     |           | -- video/1/duplicated-stream-2 -->
                     +-----------+ -- audio/2/duplicated-stream-2 -->
      3d943044
    • Steve Lhomme's avatar
      mmal/vout: reduce indentation · 88d68581
      Steve Lhomme authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      88d68581
    • Steve Lhomme's avatar
      vout: pass the SPU regions to render as const · 2d53d9ca
      Steve Lhomme authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      The display module should not need to modify them.
      2d53d9ca
    • Steve Lhomme's avatar
      subpicture: use a separate type to pass a list of SPU regions to render · f599d4c4
      Steve Lhomme authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      It contains only the useful fields from subpicture_t.
      
      A display module should not need to know about channels, order, ephemer, fade,
      etc.
      f599d4c4
    • Steve Lhomme's avatar
      caopengllayer: remove empty spaces · 24eb95a5
      Steve Lhomme authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      24eb95a5
  3. Nov 06, 2023
  4. Nov 05, 2023
  5. Nov 04, 2023
Loading