videojs / mux.js

Lightweight utilities for inspecting and manipulating video container formats.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pixel format in initSegment

cthurston opened this issue · comments

There is no pixel format in the initSegments from the mp4 generator.

I'm using this for a proof of concept on the server and ffmpeg complains.

ffmpeg original ts file:

Duration: 00:00:02.01, start: 396.992000, bitrate: 2451 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, smpte170m/bt709/bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 90k tbn, 180k tbc

ffmpeg of the initSegment (keepOriginalTimestamps true/false)

creation_time   : 1970-01-01T00:00:01.000000Z
  Duration: 24:51:18.49, bitrate: N/A
    Stream #0:0(und): Video: h264 (avc1 / 0x31637661), none, 1280x720, SAR 1:1 DAR 16:9, 90k tbr, 90k tbn, 180k tbc (default)

I did some more inspecting and the output from ffmpeg DASH doesn't have pixel ratio either. So I'm just going to close this.