nginx-vod-module icon indicating copy to clipboard operation
nginx-vod-module copied to clipboard

Wrong AVC Codec Level, "avc1.640032" instead of "avc1.640028"

Open mlevkov opened this issue 2 years ago • 4 comments

Hello,

I would like to report a wrong codec level being reported in the DASH manifest output.

The file contains "avc.640028", however, it is being reported as "avc.640032". Not certain if this was already addressed in any of the previous releases. However, I could not find which one. Please advise.

Please see below:

image

Thank you

mlevkov avatar Mar 03 '22 06:03 mlevkov

Hi Maxim, can you share a link to the MP4? even a clip of a few sec of it is enough

erankor avatar Mar 03 '22 06:03 erankor

sure

mlevkov avatar Mar 03 '22 16:03 mlevkov

I'm getting the correct codec -

HLS -

# curl localhost:8001/local/hls/content/1960877.mp4/master.m3u8
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=5095561,RESOLUTION=1920x1080,FRAME-RATE=23.974,CODECS="avc1.640028,mp4a.40.2"
http://localhost:8001/local/hls/content/1960877.mp4/index-v1-a1.m3u8

#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=671005,RESOLUTION=1920x1080,CODECS="avc1.640028",URI="http://localhost:8001/local/hls/content/1960877.mp4/iframes-v1-a1.m3u8"

DASH -

# curl -s localhost:8001/local/dash/content/1960877.mp4/manifest.mpd | grep -B3 -A6 codec
      <Representation
          id="v1-x3"
          mimeType="video/mp4"
          codecs="avc1.640028"
          width="1920"
          height="1080"
          frameRate="45000/1877"
          sar="1:1"
          startWithSAP="1"
          bandwidth="4967560">
--
      <Representation
          id="a1-x3"
          mimeType="audio/mp4"
          codecs="mp4a.40.2"
          audioSamplingRate="44100"
          startWithSAP="1"
          bandwidth="128001">
      </Representation>
    </AdaptationSet>
  </Period>

Maybe you replaced the file and still getting a cached response or something?

erankor avatar Mar 03 '22 17:03 erankor

Will take a look again and let you know.

mlevkov avatar May 01 '22 03:05 mlevkov