Open kqyang opened 8 years ago
Any update? How can I choose video streams from TS?
File "udp://239.190.176.151:5000":
Found 4 stream(s).
Stream [0] type: Video
codec_string: avc1.4d401e
time_scale: 90000
duration: 9223372036854775807 (102481911520608.6 seconds)
is_encrypted: false
codec: H264
width: 854
height: 480
pixel_aspect_ratio: 1:1
trick_play_factor: 0
nalu_length_size: 4
Stream [1] type: Video
codec_string: avc1.4d4015
time_scale: 90000
duration: 9223372036854775807 (102481911520608.6 seconds)
is_encrypted: false
codec: H264
width: 576
height: 324
pixel_aspect_ratio: 1:1
trick_play_factor: 0
nalu_length_size: 4
Stream [2] type: Video
codec_string: avc1.42e015
time_scale: 90000
duration: 9223372036854775807 (102481911520608.6 seconds)
is_encrypted: false
codec: H264
width: 384
height: 216
pixel_aspect_ratio: 1:1
trick_play_factor: 0
nalu_length_size: 4
Stream [3] type: Audio
codec_string: mp4a.40.2
time_scale: 90000
duration: 9223372036854775807 (102481911520608.6 seconds)
is_encrypted: false
codec: AAC
sample_bits: 16
num_channels: 2
sampling_frequency: 48000
language:
ffprobe:
Input #0, mpegts, from 'udp://239.190.176.151:5000':
Duration: N/A, start: 58340.629967, bitrate: N/A
Program 1
Metadata:
service_name : TVE-001
service_provider: -
Stream #0:0[0x123]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuvj420p(pc, bt470bg, progressive), 854x480 [SAR 1:1 DAR 427:240], 25 fps, 25 tbr, 90k tbn, 180k tbc
Stream #0:1[0x124]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuvj420p(pc, bt470bg, progressive), 576x324 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 180k tbc
Stream #0:2[0x125]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuvj420p(pc, bt470bg, progressive), 384x216 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 180k tbc
Stream #0:3[0x12a](hun): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 102 kb/s
@osztrovszky That is not a multi-program stream and it is already supported. See https://google.github.io/shaka-packager/html/documentation.html#stream-descriptors. You can use a number based stream selector, i.e. 0, 1, 2, 3.
Hello there,
Any update on supporting Multi-program MPEG2-TS stream(s)? To present (and to my knowledge), shaka-packager does not implement this yet, resulting in this error when attempting to package this type of content:
ERROR:ts_section_pat.cc(90)] Multiple programs detected in the Mpeg2 TS stream
Low priority.