[Libav-user] Missing reference picture

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Libav-user] Missing reference picture

Rikhardur Einarsson (Hangar 13 Games)

Hi there,


So I am currently trying to decode a video that I encoded myself through the use of the library,

after I have sent some packets and received some frames it eventually starts spitting out errors like this


Missing reference picture, default is 65548


This error is printed 4 times right after the call to avcodec_send_packet

Every subsequent call to avcodec_send_packet also prints this error except the number has been incremented by 8.


There are some other errors that get printed later after 200-300 of the missing reference ones but I assume they are a symptom of this one.


(examples of these would be “mmco: unref short failure”, “pps_id 3199971767 out of range”, “Invalid NAL unit 17, skipping.”, “slice type 32 too large at 31195135”, “decode_slice_header error”, “no frame!”, “illegal POC type 4” and “too many reference frames 32”)


Full log until first error:

Output #0, mp4, to 'D:\test_projects\test\trusting.mp4':


    major_brand     : isom

    minor_version   : 512

    compatible_brands: isomiso2avc1mp41

    encoder         : Lavf58.20.100

    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 256x256, q=2-31, 133 kb/s, 60.02 fps, 60 tbr, 90k tbn, 120 tbc (default)


      handler_name    : VideoHandler

Parser not found, will try to encode without parsing.

Output #0, wav, to 'D:\test_projects\test\faraway.wav':

    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s

[libx264 @ 0000015719378a00] MB rate (23040000) > level limit (16711680)

[libx264 @ 0000015719378a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512

[libx264 @ 0000015719378a00] profile Progressive High, level 6.2, 4:2:0, 8-bit

[libx264 @ 0000015719378a00] 264 - core 157 r2970 5493be8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=8 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=12 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=12 rc=abr mbtree=1 bitrate=200 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00

[aac @ 000001571937b2c0] Too many bits 32768.000000 > 12288 per frame requested, clamping to max

Output #0, mp4, to 'D:\test_projects\test\interleaved.mp4':

    Stream #0:0: Video: h264, yuv420p, 256x256, q=2-31, 200 kb/s, 90k tbn

    Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 529 kb/s

[h264 @ 0000015718f18880] Missing reference picture, default is 65548

[h264 @ 0000015718f18880] Missing reference picture, default is 65548

[h264 @ 0000015718f18880] Missing reference picture, default is 65548

[h264 @ 0000015718f18880] Missing reference picture, default is 65548


Thank you in advance for any help you can provide



Libav-user mailing list
[hidden email]

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".