#9846: DNxHR doesn't work with LB in Shutter Encoder
-------------------------------------+-------------------------------------
Reporter: Soto Soto | Owner: (none)
Type: defect | Status: open
Priority: important | Component: avcodec
Version: git-master | Resolution:
Keywords: dnxhr abort | Blocked By:
regression |
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by slenk):
I just experienced the same error with some of my own footage:
{{{
↳ ffprobe ../1_RAWS/2025-07-25\ 20-03-49.mkv
ffprobe version 8.0 Copyright (c) 2007-2025 the FFmpeg developers
built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04)
configuration: --disable-decoder=amrnb --disable-gnutls --disable-
liblensfun --disable-libopencv --disable-podpages --disable-sndio
--disable-stripping --enable-avfilter --enable-chromaprint --enable-frei0r
--enable-gcrypt --enable-gpl --enable-ladspa --enable-libaom --enable-
libaribb24 --enable-libass --enable-libbluray --enable-libbs2b --enable-
libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-
libdc1394 --enable-libdrm --enable-libdvdnav --enable-libdvdread --enable-
libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libiec61883
--enable-libjack --enable-libjxl --enable-libmp3lame --enable-libmysofa
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264
--enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-
libplacebo --enable-libpulse --enable-librabbitmq --enable-librist
--enable-librsvg --enable-librubberband --enable-libshine --enable-
libsmbclient --enable-libsnappy --enable-libsoxr --enable-libspeex
--enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-
libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid
--enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-
nonfree --enable-openal --enable-opencl --enable-opengl --enable-openssl
--enable-pthreads --enable-shared --enable-version3
--incdir=/usr/include/x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu
--prefix=/usr --toolchain=hardened --enable-vaapi --enable-libvpl
--enable-libxavs2 --enable-libdavs2 --enable-libvmaf --enable-librav1e
--enable-libvvenc --enable-libilbc --enable-libklvanc --enable-libfdk-aac
--enable-libkvazaar --enable-omx --cc=x86_64-linux-gnu-gcc --cxx=x86_64
-linux-gnu-g++ --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
libavutil 60. 8.100 / 60. 8.100
libavcodec 62. 11.100 / 62. 11.100
libavformat 62. 3.100 / 62. 3.100
libavdevice 62. 1.100 / 62. 1.100
libavfilter 11. 4.100 / 11. 4.100
libswscale 9. 1.100 / 9. 1.100
libswresample 6. 1.100 / 6. 1.100
Input #0, matroska,webm, from '../1_RAWS/2025-07-25 20-03-49.mkv':
Metadata:
ENCODER : Lavf61.1.100
Duration: 02:45:37.63, start: 0.000000, bitrate: 4007 kb/s
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive),
1280x720 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 1k tbn
Metadata:
DURATION : 02:45:37.633000000
Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp
Metadata:
title : simple_aac_recording0
DURATION : 02:45:37.537000000
}}}
{{{
ffmpeg -hide_banner -nostdin \
-i "$input" \
-c:a copy \
-c:v dnxhd \
-profile:v dnxhr_lb \
-vf scale=1280x720 \
"$output"
}}}
{{{
...
Assertion s->buf_ptr < s->buf_end failed at libavcodec/put_bits.h:160
...
}}}
- the error is on line 160 instead of 150
- the input file is made with OBS
- I get the same error with `-vf scale=-1:480` (fails at an earlier time)
- If I don't scale at all, it fails at a later time
- transcoding with `-profile:v dnxhr_sq` does not trigger the error
- transcoding with `-pix_fmt yuv422p -b:v 60M` does not trigger the error
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9846#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".