Opened 2 months ago

Closed 4 weeks ago

#11168 closed defect (fixed)

When converting an image sequence and wav file to a prores mov using apad and shortest ffmpeg generates random leanth audio streams resulting in larger than expected files.

Reported by: Daniel Ott Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Daniel Ott Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

I've been using ffmpeg 5.1.1 to convert open exr file sequences and audio wav files to prores movs. We were trying to update to 7.0.2 to deal with the issue where ffmpeg generated prores movs would sometimes not decode on apple silicon macs. However we noticed the files being output were longer than they should be which seems to be due to using apad and shortest and ffmpeg generating random length audio streams in the resulting mov. I've also tested with static builds of git master on windows and linux.

Possibly related to defect #11061

How to reproduce:

ffmpeg -apply_trc iec61966_2_1 -color_primaries bt709 -colorspace bt709 -color_trc iec61966_2_1 -f image2 -start_number 0 -r 30000/1001 -i "solid_red_%05d.exr" -i 0101-Mix_Surround.wav -filter_complex "[1:0]apad" -shortest -c:a pcm_s24le -vendor ap10 -c:v prores_ks -profile:v 3 -pix_fmt yuv422p10le -qscale:v 4 -timecode "00:00:00;00" solid_red.mov

Attachments (1)

ffmpeg-20240903-122642-TICKET11168.log (484.0 KB ) - added by Daniel Ott 2 months ago.
Full log of ffmpeg command used to produce issue

Download all attachments as: .zip

Change History (2)

by Daniel Ott, 2 months ago

Full log of ffmpeg command used to produce issue

comment:1 by elenril, 4 weeks ago

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