Open maximk-1 opened 1 week ago
Sorry, but this doesn't make sense, the MPD has 2 tracks video (v1-x3) and audio (a1-x3). I downloaded both init segments, and analyzed their content, video -
# wget http://localhost:8001/local/dash/content/spbtv_sample_bipbop_av1_960x540_25fps.mp4/init-v1-x3.webm
# python ~/matroska.py init-v1-x3.webm
unknown tag 1a45dfa3
Segment 36 master 48
Info 48 master 60
TimestampScale 1000000
Duration 15000.0
MuxingApp nginx-vod-module
WritingApp nginx-vod-module
Tracks 116 master 128
TrackEntry 128 master 137
TrackNumber 1
TrackUID 4466639144919767476
CodecID V_AV1
TrackType 1
Video 161 master 170
PixelWidth 960
PixelHeight 540
audio -
# wget http://localhost:8001/local/dash/content/spbtv_sample_bipbop_av1_960x540_25fps.mp4/init-a1-x3.mp4
# python /opt/nginx-vod-module/test/print_mp4_atoms.py init-a1-x3.mp4
ftyp
69736f350000000169736f35646173686d736978
moov
mvhd
00000000000000000000000000015f900014a78000010000010000000000000000000000000100000000000000000000000000000001000000000000000000000000000040000000000000000000000000000000000000000000000000000000ffffffff
trak
mdia
mdhd
00000000000000000000000000015f900014a78000000000
minf
dinf
dref
00000000000000010000000c75726c2000000001
smhd
0000000000000000
stbl
stsz
000000000000000000000000
stsc
0000000000000000
stsd
00000000000000010000004b6d7034610000000000000001000000000000000000010010000000007d0000000000002765736473000000000319000000041140150002bc0002ee000001770005021288060102
stts
0000000000000000
stco
0000000000000000
hdlr
0000000000000000736f756e000000000000000000000000536f756e6448616e646c657200
tkhd
00000003000000000000000000000001000000000014a780000000000000000000000000010000000001000000000000000000000000000000010000000000000000000000000000400000000000000000000000
mvex
trex
000000000000000100000001000000000000000000000000
Each one has a single track, as expected.
Yep. Same does other tools, like MKVToolNix. Also stream is not playable in VLC. No video, only audio. Failing with error
mkv debug: | + Cluster
mkv error: cannot find any cluster or chapter, damaged file ?
Hi.
Seems to be a bug - vod-module makes a duplicate of video stream in video metadata of video fragments in mpeg-dash streaming. sample https://github.com/SPBTV/video_av1_samples/blob/master/spbtv_sample_bipbop_av1_960x540_25fps.mp4 server config:
dash stream
As you can see in ffmpeg output input stream has 3 tracks. But source video file has 1 video and 1 audio.
Here i downloaded init and 1st segment of dash stream and concatenated - same duplication: