Forum Replies Created

  • Oche Ejembi

    August 19, 2013 at 11:32 pm in reply to: HANDY TIP: Using FFprobe for stream analysis

    Turns out the good people developing ffmpeg recently added a graphing tool written in Perl and using Gnuplot and ffprobe.

    In the latest repo, you can find it in tools/plotframes. Its simple enough to use and gives quite impressive graphs on X11. Currently looking for how to maintain that same quality

    .ffmpeg/tools/plotframes -i video.mp4 [-t svg -o video.svg]

    The -t and -o flags are optional and sets the terminal and the output file respectively. A lot of options are available to set the terminal from the gnuplot manual or typing set terminal within the gnuplot environment

  • Oche Ejembi

    August 16, 2013 at 3:23 pm in reply to: HANDY TIP: Using FFprobe for stream analysis

    Thanks a lot for this. I wish I’d seen this a few hours earlier. would have save me some time. I upgraded and it worked.

    WIll definitely post if I can script the graphing although I think you’ve done a great job already.

  • Oche Ejembi

    August 16, 2013 at 3:19 pm in reply to: HANDY TIP: Using FFprobe for stream analysis

    Just in case this helps anyone. I upgraded to the latest version of ffmpeg and I get the pkt_size information with the show-frames tag.

  • Oche Ejembi

    August 15, 2013 at 12:08 pm in reply to: HANDY TIP: Using FFprobe for stream analysis

    Hey!

    I am sorry to be the guy to comment on a 3 year old thread, but I have to ask.

    My version of ffprobe (ffprobe version 0.11.1) -show-frames doesn’t show the size of frames (it does for packets though). Any ideas on what I can do? What’s the relationship between packets and frames?

    This is a sample from my output

    ##################FRAME#####################
    [FRAME]
    media_type=video
    key_frame=0
    pkt_pts=784784
    pkt_pts_time=0:00:26.159467
    pkt_dts=784784
    pkt_dts_time=0:00:26.159467
    pkt_pos=20156243
    width=1920
    height=1080
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=784
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    reference=0
    [/FRAME]

    ##################PACKET#####################
    [PACKET]
    codec_type=video
    stream_index=0
    pts=789789
    pts_time=0:00:26.326300
    dts=789789
    dts_time=0:00:26.326300
    duration=1001
    duration_time=0:00:00.033367
    size=24.804688 Kibyte
    pos=20354166
    flags=_
    [/PACKET

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy