Pipe an input stream from Internet to stdout with no reencoding, reformatting

Hope someone could help.

Objective: pipe out (stdout) a m3u8 from Internet to the console

ffmpeg command line I’m using:

ffmpeg -loglevel warning -fflags +igndts -fflags +genpts -i https://stitcher-ipv4.pluto.tv/v2/stitch/embed/hls/channel/5d93b635b43dd1a399b39eeelivestitch/master.m3u8?deviceType=plutotv&deviceMake=plutotv&deviceModel=plutotv&deviceVersion=unknown&appVersion=unknown&deviceLat=0&deviceLon=0&deviceDNT=%7BTARGETOPT%7D&deviceId=%7BPSID%7D&advertisingId=%7BPSID%7D&us_privacy=1YNY&profileLimit=&profileFloor=&profilesFromStream=true&serverSideAds=false -c copy -f mpegts pipe:1

Issue: the stream has multiple video streams that appear one after the other. Typically, when the program ands (video stream 0), the channel logo animation / ads enter (video stream 21) for 30 seconds and then the program is back (video stream 0). The screen gets black during the video stream 21 and gets back when video stream 0 comes back from the source.

What I would like to accomplish: pass everything that comes from the input stream to stdout, regardless of format, streams available, etc. If I open the input URL from the browser, it will load everything correctly (program, channel animation ads, etc.).

ffmpeg logs, right after the program ends:

2025-06-29 20:27:51.554 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.556 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.558 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.558 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.558 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.559 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.559 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.585 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.588 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.590 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.590 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.591 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.592 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.593 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.596 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.596 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.597 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.597 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.598 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.599 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.599 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.600 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.600 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.600 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.600 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.601 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.603 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.603 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.606 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.606 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.606 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.606 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.606 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.606 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.613 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.613 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.614 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.640 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.640 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.641 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.641 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.643 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.667 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.667 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.669 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.696 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.697 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.698 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.699 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.700 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.725 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.726 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.726 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.726 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.741 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.743 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.744 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 192
2025-06-29 20:27:51.745 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 204
2025-06-29 20:27:51.936 spawn: [mpegts @ 0x60fc8f2e9180] changing packet size to 188
2025-06-29 20:27:51.938 spawn: [in#0/hls @ 0x60fc8eefe740] New audio stream with index 20 at pos:121851452 and DTS:6.01333s
2025-06-29 20:27:51.938 spawn: [in#0/hls @ 0x60fc8eefe740] New video stream with index 21 at pos:121830208 and DTS:NOPTSs```