(2020-04-05, 02:32 AM)sub Wrote: I'm not sure you're right on that one. Usually you'd be able to get HLS or ts from a provider, not m2ts. m2ts is typically only used on dv cameras and some blu-ray stuff.
Quote:I tried using MPEG2 TS in v5, and it causes v5 to transcode the stream even though it is already h264/aac.Can you supply a log showing an attempt to directly access the stream?
I've attached two sets of logs:
hls-logs - attempting to directly access the HLS stream (no proxy involved)
2ts-logs - attempting to access the m2ts stream.
Perhaps the provider is returning the wrong MIME type then, not sure. I ran wget against the stream URL and got this:
Code:
HTTP request sent, awaiting response... 200 OK
Length: unspecified [video/m2ts]
Saving to: 'test.2ts’
test.2ts [ <=> ] 5.70M 1.84MB/s
ffmpeg reports this on the saved file:
Code:
Input #0, mpegts, from 'test.2ts':
Duration: 00:00:12.02, start: 35898.019000, bitrate: 3977 kb/s
Program 1
Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn, 119.89 tbc
Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 126 kb/s
Link to that file: https://drive.google.com/file/d/1teu4B5R...sp=sharing