What are mv, fd, aq, vq, sq and f in a video stream?

I play video streams using RTSP over TCP using FFPLAY, and it plays fine when the vq value increases, but stops after 5-6 seconds when only the value increases to MV.

nan MV: nan fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 ...... ...... Duration: N/A, start: 2.133467, bitrate: N/A Stream #0:0: Video: h264 (Main), yuvj420p(pc), 1280x1024, 15 fps, 25 tbr, 90k tbn, 30 tbc [swscaler @ 0x7fd9502403c0] deprecated pixel format used, make sure you did set range correctly "76.81" MV: -5.409 fd= 0 aq= 0KB vq= 0KB sq= 0B f=2/2 ` 

Can someone explain what these MV, fd, aq, vq, f, as well as the value before MV ("76.81")?

+6
source share
1 answer

I had the same question, and looking at ffplay , the source found this:

  av_log(NULL, AV_LOG_INFO, "%7.2f %s:%7.3f fd=%4d aq=%5dKB vq=%5dKB sq=%5dB f=%"PRId64"/%"PRId64" \r", get_master_clock(is), (is->audio_st && is->video_st) ? "AV" : (is->video_st ? "MV" : (is->audio_st ? "MA" : " ")), av_diff, is->frame_drops_early + is->frame_drops_late, aqsize / 1024, vqsize / 1024, sqsize, is->video_st ? is->viddec.avctx->pts_correction_num_faulty_dts : 0, is->video_st ? is->viddec.avctx->pts_correction_num_faulty_pts : 0) 

Playing a sample video received sample output:

7.11 AV: 0.003 fd= 1 aq= 21KB vq= 321KB sq= 0B f=0/0

7.11 (master clock) - time from the beginning of the stream / video

AV (avdiff) Difference between audio and video tags

fd Number of frames dropped

aq audio frame size

vq video frame size

sq subtitle frame size

f Timestamp correction speed (not 100%)

MV , MA means only video stream, audio stream only respectively.

+5
source

Source: https://habr.com/ru/post/980523/


All Articles