[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1027468: marked as done (ffmpeg: 2-pass libaom-av1 enconding error independently of the video source or resolution)



Your message dated Tue, 17 Jan 2023 15:36:48 +0100
with message-id <Y8aygMtoTDI05C3j@ramacher.at>
and subject line Re: Bug#1027468: ffmpeg: More movies give the same error
has caused the Debian Bug report #1027468,
regarding ffmpeg: 2-pass libaom-av1 enconding error independently of the video source or resolution
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1027468: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027468
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ffmpeg
Version: 7:5.1.2-1
Severity: important
X-Debbugs-Cc: iwillnogiveyoumy@email.com

Dear Maintainer,

-map 0:0 selects the default video stream
source.mkv is a generic name for the file described later, or the chuncks containing the conflicting section.
source video is 23'98 fps.

All commands and error messages are typed by hand via nano, typing errors may occur.

The english is not my native language.

USED COMMANDLINE:
ffmpeg -i source.mkv -map 0:0 -pix_fmt yuv420p10le -colorspace bt709 -color_primaries bt709 -color_trc bt709 -b:v 1000k -minrate 500k -maxrate 1450k -tile-columns 1 -tile-rows 1 -row-mt 1 -threads 8 -frame-parallel 1 -g 240 -auto-alt-ref 1 -lag-in-frames 48 -cpu-used 3 -crf 31 -passlogfile logfilename -pass 1 -c:v libaom-av1 -y output.mkv &&\
ffmpeg -i source.mkv -map 0:0 -pix_fmt yuv420p10le -colorspace bt709 -color_primaries bt709 -color_trc bt709 -b:v 1000k -minrate 500k -maxrate 1450k -tile-columns 1 -tile-rows 1 -row-mt 1 -threads 8 -frame-parallel 1 -g 240 -auto-alt-ref 1 -lag-in-frames 48 -cpu-used 3 -crf 31 -passlogfile logfilename -pass 2 -c:v libaom-av1 -y output.mkv

   * What led up to the situation?
	When transcoding "The wolf of Wall Street", independently of the source codec (I found sources encoded with VP9, h264 and h265) between 00h 42m 00s and 00h 43m 00s (the chunk between the blowjob in the elevator and the father of the main character watching the tv), the next error appears:

	ffmpeg: .av1/encoder/tpl_model.c:1596: av1_tpl_stats_ready: Assertion 'gf_frame_index < MAX_TPL_FRAME_IDX && "Invalid gf_frame_index\n"' failed.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

	single pass works.

	two pass fails.

	disabling alternate references, threads, varying tile rows and cols ammount or the distance between keyframes or any other parameter do not work.

	segmenting the video in different duration chunks does not avoid the error when reaching the conflicting point.

	I transcoded other films and the only one giving problems has been this one in the described chunk.


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-6-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ffmpeg depends on:
ii  libavcodec59    7:5.1.2-1
ii  libavdevice59   7:5.1.2-1
ii  libavfilter8    7:5.1.2-1
ii  libavformat59   7:5.1.2-1
ii  libavutil57     7:5.1.2-1
ii  libc6           2.36-7
ii  libpostproc56   7:5.1.2-1
ii  libsdl2-2.0-0   2.26.1+dfsg-1
ii  libswresample4  7:5.1.2-1
ii  libswscale6     7:5.1.2-1

ffmpeg recommends no packages.

Versions of packages ffmpeg suggests:
pn  ffmpeg-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
On 2023-01-17 15:28:50 +0100, Sebastian Ramacher wrote:
> On 2023-01-17 15:25:41 +0100, Unnamed wrote:
> > Package: ffmpeg
> > Version: 7:5.1.2-1
> > Followup-For: Bug #1027468
> > X-Debbugs-Cc: iwillnogiveyoumy@email.com
> > 
> > Dear Maintainer,
> > 
> > *** Reporter, please consider answering these questions, where appropriate ***
> > 
> >    * What led up to the situation?
> > 
> > 	Encoding Oculus (a terror film about a cursed mirror) triggers the same error just before the ending credits:
> > 
> > 	ffmpeg: ./av1/encoder/tpl_model.c:1596: av1_tpl_stats_ready: Assertion `gf_frame_index < MAX_TPL_FRAME_IDX && "Invalid gf_frame_index\n"' failed.
> 
> Please contact ffmpeg upstream with a sample: https://trac.ffmpeg.org/

The email of the submitter does not work. Closing as unactionable.

Cheers
-- 
Sebastian Ramacher

--- End Message ---

Reply to: