CrypticSignal / bitrate-plotter

Plots a graph showing the bitrate every second or the bitrate of every GOP, for an audio or video file.
23 stars 2 forks source link

Can't view Graph type 2 with GOP #1

Closed andposteo closed 1 year ago

andposteo commented 2 years ago

Hi, with parameter -g works well but -gop i received next issue:

Traceback (most recent call last):
  File "C:\Soft\bitrate-plotter-main\main.py", line 138, in <module>
    gop_end_times, gop_bitrates = get_gop_bitrates(process, number_of_frames, data_output_path)
  File "C:\Soft\bitrate-plotter-main\ffprobe_output_parser.py", line 72, in get_gop_bitrates
    key_frame, pkt_dts_time, pkt_size = line.strip().split(",")
ValueError: not enough values to unpack (expected 3, got 1)
CrypticSignal commented 2 years ago

Just did some testing and I do not get the same errror. Can you share the full command that you tried and are you trying to analyse a video file? GOP isn't applicable to audio files.