Opened 18 months ago

Closed 9 months ago

#10086 closed defect (fixed)

rpza enc assertion 2

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

https://trac.ffmpeg.org/raw-attachment/ticket/10044/1.jpg

(gdb) r -i 1.jpg -s 1x2 -vcodec rpza -y out.mov
Starting program: ffmpeg_g -i 1.jpg -s 1x2 -vcodec rpza -y out.mov
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
ffmpeg version N-109332-g45ab5307a6 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --enable-libopenjpeg
  libavutil      57. 43.100 / 57. 43.100
  libavcodec     59. 54.100 / 59. 54.100
  libavformat    59. 34.102 / 59. 34.102
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 51.100 /  8. 51.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
[mjpeg @ 0x55555714dd40] EOI missing, emulating
Input #0, jpeg_pipe, from '1.jpg':
  Duration: N/A, bitrate: N/A
  Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 1x1, 25 fps, 25 tbr, 25 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg (native) -> rpza (native))
Press [q] to stop, [?] for help
[New Thread 0x7ffff6b2c700 (LWP 18471)]
[Thread 0x7ffff6b2c700 (LWP 18471) exited]
[New Thread 0x7ffff632b700 (LWP 18472)]
[New Thread 0x7ffff5b2a700 (LWP 18473)]
[New Thread 0x7ffff5329700 (LWP 18474)]
[New Thread 0x7ffff4b28700 (LWP 18475)]
[New Thread 0x7fffeffff700 (LWP 18476)]
[New Thread 0x7fffef7fe700 (LWP 18477)]
[New Thread 0x7fffeeffd700 (LWP 18478)]
[New Thread 0x7fffee7fc700 (LWP 18479)]
[swscaler @ 0x55555716bfc0] deprecated pixel format used, make sure you did set range correctly
[New Thread 0x7fffedffb700 (LWP 18480)]
[New Thread 0x7fffed7fa700 (LWP 18481)]
[New Thread 0x7fffecff9700 (LWP 18482)]
[New Thread 0x7fffec7f8700 (LWP 18483)]
[New Thread 0x7fffebff7700 (LWP 18484)]
[New Thread 0x7fffeb7f6700 (LWP 18485)]
[New Thread 0x7fffeaff5700 (LWP 18486)]
[New Thread 0x7fffea7f4700 (LWP 18487)]
[swscaler @ 0x55555716bfc0] [swscaler @ 0x555557179740] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x55555716bfc0] [swscaler @ 0x55555718b780] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x55555716bfc0] [swscaler @ 0x55555719d300] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x55555716bfc0] [swscaler @ 0x5555571aee40] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x55555716bfc0] [swscaler @ 0x5555571c09c0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x55555716bfc0] [swscaler @ 0x5555571d2580] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x55555716bfc0] [swscaler @ 0x5555571e4340] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x55555716bfc0] [swscaler @ 0x5555571f5fc0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x55555716bfc0] [swscaler @ 0x555557207d40] full chroma interpolation for destination format 'rgb555le' not yet implemented
[Thread 0x7fffea7f4700 (LWP 18487) exited]
[swscaler @ 0x555557179740] deprecated pixel format used, make sure you did set range correctly
[Thread 0x7fffeaff5700 (LWP 18486) exited]
[Thread 0x7fffeb7f6700 (LWP 18485) exited]
[Thread 0x7fffebff7700 (LWP 18484) exited]
[New Thread 0x7fffea7f4700 (LWP 18488)]
[Thread 0x7fffec7f8700 (LWP 18483) exited]
[Thread 0x7fffecff9700 (LWP 18482) exited]
[Thread 0x7fffed7fa700 (LWP 18481) exited]
[Thread 0x7fffedffb700 (LWP 18480) exited]
[New Thread 0x7fffeaff5700 (LWP 18489)]
[New Thread 0x7fffeb7f6700 (LWP 18490)]
[New Thread 0x7fffebff7700 (LWP 18491)]
[New Thread 0x7fffedffb700 (LWP 18492)]
[New Thread 0x7fffed7fa700 (LWP 18493)]
[New Thread 0x7fffecff9700 (LWP 18494)]
[New Thread 0x7fffec7f8700 (LWP 18495)]
[swscaler @ 0x555557179740] [swscaler @ 0x5555571ae680] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x55555718acc0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555571bf2c0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x55555719bc00] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555572066c0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555571e2c40] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555571f48c0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555571d0e80] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x555557219ec0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[Thread 0x7fffec7f8700 (LWP 18495) exited]
[Thread 0x7fffecff9700 (LWP 18494) exited]
[Thread 0x7fffed7fa700 (LWP 18493) exited]
[swscaler @ 0x555557179740] deprecated pixel format used, make sure you did set range correctly
[Thread 0x7fffedffb700 (LWP 18492) exited]
[Thread 0x7fffebff7700 (LWP 18491) exited]
[Thread 0x7fffeb7f6700 (LWP 18490) exited]
[New Thread 0x7fffec7f8700 (LWP 18496)]
[Thread 0x7fffeaff5700 (LWP 18489) exited]
[Thread 0x7fffea7f4700 (LWP 18488) exited]
[New Thread 0x7fffecff9700 (LWP 18497)]
[New Thread 0x7fffed7fa700 (LWP 18498)]
[New Thread 0x7fffedffb700 (LWP 18499)]
[New Thread 0x7fffebff7700 (LWP 18500)]
[New Thread 0x7fffeb7f6700 (LWP 18501)]
[New Thread 0x7fffeaff5700 (LWP 18502)]
[New Thread 0x7fffea7f4700 (LWP 18503)]
[swscaler @ 0x555557179740] [swscaler @ 0x5555571ae680] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555572066c0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555571d0e80] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x55555718acc0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x55555719bc00] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555571bf2c0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555571e2c40] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555571f48c0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x555557219ec0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[Thread 0x7fffebff7700 (LWP 18500) exited]
[Thread 0x7fffea7f4700 (LWP 18503) exited]
[Thread 0x7fffeaff5700 (LWP 18502) exited]
[swscaler @ 0x555557179740] deprecated pixel format used, make sure you did set range correctly
[Thread 0x7fffeb7f6700 (LWP 18501) exited]
[Thread 0x7fffedffb700 (LWP 18499) exited]
[Thread 0x7fffed7fa700 (LWP 18498) exited]
[New Thread 0x7fffea7f4700 (LWP 18504)]
[Thread 0x7fffecff9700 (LWP 18497) exited]
[Thread 0x7fffec7f8700 (LWP 18496) exited]
[New Thread 0x7fffeaff5700 (LWP 18505)]
[New Thread 0x7fffeb7f6700 (LWP 18506)]
[New Thread 0x7fffebff7700 (LWP 18507)]
[New Thread 0x7fffedffb700 (LWP 18508)]
[New Thread 0x7fffed7fa700 (LWP 18509)]
[New Thread 0x7fffecff9700 (LWP 18510)]
[New Thread 0x7fffec7f8700 (LWP 18511)]
[swscaler @ 0x555557179740] [swscaler @ 0x5555571ae680] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555572066c0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x55555719bc00] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555571d0e80] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x55555718acc0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555571bf2c0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555571e2c40] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x5555571f48c0] full chroma interpolation for destination format 'rgb555le' not yet implemented
[swscaler @ 0x555557179740] [swscaler @ 0x555557219ec0] full chroma interpolation for destination format 'rgb555le' not yet implemented
Output #0, mov, to 'out.mov':
  Metadata:
    encoder         : Lavf59.34.102
  Stream #0:0: Video: rpza (rpza / 0x617A7072), rgb555le(pc, gbr/unknown/unknown, progressive), 1x2, q=2-31, 200 kb/s, 25 fps, 12800 tbn
    Metadata:
      encoder         : Lavc59.54.100 rpza
