plotbitrate icon indicating copy to clipboard operation
plotbitrate copied to clipboard

Support for AV1 format

Open damian101 opened this issue 3 years ago • 3 comments

I had to set up my operating system again, Arch Linux, because my SSD died, and now plotbitrate doesn't seem to support AV1 video anymore, I always get an empty graph, 0 Mbit/s. I assume this might be an ffprobe issue, but posting here regardless as I don't have the knowledge to investigate further.

damian101 avatar Aug 17 '22 11:08 damian101

@damian101, any chance you could share a small clip of the video you're having problems with? I went looking online for a small sample clip encoded using AV1 and found https://github.com/SPBTV/video_av1_samples/blob/master/spbtv_sample_bipbop_av1_960x540_25fps.mp4

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'spbtv_sample_bipbop_av1_960x540_25fps.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: avc1isommp42avc1
    creation_time   : 2018-10-05T14:40:45.000000Z
  Duration: 00:00:15.04, start: 0.000000, bitrate: 130 kb/s
  Stream #0:0[0x1](und): Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz, mono, fltp, 8 kb/s (default)
    Metadata:
      handler_name    : snd
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](und): Video: av1 (Main) (av01 / 0x31307661), yuv420p(tv), 960x540, 116 kb/s, 25 fps, 25 tbr, 90k tbn (default)
    Metadata:
      handler_name    : vid
      vendor_id       : [0][0][0][0]

This clip appears to work fine on my Fedora 36 system after I updated some matplotlib stuff (unrelated to this bug).

out

zeroepoch avatar Aug 20 '22 22:08 zeroepoch

I think on my system it's using libdav1d for the decoding.

zeroepoch avatar Aug 20 '22 23:08 zeroepoch

@damian101, any chance you could share a small clip of the video you're having problems with? I went looking online for a small sample clip encoded using AV1 and found https://github.com/SPBTV/video_av1_samples/blob/master/spbtv_sample_bipbop_av1_960x540_25fps.mp4

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'spbtv_sample_bipbop_av1_960x540_25fps.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: avc1isommp42avc1
    creation_time   : 2018-10-05T14:40:45.000000Z
  Duration: 00:00:15.04, start: 0.000000, bitrate: 130 kb/s
  Stream #0:0[0x1](und): Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz, mono, fltp, 8 kb/s (default)
    Metadata:
      handler_name    : snd
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](und): Video: av1 (Main) (av01 / 0x31307661), yuv420p(tv), 960x540, 116 kb/s, 25 fps, 25 tbr, 90k tbn (default)
    Metadata:
      handler_name    : vid
      vendor_id       : [0][0][0][0]

This clip appears to work fine on my Fedora 36 system after I updated some matplotlib stuff (unrelated to this bug).

out

With the same sample I get an empty graph... so it's something about my system, not the specific sample...

damian101 avatar Aug 20 '22 23:08 damian101