#10164: Segfault dual pass transcoding to AV1 with libaom
-------------------------------------+-------------------------------------
             Reporter:  Ferdi        |                    Owner:  (none)
  Scholten                           |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Ferdi Scholten):

 Just built ffmpeg n5.1.2 this version also segfaults at the end of the
 transcode.

 Output from first pass:
 {{{
 ffmpeg -i test.mkv -c:v libaom-av1 -pass 1 -cpu-used 4 -row-mt true
 -threads 8 -lag-in-frames 48 -crf 35 -tiles 1x2 -aq-mode 3 -an -f null
 /dev/null
 ffmpeg version n5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
   built with gcc 12 (Ubuntu 12.2.0-3ubuntu1)
   configuration: --prefix=/home/ferdi/ffmpeg_build --pkg-config-
 flags=--static --extra-cflags=-I/home/ferdi/ffmpeg_build/include --extra-
 ldflags=-L/home/ferdi/ffmpeg_build/lib --extra-libs='-lpthread -lm'
 --ld=g++ --bindir=/home/ferdi/bin --enable-gpl --enable-gnutls --enable-
 libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-
 libmp3lame --enable-libopus --enable-libsvtav1 --enable-libdav1d --enable-
 libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-
 nonfree --enable-libvmaf --enable-lto
   libavutil      57. 28.100 / 57. 28.100
   libavcodec     59. 37.100 / 59. 37.100
   libavformat    59. 27.100 / 59. 27.100
   libavdevice    59.  7.100 / 59.  7.100
   libavfilter     8. 44.100 /  8. 44.100
   libswscale      6.  7.100 /  6.  7.100
   libswresample   4.  7.100 /  4.  7.100
   libpostproc    56.  6.100 / 56.  6.100
 Input #0, matroska,webm, from 'test.mkv':
   Metadata:
     COMPATIBLE_BRANDS: isomiso2avc1mp41
     MAJOR_BRAND     : isom
     MINOR_VERSION   : 512
     ENCODER         : Lavf59.37.100
   Duration: 00:01:00.00, start: 0.000000, bitrate: 3810 kb/s
   Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR
 1:1 DAR 16:9], 30.08 fps, 30.08 tbr, 1k tbn (default)
     Metadata:
       HANDLER_NAME    : VideoHandler
       VENDOR_ID       : [0][0][0][0]
       DURATION        : 00:00:59.897000000
   Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp (default)
     Metadata:
       HANDLER_NAME    : SoundHandler
       VENDOR_ID       : [0][0][0][0]
       DURATION        : 00:01:00.000000000
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> av1 (libaom-av1))
 Press [q] to stop, [?] for help
 [libaom-av1 @ 0x55f4346c53c0] 3.5.0
 Output #0, null, to '/dev/null':
   Metadata:
     COMPATIBLE_BRANDS: isomiso2avc1mp41
     MAJOR_BRAND     : isom
     MINOR_VERSION   : 512
     encoder         : Lavf59.27.100
   Stream #0:0: Video: av1, yuv420p(progressive), 1920x1080 [SAR 1:1 DAR
 16:9], q=2-31, 30.08 fps, 30.08 tbn (default)
     Metadata:
       HANDLER_NAME    : VideoHandler
       VENDOR_ID       : [0][0][0][0]
       DURATION        : 00:00:59.897000000
       encoder         : Lavc59.37.100 libaom-av1
     Side data:
       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
 frame= 1800 fps= 44 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=
 0x
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Output file is empty, nothing was encoded

 }}}

 Will try to get output from second pass as well. After the segfault, the
 terminal does not behave well and no longer has a cursor or visible
 output.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10164#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to