[New Thread 0x7fffe9ff3700 (LWP 18512)]
Internal error, put_bits buffer too small
    Last message repeated 1 times
Assertion s->buf_ptr < s->buf_end failed at libavcodec/put_bits.h:150
--Type <RET> for more, q to quit, c to continue without paging--

Thread 1 "ffmpeg_g" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff75fe859 in __GI_abort () at abort.c:79
#2  0x0000555555e8fbc5 in flush_put_bits (s=<optimized out>)
    at libavcodec/put_bits.h:150
#3  rpza_encode_frame (avctx=<optimized out>, pkt=<optimized out>, 
    pict=<optimized out>, got_packet=<optimized out>)
    at libavcodec/rpzaenc.c:829
#4  0x0000555555c0c432 in ff_encode_encode_cb (
    avctx=avctx@entry=0x5555571527c0, avpkt=avpkt@entry=0x555557154980, 
    frame=frame@entry=0x555557154ac0, 
    got_packet=got_packet@entry=0x7fffffffd4c4) at libavcodec/encode.c:199
#5  0x0000555555c0c6f9 in encode_simple_internal (avpkt=0x555557154980, 
    avctx=0x5555571527c0) at libavcodec/encode.c:277
#6  encode_simple_receive_packet (avpkt=<optimized out>, avctx=<optimized out>)
    at libavcodec/encode.c:295
#7  encode_receive_packet_internal (avctx=avctx@entry=0x5555571527c0, 
    avpkt=0x555557154980) at libavcodec/encode.c:329
#8  0x0000555555c0c9b4 in avcodec_send_frame (avctx=0x5555571527c0, 
    frame=0x555557152c00) at libavcodec/encode.c:471
#9  0x000055555570e031 in encode_frame (of=0x55555714e140, ost=0x555557152540, 
    frame=0x555557152c00) at fftools/ffmpeg.c:824
#10 0x0000555555713ec7 in do_video_out (of=0x55555714e140, ost=0x555557152540, 
    next_picture=0x555557152c00) at fftools/ffmpeg.c:1229
--Type <RET> for more, q to quit, c to continue without paging--
#11 0x000055555571529b in reap_filters (flush=0) at fftools/ffmpeg.c:1315
#12 0x00005555557171e3 in transcode_step () at fftools/ffmpeg.c:3730
#13 transcode () at fftools/ffmpeg.c:3767
#14 0x00005555556ef20b in main (argc=9, argv=0x7fffffffdf48)
    at fftools/ffmpeg.c:3905

Change History (1)

comment:1 by Elon Musk, 9 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.