VP9 codec displayed as "Webm" in video flags
#1
I didn't check in detail to make sure, but in just observing some video files that have VP9 video stream the codec flag is Webm.  Webm is an Mkv container variant, not a codec AFAIK.  The files in question happen to be mp4 files.

Example file ffprobe output:
Code:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    title           : δäî δé┤Ω║╝
    artist          : ∞áò∞åî∞áò
    album_artist    : ∞áò∞åî∞áò; Jung So Jeong
    album           : δäî δé┤Ω║╝
    date            : 2020- 2-13
    encoder         : Lavf58.29.100
    genre           : k-trot
    track           : 1
  Duration: 00:03:15.33, start: 0.000000, bitrate: 688 kb/s
    Stream #0:0(eng): Video: vp9 (Profile 0) (vp09 / 0x39307076), yuv420p(tv), 1080x1080, 555 kb/s, SAR 1:1 DAR 1:1, 25.01 fps, 25 tbr, 16k tbn, 16k tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(kor): Audio: opus (Opus / 0x7375704F), 48000 Hz, stereo, fltp, 129 kb/s (default)
    Metadata:
      handler_name    : SoundHandler

scott s.
.
Reply
#2
I only have one vp9 test video, and I get this on Kodi 18.7, Ubuntu 20.04.

Image

Code:
2020-06-19 21:31:11.623 T:140274312189696 INFO: ffmpeg[7F94288C9700]: Input #0, matroska,webm, from 'nfs://192.168.1.141/media/disks/40TB00/TESTVIDEOS/4K/4K - vp9_nature.vp9':
2020-06-19 21:31:11.623 T:140274312189696 INFO: ffmpeg[7F94288C9700]: Metadata:
2020-06-19 21:31:11.623 T:140274312189696 INFO: ffmpeg[7F94288C9700]: ENCODER : Lavf55.44.100
2020-06-19 21:31:11.623 T:140274312189696 INFO: ffmpeg[7F94288C9700]: Duration: 00:04:29.00, start: 0.000000, bitrate: 17962 kb/s
2020-06-19 21:31:11.623 T:140274312189696 INFO: ffmpeg[7F94288C9700]: Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv), 3840x2156, SAR 1:1 DAR 960:539, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default)
2020-06-19 21:31:11.623 T:140274312189696 INFO: ffmpeg[7F94288C9700]: Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default)
2020-06-19 21:31:11.623 T:140274312189696 DEBUG: CDVDDemuxFFmpeg::AddStream ID: 0
2020-06-19 21:31:11.623 T:140274312189696 DEBUG: CDVDDemuxFFmpeg::AddStream ID: 1
2020-06-19 21:31:11.624 T:140274312189696 NOTICE: Opening stream: 0 source: 256
2020-06-19 21:31:11.624 T:140274312189696 NOTICE: Creating video codec with codec id: 167
2020-06-19 21:31:11.624 T:140274312189696 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: Google VP9
2020-06-19 21:31:11.624 T:140274312189696 DEBUG: CDVDVideoCodecFFmpeg - Updated codec: ff-vp9
2020-06-19 21:31:11.624 T:140274312189696 DEBUG: CVideoPlayerVideo::OpenStream - open stream with codec id: 167
Reply
#3
The problem is the texture file in media/flags/videocodec vp9.png should read VP9 rather than WebM IMHO since there is no requirement that WebM container is used for VP9. Though WebM does restrict ("should" not "shall") video codec to VP8 or VP9. I guess I'm saying codec should be codec and not make assumptions about file containers.

scott s.
.
Reply
#4
That's true
Reply
#5
If there's interest, one of the things I'm thinking of doing a PR for is an updated set of media flags which would include a proper VP9 flag.

Preview of what I have in mind

Image
Reply
#6
(2020-06-23, 10:03)jjd-uk Wrote: If there's interest, one of the things I'm thinking of doing a PR for is an updated set of media flags which would include a proper VP9 flag.

Preview of what I have in mind

Image
That looks great. Atmos, DTS:X and Auro logos would be good too (If not already included)
Reply

Logout Mark Read Team Forum Stats Members Help
VP9 codec displayed as "Webm" in video flags0